Package org.ametys.web.trash
Class WebTrashSearchModel
java.lang.Object
org.ametys.cms.trash.model.TrashSearchModel
org.ametys.web.trash.WebTrashSearchModel
- All Implemented Interfaces:
Component
,Contextualizable
,Serviceable
Override the trash search model to handle the site item
-
Field Summary
FieldsFields inherited from class org.ametys.cms.trash.model.TrashSearchModel
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
contextualize
(Context context) The filter queries to retrieve the trash elementprotected SearchUIColumn
modelItem2Column
(ModelItem modelItem) Convert the model item to search ui columnMethods inherited from class org.ametys.cms.trash.model.TrashSearchModel
getFacetDefinitions, getFacetsValues, getQuery, getSortDefinitions, service, toJSON
-
Field Details
-
_context
the avalon context
-
-
Constructor Details
-
WebTrashSearchModel
public WebTrashSearchModel()
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
getFilterQueries
Description copied from class:TrashSearchModel
The filter queries to retrieve the trash element- Overrides:
getFilterQueries
in classTrashSearchModel
- Returns:
- a list of queries to apply
-
modelItem2Column
Description copied from class:TrashSearchModel
Convert the model item to search ui column- Overrides:
modelItem2Column
in classTrashSearchModel
- Parameters:
modelItem
- the model item- Returns:
- the column
-