|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ithit.webdav.server.LockResult
public class LockResult
Result of Lock.lock(boolean, boolean, long, java.lang.String) operation.
| Constructor Summary | |
|---|---|
LockResult(java.lang.String token,
long timeout)
Initializes new instance. |
|
| Method Summary | |
|---|---|
long |
getTimeout()
Retrieves timeout. |
java.lang.String |
getToken()
Retrieves lock token associated with a lock. |
void |
setTimeout(long timeout)
Sets 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 LockResult(java.lang.String token,
long timeout)
token - lock token associated with a lock.timeout - timeout value in milliseconds. -1 means never.| Method Detail |
|---|
public java.lang.String getToken()
public void setToken(java.lang.String token)
token - lock token.public long getTimeout()
public void setTimeout(long timeout)
timeout - timeout value in milliseconds.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||