Package com.priint.pubserver.document
Class DocumentLock
- java.lang.Object
-
- com.priint.pubserver.document.DocumentLock
-
- All Implemented Interfaces:
java.io.Serializable
public class DocumentLock extends java.lang.Object implements java.io.SerializableMeta information about a document lock in the repository. These informations are stored persistently in the PubServerKernel data source- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DocumentLock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLockedBy()Gets locked by.java.lang.StringgetLockedOn()Gets locked on.java.lang.StringgetLockToken()Gets lock token.java.lang.StringgetRemoteAddress()Gets remote address.java.lang.StringgetRepositoryPath()Gets repository path.java.lang.StringgetSessionId()Gets session id.voidsetLockedBy(java.lang.String value)Sets locked by.voidsetLockedOn(java.lang.String value)Sets locked on.voidsetLockToken(java.lang.String value)Sets lock token.voidsetRemoteAddress(java.lang.String value)Sets remote address.voidsetRepositoryPath(java.lang.String repositoryPath)Sets repository path.voidsetSessionId(java.lang.String sessionId)Sets session id.
-
-
-
Method Detail
-
getLockToken
public java.lang.String getLockToken()
Gets lock token.- Returns:
- the lock token
-
setLockToken
public void setLockToken(java.lang.String value)
Sets lock token.- Parameters:
value- the value
-
getLockedBy
public java.lang.String getLockedBy()
Gets locked by.- Returns:
- the locked by
-
setLockedBy
public void setLockedBy(java.lang.String value)
Sets locked by.- Parameters:
value- the value
-
getLockedOn
public java.lang.String getLockedOn()
Gets locked on.- Returns:
- the locked on
-
setLockedOn
public void setLockedOn(java.lang.String value)
Sets locked on.- Parameters:
value- the value
-
getRemoteAddress
public java.lang.String getRemoteAddress()
Gets remote address.- Returns:
- the remote address
-
setRemoteAddress
public void setRemoteAddress(java.lang.String value)
Sets remote address.- Parameters:
value- the value
-
getRepositoryPath
public java.lang.String getRepositoryPath()
Gets repository path.- Returns:
- the repository path
-
setRepositoryPath
public void setRepositoryPath(java.lang.String repositoryPath)
Sets repository path.- Parameters:
repositoryPath- the repository path
-
getSessionId
public java.lang.String getSessionId()
Gets session id.- Returns:
- the session id
-
setSessionId
public void setSessionId(java.lang.String sessionId)
Sets session id.- Parameters:
sessionId- the session id
-
-