Class CmsElementLockInfo

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

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

      Constructors 
      Modifier Constructor Description
      protected CmsElementLockInfo()
      Empty constructor for serialization.
        CmsElementLockInfo​(CmsUUID lockOwner, boolean isPublishLock)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CmsUUID getLockOwner()
      Gets the lock owner id.
      boolean isLocked()
      Returns true if the resource is locked.
      boolean isPublishLock()
      Returns true if the resource is a publish lock.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CmsElementLockInfo

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

      • getLockOwner

        public CmsUUID 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()