Package com.saperion.intf
Interface SaLockInfo
-
public interface SaLockInfo
Locking information interface.- Author:
- rbo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getLockToken()
Returns the lock token; only relevant for JCR.int
getLockType()
Reads the lock type.java.lang.String
getLockUser()
Returns the lock owner.java.lang.String
getUserFullName()
Returns the lock user full name.boolean
isOwnLock()
Returns true, if this is an own lock.boolean
isReadonly()
Returns true, if this document is readonly; only relevant for JCR.void
setUserInfo(SaUserInfo info)
Sets the user info.
-
-
-
Method Detail
-
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
java.lang.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
java.lang.String getLockToken()
Returns the lock token; only relevant for JCR.- Returns:
- the lockToken
-
getUserFullName
java.lang.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
void setUserInfo(SaUserInfo info)
Sets the user info.- Parameters:
info
- User info
-
-