Package com.priint.pubserver.document
Class DocumentLock
java.lang.Object
com.priint.pubserver.document.DocumentLock
- All Implemented Interfaces:
Serializable
Meta information about a document lock in the repository.
These informations are stored persistently in the PubServerKernel data source
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets locked by.Gets locked on.Gets lock token.Gets remote address.Gets repository path.Gets session id.voidsetLockedBy(String value) Sets locked by.voidsetLockedOn(String value) Sets locked on.voidsetLockToken(String value) Sets lock token.voidsetRemoteAddress(String value) Sets remote address.voidsetRepositoryPath(String repositoryPath) Sets repository path.voidsetSessionId(String sessionId) Sets session id.
-
Constructor Details
-
DocumentLock
public DocumentLock()
-
-
Method Details
-
getLockToken
Gets lock token.- Returns:
- the lock token
-
setLockToken
Sets lock token.- Parameters:
value- the value
-
getLockedBy
Gets locked by.- Returns:
- the locked by
-
setLockedBy
Sets locked by.- Parameters:
value- the value
-
getLockedOn
Gets locked on.- Returns:
- the locked on
-
setLockedOn
Sets locked on.- Parameters:
value- the value
-
getRemoteAddress
Gets remote address.- Returns:
- the remote address
-
setRemoteAddress
Sets remote address.- Parameters:
value- the value
-
getRepositoryPath
Gets repository path.- Returns:
- the repository path
-
setRepositoryPath
Sets repository path.- Parameters:
repositoryPath- the repository path
-
getSessionId
Gets session id.- Returns:
- the session id
-
setSessionId
Sets session id.- Parameters:
sessionId- the session id
-