Package org.ametys.plugins.cart
Interface CartElement
-
- All Known Implementing Classes:
ContentElement
,QueryElement
,QueryFromDirectoryElement
,ResourceElement
public interface CartElement
Interface representing the element of aCart
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description I18nizableText
getDescription()
Get the element's descriptionString
getGlyphIcon()
Get glyph icon.List<I18nizableText>
getGroups()
Get the label of the groupsString
getId()
Get the unique identifier of the elementUserIdentity
getLastContributor()
Get the authorDate
getLastModified()
Get the date of last modificationString
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 titleString
getType()
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
-
-