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 Summary
ModifierConstructorDescriptionprotected
Empty constructor for serialization.CmsElementLockInfo
(CmsUUID lockOwner, boolean isPublishLock) Creates a new instance. -
Method Summary
-
Constructor Details
-
CmsElementLockInfo
Creates a new instance.- Parameters:
lockOwner
- the lock ownerisPublishLock
- 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
Returns true if the resource is locked.- Returns:
- true if the resource is locked
-
isPublishLock
Returns true if the resource is a publish lock.- Returns:
- true if the resource is a publish lock
-
toString
-