Interface ILock

All Superinterfaces:
IProtocolSupport, Serializable

public interface ILock extends IProtocolSupport
Resource lock interface
Author:
bchapoton
  • Method Details

    • getUser

      IUser getUser()
      Gets the locks user
      Returns:
      a IUser object.
    • getLockProperties

      List<? extends IProperty> getLockProperties()
      Get the locked properties
      Returns:
      a Collection of IProperty object.
    • getLockSession

      String getLockSession()
      Get the lock sessionId
      Returns:
      sessionId
    • getExpirationDate

      Date getExpirationDate()
      Get the lock expiration date
      Returns:
      expirationDate
    • getResourceId

      Long getResourceId()
      Get the lock resource id
      Returns:
      resource id
    • isSDK

      boolean isSDK()
      Is SDK Lock
      Returns:
      isSDK