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 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 Details

    • CmsRemovedElementStatus

      public CmsRemovedElementStatus(CmsUUID structureId, CmsListInfoBean elementInfo, boolean deletable, CmsCntPageData.ElementDeleteMode elementDeleteMode)
      Creates a new instance.

      Parameters:
      structureId - the structure id of the removed element
      elementInfo - the list info bean for the removed element
      deletable - true if this is a possible deletion candidate
      elementDeleteMode - the element delete mode
    • CmsRemovedElementStatus

      Default constructor for serialization.

  • Method Details

    • getElementDeleteMode

      Gets the element delete mode.

      Returns:
      the element delete mode
    • getElementInfo

      Gets the list info bean for the removed element.

      Returns:
      the list info bean for the removed element
    • 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