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 java.lang.Object implements com.google.gwt.user.client.rpc.IsSerializable
Element view info.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CmsElementViewInfo()
Constructor, for serialization only.CmsElementViewInfo(java.lang.String title, CmsUUID elementViewId)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsUUID
getElementViewId()
Returns the element view id.CmsUUID
getRootViewId()
Gets the id of the root view of this view.java.lang.String
getTitle()
Returns the title.boolean
isRoot()
Returns true if this is a root view.void
setParent(CmsElementViewInfo parent)
Sets the parent view bean.
-
-
-
Constructor Detail
-
CmsElementViewInfo
public CmsElementViewInfo(java.lang.String title, CmsUUID elementViewId)
Constructor.- Parameters:
title
- the titleelementViewId
- the element view id
-
CmsElementViewInfo
protected CmsElementViewInfo()
Constructor, for serialization only.
-
-
Method Detail
-
getElementViewId
public CmsUUID getElementViewId()
Returns the element view id.- Returns:
- the element view id
-
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
-
-