|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
interface to a (DAV) lock's information.
| Field Summary | |
static int |
DEPTH_INFINITY
|
static int |
DEPTH_ZERO
|
static java.lang.String |
SCOPE_EXCLUSIVE
|
static java.lang.String |
SCOPE_SHARED
|
static java.lang.String |
SCOPE_UNKNOWN
|
static java.lang.String |
TYPE_UNKNOWN
|
static java.lang.String |
TYPE_WRITE
|
| Method Summary | |
java.util.Date |
getCreationDate()
Get the value of _creationDate. |
int |
getDepth()
Get the value of _depth. |
long |
getExpiresAt()
Get the value of _expiresAt. |
java.lang.String |
getItemID()
get the repository item id |
java.lang.String |
getLockID()
get lock id |
java.lang.String |
getOwner()
Get the value of _owner. |
java.lang.String |
getPath()
Get the value of _path. |
java.lang.String |
getScope()
Get the value of _scope. |
java.util.Vector |
getTokens()
Get the value of _tokens. |
java.lang.String |
getType()
Get the value of _type. |
boolean |
hasExpired()
Return true if the lock has expired. |
boolean |
isExclusive()
Return true if the lock is exclusive. |
void |
setCreationDate(java.util.Date v)
Set the value of _creationDate. |
void |
setDepth(int v)
Set the value of _depth. |
void |
setExpiresAt(long v)
Set the value of _expiresAt. |
void |
setItemID(java.lang.String itemID)
set the repository item which is to be locked with this lock |
void |
setLockID(java.lang.String path)
set the unique identifier for this lock |
void |
setOwner(java.lang.String v)
Set the value of _owner. |
void |
setPath(java.lang.String path)
get the repository item path |
void |
setScope(java.lang.String v)
Set the value of _scope. |
void |
setTokens(java.util.Vector v)
Set the value of _tokens. |
void |
setType(java.lang.String v)
Set the value of _type. |
java.lang.String |
toString()
Get a String representation of this lock |
| Field Detail |
public static final java.lang.String SCOPE_UNKNOWN
public static final java.lang.String SCOPE_EXCLUSIVE
public static final java.lang.String SCOPE_SHARED
public static final java.lang.String TYPE_UNKNOWN
public static final java.lang.String TYPE_WRITE
public static final int DEPTH_INFINITY
public static final int DEPTH_ZERO
| Method Detail |
public java.lang.String getPath()
public java.lang.String getType()
public void setType(java.lang.String v)
v - Value to assign to _type.public java.lang.String getScope()
public void setScope(java.lang.String v)
v - Value to assign to _scope.public int getDepth()
public void setDepth(int v)
v - Value to assign to _depth.public java.lang.String getOwner()
public void setOwner(java.lang.String v)
v - Value to assign to _owner.public java.util.Vector getTokens()
public void setTokens(java.util.Vector v)
v - Value to assign to _tokens.public long getExpiresAt()
public void setExpiresAt(long v)
v - Value to assign to _expiresAt.public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date v)
v - Value to assign to _creationDate.public java.lang.String toString()
public boolean hasExpired()
public boolean isExclusive()
public void setItemID(java.lang.String itemID)
public java.lang.String getItemID()
public void setPath(java.lang.String path)
public void setLockID(java.lang.String path)
public java.lang.String getLockID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||