Package com.saperion.intf
Interface SaLockInfo
public interface SaLockInfo
Locking information interface.
- Author:
- rbo
-
Method Summary
Modifier and TypeMethodDescriptionReturns the lock token; only relevant for JCR.int
Reads the lock type.Returns the lock owner.Returns the lock user full name.boolean
Returns true, if this is an own lock.boolean
Returns true, if this document is readonly; only relevant for JCR.void
setUserInfo
(SaUserInfo info) Sets the user info.
-
Method Details
-
getLockType
int getLockType()Reads the lock type. Possible variants: LOCKING_LOCKTYPE_DEFAULT = 0 LOCKING_LOCKTYPE_JSRLOCK = 1 LOCKING_LOCKTYPE_JSRCHECKOUT = 2- Returns:
- the lockType
-
getLockUser
String getLockUser()Returns the lock owner.- Returns:
- the lockUser
-
isReadonly
boolean isReadonly()Returns true, if this document is readonly; only relevant for JCR.- Returns:
- the readonly
-
getLockToken
String getLockToken()Returns the lock token; only relevant for JCR.- Returns:
- the lockToken
-
getUserFullName
String getUserFullName()Returns the lock user full name.- Returns:
- Lock user full name
-
isOwnLock
boolean isOwnLock()Returns true, if this is an own lock.- Returns:
- True, if own lock
-
setUserInfo
Sets the user info.- Parameters:
info
- User info
-