|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ithit.webdav.server.RefreshLockResult
public final class RefreshLockResult
Result of Lock.refreshLock(java.lang.String, long) operation.
| Constructor Summary | |
|---|---|
RefreshLockResult(boolean shared,
boolean deep,
long timeout,
java.lang.String owner)
Initializes new instance. |
|
| Method Summary | |
|---|---|
java.lang.String |
getOwner()
Retrieves information about the principal taking out a lock. |
long |
getTimeout()
Retrieves timeout. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RefreshLockResult(boolean shared,
boolean deep,
long timeout,
java.lang.String owner)
shared - determines whether lock is shared.deep - indicates whether a lock is enforceable on the subtree.timeout - timeout value in milliseconds. -1 means never.owner - principal taking out a lock.| Method Detail |
|---|
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 | |||||||||