Class ContentConsistencyResult
java.lang.Object
org.ametys.plugins.repository.AbstractAmetysObject
org.ametys.plugins.repository.jcr.SimpleAmetysObject<ContentConsistencyResultFactory>
org.ametys.cms.content.consistency.ContentConsistencyResult
- All Implemented Interfaces:
AmetysObject
,DataAwareAmetysObject
,ModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataAwareAmetysObject
,DataHolder
,ModelAwareDataHolder
,ModifiableDataHolder
,ModifiableModelAwareDataHolder
,JCRAmetysObject
,MetadataAwareAmetysObject
,ModifiableMetadataAwareAmetysObject
,ModifiableAmetysObject
,RemovableAmetysObject
public class ContentConsistencyResult
extends SimpleAmetysObject<ContentConsistencyResultFactory>
implements ModifiableModelAwareDataAwareAmetysObject
Simple object representing the result of a consistency check.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
JCR node type for content consistency resultFields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, COMMENTS_SUFFIX, STATUS_SUFFIX
-
Constructor Summary
ConstructorDescriptionContentConsistencyResult
(javax.jcr.Node node, String parentPath, ContentConsistencyResultFactory factory) Creates anContentConsistencyResult
. -
Method Summary
Modifier and TypeMethodDescriptionGet the content idString[]
Get the content typesGet the creation dateGet the creatorReturns theDataHolder
of thisAmetysObject
.getDate()
Get the result dateGet the last contributorGet the last major validation dateGet the last major validatorGet the last modification dateGet the last validation dateGet the last validatorlong
Get the not found countlong
Get the server error countlong
Get the success countgetTitle()
Get the titlelong
Get the unauthorized countlong
Get the unknown countlong
Get the workflow stepMethods inherited from class org.ametys.plugins.repository.jcr.SimpleAmetysObject
_getFactory, _invalidateName, _invalidateParentPath, getId, getMetadataHolder, getName, getNode, getParent, getParentPath, getPath, needsSave, remove, rename, revertChanges, saveChanges
Methods inherited from class org.ametys.plugins.repository.AbstractAmetysObject
equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToJSON, dataToJSONForEdition, dataToMap, dataToSAX, dataToSAXForEdition, getComments, getDataNames, getDefinition, getDifferences, getDifferences, getDifferences, getDifferences, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasDifferences, hasDifferences, hasDifferences, hasDifferences, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmpty
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
commentsToSAX, dataToJSON, dataToJSON, dataToJSON, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, getDataNames, getType, getValue, hasValue, hasValueOrEmpty, isMultiple
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRepositoryData, getRootDataHolder, removeExternalizableMetadataIfExists, removeExternalValue, removeLocalValue, removeValue, setComments, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValues
-
Field Details
-
CONTENT_CONSISTENCY_RESULT_NODETYPE
JCR node type for content consistency result- See Also:
-
-
Constructor Details
-
ContentConsistencyResult
public ContentConsistencyResult(javax.jcr.Node node, String parentPath, ContentConsistencyResultFactory factory) Creates anContentConsistencyResult
.- Parameters:
node
- the node backing this resultparentPath
- the parentPath in the Ametys hierarchyfactory
- the factory which created the activity
-
-
Method Details
-
getContentId
Get the content id- Returns:
- the content Id
-
getDate
Get the result date- Returns:
- the date
-
getUnauthorizedCount
Get the unauthorized count- Returns:
- the count
-
getUnknownCount
Get the unknown count- Returns:
- the unknown count
-
getSuccessCount
Get the success count- Returns:
- the success count
-
getNotFoundCount
Get the not found count- Returns:
- the count
-
getServerErrorCount
Get the server error count- Returns:
- the count
-
getTitle
Get the title- Returns:
- the title
-
getContentTypes
Get the content types- Returns:
- the content types
-
getCreator
Get the creator- Returns:
- the creator
-
getCreationDate
Get the creation date- Returns:
- the content creation date
-
getLastMajorValidator
Get the last major validator- Returns:
- the last major validator
-
getLastMajorValidationDate
Get the last major validation date- Returns:
- the last content major validation date
-
getLastValidator
Get the last validator- Returns:
- the last validator
-
getLastValidationDate
Get the last validation date- Returns:
- the last content validation date
-
getLastContributor
Get the last contributor- Returns:
- the last contributor
-
getLastModificationDate
Get the last modification date- Returns:
- the content last modification date
-
getWorkflowStep
Get the workflow step- Returns:
- the workflow step
-
getDataHolder
Description copied from interface:DataAwareAmetysObject
Returns theDataHolder
of thisAmetysObject
.- Specified by:
getDataHolder
in interfaceDataAwareAmetysObject
- Specified by:
getDataHolder
in interfaceModelAwareDataAwareAmetysObject
- Specified by:
getDataHolder
in interfaceModifiableModelAwareDataAwareAmetysObject
- Returns:
- the
DataHolder
of thisAmetysObject
-