Package org.ametys.plugins.cart
Class QueryFromDirectoryElement
java.lang.Object
org.ametys.plugins.cart.QueryElement
org.ametys.plugins.cart.QueryFromDirectoryElement
- All Implemented Interfaces:
CartElement
Implementation of a
CartElement
wrapping a query from directory-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.plugins.cart.QueryElement
getDescription, getId, getLastContributor, getLastModified, getMediumIcon, getSmallIcon, getTitle
-
Constructor Details
-
QueryFromDirectoryElement
Constructor- Parameters:
query
- the query
-
-
Method Details
-
getType
Description copied from interface:CartElement
Get the type of element- Specified by:
getType
in interfaceCartElement
- Overrides:
getType
in classQueryElement
- Returns:
- The type
-
getGroups
Description copied from interface:CartElement
Get the label of the groups- Specified by:
getGroups
in interfaceCartElement
- Overrides:
getGroups
in classQueryElement
- Returns:
- the label of the groups
-
getGlyphIcon
Description copied from interface:CartElement
Get glyph icon. If not null, small and medium icon will be ignored- Specified by:
getGlyphIcon
in interfaceCartElement
- Overrides:
getGlyphIcon
in classQueryElement
- Returns:
- the path to small icon
-
getQuery
Get the query from id- Returns:
- the query
-