|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ithit.webdav.server.LockInfo
public final class LockInfo
Serves for exchanging locking information with WebDAV engine.
| Constructor Summary | |
|---|---|
LockInfo()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getOwner()
Retrieves information about the principal taking out a lock. |
long |
getTimeout()
Retrieves lock expiration timeout in milliseconds. |
java.lang.String |
getToken()
Retrieves lock token associated with a lock. |
boolean |
isDeep()
Indicates whether a lock is enforceable on the subtree. |
boolean |
isShared()
Determines whether lock is shared. |
void |
setDeep(boolean deep)
Sets flag which indicates whether the lock is enforceable on the subtree. |
void |
setOwner(java.lang.String owner)
Sets information about the principal taking out a lock. |
void |
setShared(boolean shared)
Sets shared flag of the lock. |
void |
setTimeout(long timeout)
Sets lock expirate timeout. |
void |
setToken(java.lang.String token)
Sets lock token associated with a lock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LockInfo()
| Method Detail |
|---|
public java.lang.String getToken()
public void setToken(java.lang.String token)
token - lock token.public boolean isShared()
public void setShared(boolean shared)
shared - whether the lock is shared.public boolean isDeep()
public void setDeep(boolean deep)
deep - whether a lock is enforceable on the subtree.public long getTimeout()
public void setTimeout(long timeout)
timeout - timeout value in milliseconds. -1 means never.public java.lang.String getOwner()
public void setOwner(java.lang.String owner)
owner - principal.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||