Class ContentConsistencyModel
java.lang.Object
org.ametys.cms.content.consistency.ContentConsistencyModel
- All Implemented Interfaces:
Model,ModelItemAccessor,ModelItemContainer,Component
Model of a consistency check.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdata path for the content idstatic final Stringdata path for the content typesstatic final Stringdata path for the contextstatic final Stringdata path for the creation datestatic final Stringdata path for the creatorstatic final Stringdata path for the date of the checkstatic final Stringdata path for the last contributorstatic final Stringdata path for the content last major validation datestatic final Stringdata path for the last major validatorstatic final Stringdata path for the content last modification datestatic final Stringdata path for the content last validation datestatic final Stringdata path for the last validatorstatic final Stringdata path for the not found errorstatic final StringThe avalon rolestatic final Stringdata path for the server errorstatic final Stringdata path for the success checksstatic final Stringdata path for the titlestatic final Stringdata path for the unauthorized errorstatic final Stringdata path for the unknown errorstatic final Stringdata path for the workflow step -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family IdgetId()Retrieves the model id (an id must be unique in the familyModel.getFamilyId()Collection<? extends ModelItem>Retrieves all the model items of this accessorMethods 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
-
ROLE
The avalon role -
SERVER_ERROR
data path for the server error- See Also:
-
NOT_FOUND
data path for the not found error- See Also:
-
UNAUTHORIZED
data path for the unauthorized error- See Also:
-
UNKNOWN
data path for the unknown error- See Also:
-
SUCCESS
data path for the success checks- See Also:
-
DATE
data path for the date of the check- See Also:
-
WORKFLOW_STEP
data path for the workflow step- See Also:
-
CONTENT_TYPES
data path for the content types- See Also:
-
TITLE
data path for the title- See Also:
-
CONTENT_ID
data path for the content id- See Also:
-
CREATOR
data path for the creator- See Also:
-
LAST_MAJOR_VALIDATOR
data path for the last major validator- See Also:
-
LAST_VALIDATOR
data path for the last validator- See Also:
-
LAST_CONTRIBUTOR
data path for the last contributor- See Also:
-
CONTEXT
data path for the context- See Also:
-
CREATION_DATE
data path for the creation date- See Also:
-
LAST_MAJOR_VALIDATION_DATE
data path for the content last major validation date- See Also:
-
LAST_VALIDATION_DATE
data path for the content last validation date- See Also:
-
LAST_MODIFICATION_DATE
data path for the content last modification date- See Also:
-
-
Constructor Details
-
ContentConsistencyModel
public ContentConsistencyModel()
-
-
Method Details
-
getId
Description copied from interface:ModelRetrieves the model id (an id must be unique in the familyModel.getFamilyId() -
getFamilyId
Description copied from interface:ModelRetrieves the Family Id (for example the extension point) Each model Id have to be unique in it's family Id- Specified by:
getFamilyIdin interfaceModel- Returns:
- content point (for example "org.ametys.cms.contenttype.ContentTypeExtensionPoint" for a content)
-
getModelItems
Description copied from interface:ModelItemAccessorRetrieves all the model items of this accessor- Specified by:
getModelItemsin interfaceModelItemAccessor- Returns:
- the model items
-