Class CmsClientLock

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

    public class CmsClientLock
    extends java.lang.Object
    implements com.google.gwt.user.client.rpc.IsSerializable
    Client side lock class.

    Since:
    8.0.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CmsClientLock.LockType
      The available lock types.
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsClientLock()
      Default constructor for serialization.
    • Constructor Detail

      • CmsClientLock

        public CmsClientLock()
        Default constructor for serialization.

    • Method Detail

      • getLockOwner

        public java.lang.String getLockOwner()
        Returns the lock owner name.

        Returns:
        the lock owner name
      • isOwnedByUser

        public boolean isOwnedByUser()
        Returns if the current lock is owned by the current user.

        Returns:
        if the current lock is owned by the current user
      • setLockOwner

        public void setLockOwner​(java.lang.String lockOwner)
        Sets the lock owner name.

        Parameters:
        lockOwner - the lock owner name to set
      • setOwnedByUser

        public void setOwnedByUser​(boolean isOwnedByUser)
        Sets if the current lock is owned by the current user.

        Parameters:
        isOwnedByUser - if the current lock is owned by the current user