Class CmsElementViewInfo

java.lang.Object
org.opencms.ade.containerpage.shared.CmsElementViewInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsElementViewInfo extends Object implements com.google.gwt.user.client.rpc.IsSerializable
Element view info.

  • Constructor Details

    • CmsElementViewInfo

      public CmsElementViewInfo(String title, CmsUUID elementViewId)
      Constructor.

      Parameters:
      title - the title
      elementViewId - the element view id
    • CmsElementViewInfo

      protected CmsElementViewInfo()
      Constructor, for serialization only.

  • Method Details

    • getElementViewId

      Returns the element view id.

      Returns:
      the element view id
    • getRootViewId

      Gets the id of the root view of this view.

      The root view is either this view itself if it doesn't have a parent view, or the parent view if it does.

      Returns:
      the root view
    • getTitle

      public String getTitle()
      Returns the title.

      Returns:
      the title
    • isRoot

      public boolean isRoot()
      Returns true if this is a root view.

      Returns:
      true if this is a root view
    • setParent

      public void setParent(CmsElementViewInfo parent)
      Sets the parent view bean.

      Parameters:
      parent - the parent view bean