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 TypeMethodDescriptionvoidcontextualize(Context context) The filter queries to retrieve the trash elementprotected SearchUIColumnmodelItem2Column(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:
contextualizein interfaceContextualizable- Throws:
ContextException
-
getFilterQueries
Description copied from class:TrashSearchModelThe filter queries to retrieve the trash element- Overrides:
getFilterQueriesin classTrashSearchModel- Returns:
- a list of queries to apply
-
modelItem2Column
Description copied from class:TrashSearchModelConvert the model item to search ui column- Overrides:
modelItem2Columnin classTrashSearchModel- Parameters:
modelItem- the model item- Returns:
- the column
-