public class CmsDetailPageInfo extends java.lang.Object implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FUNCTION_PREFIX
The prefix for dynamic function detail page types.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CmsDetailPageInfo()
Empty default constructor for serialization.
|
|
CmsDetailPageInfo(CmsUUID id,
java.lang.String uri,
java.lang.String type,
java.lang.String iconClasses)
Creates a new detail page info bean.
|
| Modifier and Type | Method and Description |
|---|---|
CmsDetailPageInfo |
copyAsInherited()
Creates a copy of this entry, but sets the 'inherited' flag to true in the copy.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayType()
Gets the type name to display to the user.
|
java.lang.String |
getIconClasses()
Returns the resource icon style classes.
|
java.lang.String |
getIconType()
Returns the resource type name for the icon to display.
|
CmsUUID |
getId()
Returns the id of the detail page.
|
java.lang.String |
getType()
Returns the type for which the detail page is used.
|
java.lang.String |
getUri()
The original URI for the detail page.
|
int |
hashCode() |
boolean |
isInherited()
Returns true if the detail page entry is inherited from a parent sitemap.
|
static java.lang.String |
removeFunctionPrefix(java.lang.String name)
Removes the prefix for dynamic functions from a detail page type name.
|
java.lang.String |
toString() |
public static final java.lang.String FUNCTION_PREFIX
public CmsDetailPageInfo(CmsUUID id, java.lang.String uri, java.lang.String type, java.lang.String iconClasses)
id - the id of the detail pageuri - the original URI of the pagetype - the resource type for which the detail page is usediconClasses - the resource icon style classesprotected CmsDetailPageInfo()
public static java.lang.String removeFunctionPrefix(java.lang.String name)
name - the detail page type namepublic CmsDetailPageInfo copyAsInherited()
public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.String getDisplayType()
public java.lang.String getIconClasses()
public java.lang.String getIconType()
public java.lang.String getType()
public java.lang.String getUri()
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean isInherited()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()