Package org.ametys.plugins.cart
Interface CartElement
-
- All Known Implementing Classes:
ContentElement,QueryElement,ResourceElement
public interface CartElement
Interface representing the element of aCart
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description I18nizableTextgetDescription()Get the element's descriptionStringgetGlyphIcon()Get glyph icon.List<I18nizableText>getGroups()Get the label of the groupsStringgetId()Get the unique identifier of the elementUserIdentitygetLastContributor()Get the authorDategetLastModified()Get the date of last modificationStringgetMediumIcon()Get the path to medium icon (32x32 pixels)StringgetSmallIcon()Get the path to small icon (16x16 pixels)I18nizableTextgetTitle()Get the element's titleStringgetType()Get the type of element
-
-
-
Method Detail
-
getTitle
I18nizableText getTitle()
Get the element's title- Returns:
- The title
-
getDescription
I18nizableText getDescription()
Get the element's description- Returns:
- The description
-
getGroups
List<I18nizableText> getGroups()
Get the label of the groups- Returns:
- the label of the groups
-
getLastModified
Date getLastModified()
Get the date of last modification- Returns:
- the date of last modification
-
getLastContributor
UserIdentity getLastContributor()
Get the author- Returns:
- The author
-
getGlyphIcon
String getGlyphIcon()
Get glyph icon. If not null, small and medium icon will be ignored- Returns:
- the path to small icon
-
getSmallIcon
String getSmallIcon()
Get the path to small icon (16x16 pixels)- Returns:
- the path to small icon
-
getMediumIcon
String getMediumIcon()
Get the path to medium icon (32x32 pixels)- Returns:
- the path to medium icon
-
-