public interface Lock extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getComments()
Accessor methods for getting/setting comments on lock resource.
|
Date |
getCreatedDate()
Gets creation date of this lock.
|
Date |
getExpireDate()
Gets expire date of this lock.
|
String |
getFragment()
Indication of type of lock (e.g.
|
String |
getOwnerName()
Convenience method to get name of owner/author of lock resource.
|
URI |
getOwnerURI()
Gets the URI of the owner of the lock.
|
URI |
getPrivateURI()
Private URI to resource governed by lock.
|
URI |
getPublicURI()
Public URI to resource governed by lock.
|
boolean |
impliesLockOf(String pFragment)
Tests if this lock implies that the given fragment is locked
|
void |
setPrivateURI(URI pPrivateURI)
This method is needed by the client side lock manager to identify its own locks.
|
URI getPublicURI()
URI getPrivateURI()
void setPrivateURI(URI pPrivateURI)
pPrivateURI
- the private URI pointer to resource governed by this lock.String getFragment()
String getOwnerName()
URI getOwnerURI()
Date getCreatedDate()
String getComments()
boolean impliesLockOf(String pFragment)
pFragment
- the fragmenttrue
if locked, otherwise false
Date getExpireDate()
© 1998- 2018 Stibo DX