Package org.ametys.web.trash
Class WebTrashElementModel
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.trash.model.TrashElementModel
org.ametys.web.trash.WebTrashElementModel
- All Implemented Interfaces:
Model,ModelItemAccessor,ModelItemContainer,LogEnabled,Component,Contextualizable,Serviceable
Add the site in the trash element model
-
Field Summary
FieldsFields inherited from class org.ametys.cms.trash.model.TrashElementModel
_modelAwareItemTypeEP, _trashElementTypeEnum, _trashElementTypeEP, 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
contextualize, getFamilyId, getId, getModelItems, serviceMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:TrashElementModelCreate the model items present in the trash element model- Overrides:
createModelItemsin classTrashElementModel- Returns:
- the model items
- Throws:
Exception- if an occurs when creating the model items
-