Interface SaLockInfo


public interface SaLockInfo
Locking information interface.
Author:
rbo
  • 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

      void setUserInfo(SaUserInfo info)
      Sets the user info.
      Parameters:
      info - User info