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()
CartElement
getId
in interface CartElement
public I18nizableText getTitle()
CartElement
getTitle
in interface CartElement
public I18nizableText getDescription()
CartElement
getDescription
in interface CartElement
public List<I18nizableText> getGroups()
CartElement
getGroups
in interface CartElement
public Date getLastModified()
CartElement
getLastModified
in interface CartElement
public UserIdentity getLastContributor()
CartElement
getLastContributor
in interface CartElement
public String getType()
CartElement
getType
in interface CartElement
public String getGlyphIcon()
CartElement
getGlyphIcon
in interface CartElement
public String getSmallIcon()
CartElement
getSmallIcon
in interface CartElement
public String getMediumIcon()
CartElement
getMediumIcon
in interface CartElement