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 Summary
ModifierConstructorDescriptionprotected
Constructor, for serialization only.CmsElementViewInfo
(String title, CmsUUID elementViewId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the element view id.Gets the id of the root view of this view.getTitle()
Returns the title.boolean
isRoot()
Returns true if this is a root view.void
setParent
(CmsElementViewInfo parent) Sets the parent view bean.
-
Constructor Details
-
CmsElementViewInfo
Constructor.- Parameters:
title
- the titleelementViewId
- 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
Returns the title.- Returns:
- the title
-
isRoot
Returns true if this is a root view.- Returns:
- true if this is a root view
-