Class CmsElementLockInfo

java.lang.Object
org.opencms.ade.containerpage.shared.CmsElementLockInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsElementLockInfo extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Contains lock information for a container page element.
  • Constructor Details

    • CmsElementLockInfo

      public CmsElementLockInfo(CmsUUID lockOwner, boolean isPublishLock)
      Creates a new instance.
      Parameters:
      lockOwner - the lock owner
      isPublishLock - the publish lock status
    • CmsElementLockInfo

      protected CmsElementLockInfo()
      Empty constructor for serialization.
  • Method Details

    • getLockOwner

      Gets the lock owner id.
      Returns:
      the lock owner id
    • isLocked

      public boolean isLocked()
      Returns true if the resource is locked.
      Returns:
      true if the resource is locked
    • isPublishLock

      public boolean isPublishLock()
      Returns true if the resource is a publish lock.
      Returns:
      true if the resource is a publish lock
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: