Class CmsRemovedElementStatus
- java.lang.Object
-
- org.opencms.ade.containerpage.shared.CmsRemovedElementStatus
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
public class CmsRemovedElementStatus extends java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
A bean used to store information about a container page element which was just removed.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsRemovedElementStatus()
Default constructor for serialization.CmsRemovedElementStatus(CmsUUID structureId, CmsListInfoBean elementInfo, boolean deletable, CmsCntPageData.ElementDeleteMode elementDeleteMode)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsCntPageData.ElementDeleteMode
getElementDeleteMode()
Gets the element delete mode.CmsListInfoBean
getElementInfo()
Gets the list info bean for the removed element.CmsUUID
getStructureId()
Gets the structure id of the removed element.boolean
isDeletionCandidate()
Returns true if the removed element is a possible candidate for deletion.
-
-
-
Constructor Detail
-
CmsRemovedElementStatus
public CmsRemovedElementStatus(CmsUUID structureId, CmsListInfoBean elementInfo, boolean deletable, CmsCntPageData.ElementDeleteMode elementDeleteMode)
Creates a new instance.- Parameters:
structureId
- the structure id of the removed elementelementInfo
- the list info bean for the removed elementdeletable
- true if this is a possible deletion candidateelementDeleteMode
- the element delete mode
-
CmsRemovedElementStatus
protected CmsRemovedElementStatus()
Default constructor for serialization.
-
-
Method Detail
-
getElementDeleteMode
public CmsCntPageData.ElementDeleteMode getElementDeleteMode()
Gets the element delete mode.- Returns:
- the element delete mode
-
getElementInfo
public CmsListInfoBean getElementInfo()
Gets the list info bean for the removed element.- Returns:
- the list info bean for the removed element
-
getStructureId
public CmsUUID getStructureId()
Gets the structure id of the removed element.- Returns:
- the structure id of the removed element
-
isDeletionCandidate
public boolean isDeletionCandidate()
Returns true if the removed element is a possible candidate for deletion.- Returns:
- true if the removed element is a deletion candidate
-
-