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 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()
-
-
-
Constructor Detail
-
CmsElementLockInfo
public CmsElementLockInfo(CmsUUID lockOwner, boolean isPublishLock)
Creates a new instance.- Parameters:
lockOwner
- the lock ownerisPublishLock
- the publish lock status
-
CmsElementLockInfo
protected CmsElementLockInfo()
Empty constructor for serialization.
-
-
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 classjava.lang.Object
- See Also:
Object.toString()
-
-