Package org.ametys.web.trash
Class WebTrashElementModel
java.lang.Object
org.ametys.cms.trash.model.TrashElementModel
org.ametys.web.trash.WebTrashElementModel
- All Implemented Interfaces:
Model
,ModelItemAccessor
,ModelItemContainer
,Component
,Serviceable
Add the site in the trash element model
-
Field Summary
FieldsFields inherited from class org.ametys.cms.trash.model.TrashElementModel
_trashElementTypeEnum, AUTHOR, DATE, DELETED_OBJECT, HIDDEN, LINKED_OBJECTS, PARENT_PATH, ROLE, TITLE, TRASH_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<ElementDefinition> Create the model items present in the trash element modelMethods inherited from class org.ametys.cms.trash.model.TrashElementModel
getFamilyId, getId, getModelItems, service
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.runtime.model.ModelItemAccessor
getChild, getModelItem, hasModelItem
-
Field Details
-
SITE
Item name for the site of the object- See Also:
-
-
Constructor Details
-
WebTrashElementModel
public WebTrashElementModel()
-
-
Method Details
-
createModelItems
Description copied from class:TrashElementModel
Create the model items present in the trash element model- Overrides:
createModelItems
in classTrashElementModel
- Returns:
- the model items
- Throws:
Exception
- if an occurs when creating the model items
-