public class ContentElement extends Object implements CartElement
CartElement wrapping a Content| Modifier and Type | Field and Description |
|---|---|
private Content |
_content |
private ContentTypeExtensionPoint |
_cTypesEP |
private ContentTypesHelper |
_cTypesHelper |
| Constructor and Description |
|---|
ContentElement(Content content,
ContentTypesHelper cTypesHelper,
ContentTypeExtensionPoint cTypesEP)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
I18nizableText |
getDescription()
Get the element's description
|
String |
getGlyphIcon()
Get glyph icon.
|
List<I18nizableText> |
getGroups()
Get the label of the groups
|
String |
getId()
Get the unique identifier of the element
|
UserIdentity |
getLastContributor()
Get the author
|
Date |
getLastModified()
Get the date of last modification
|
String |
getMediumIcon()
Get the path to medium icon (32x32 pixels)
|
String |
getSmallIcon()
Get the path to small icon (16x16 pixels)
|
I18nizableText |
getTitle()
Get the element's title
|
String |
getType()
Get the type of element
|
private ContentTypesHelper _cTypesHelper
private ContentTypeExtensionPoint _cTypesEP
public ContentElement(Content content, ContentTypesHelper cTypesHelper, ContentTypeExtensionPoint cTypesEP)
content - The contentcTypesHelper - The content types helpercTypesEP - The extension point for content typespublic String getId()
CartElementgetId in interface CartElementpublic I18nizableText getTitle()
CartElementgetTitle in interface CartElementpublic I18nizableText getDescription()
CartElementgetDescription in interface CartElementpublic List<I18nizableText> getGroups()
CartElementgetGroups in interface CartElementpublic Date getLastModified()
CartElementgetLastModified in interface CartElementpublic UserIdentity getLastContributor()
CartElementgetLastContributor in interface CartElementpublic String getType()
CartElementgetType in interface CartElementpublic String getGlyphIcon()
CartElementgetGlyphIcon in interface CartElementpublic String getSmallIcon()
CartElementgetSmallIcon in interface CartElementpublic String getMediumIcon()
CartElementgetMediumIcon in interface CartElement