Package com.saperion.intf
Interface SaLockInfo
-
public interface SaLockInfoLocking information interface.- Author:
- rbo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLockToken()Returns the lock token; only relevant for JCR.intgetLockType()Reads the lock type.java.lang.StringgetLockUser()Returns the lock owner.java.lang.StringgetUserFullName()Returns the lock user full name.booleanisOwnLock()Returns true, if this is an own lock.booleanisReadonly()Returns true, if this document is readonly; only relevant for JCR.voidsetUserInfo(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
-
-