Class CmsElementViewInfo

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

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

    • Constructor Detail

      • CmsElementViewInfo

        public CmsElementViewInfo​(java.lang.String title,
                                  CmsUUID elementViewId)
        Constructor.

        Parameters:
        title - the title
        elementViewId - the element view id
    • Method Detail

      • getRootViewId

        public CmsUUID 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 java.lang.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