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
FieldsModifier and TypeFieldDescriptionstatic final StringJCR node type for content consistency resultFields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, STATUS_SUFFIX -
Constructor Summary
ConstructorsConstructorDescriptionContentConsistencyResult(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 theDataHolderof 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 validatorlongGet the not found countlongGet the server error countlongGet the success countgetTitle()Get the titlelongGet the unauthorized countlongGet the unknown countlongGet 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, saveChangesMethods inherited from class org.ametys.plugins.repository.AbstractAmetysObject
equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCodeMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAXMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToJSON, dataToJSONForEdition, dataToMap, dataToSAX, dataToSAXForEdition, getDataNames, getDefinition, getDifferences, getDifferences, getDifferences, getDifferences, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasDefinition, hasDifferences, hasDifferences, hasDifferences, hasDifferences, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmptyMethods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
dataToJSON, dataToJSON, dataToJSON, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, getDataNames, getType, getValue, hasValue, hasValueOrEmpty, isMultipleMethods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChangesMethods 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, 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:DataAwareAmetysObjectReturns theDataHolderof thisAmetysObject.- Specified by:
getDataHolderin interfaceDataAwareAmetysObject- Specified by:
getDataHolderin interfaceModelAwareDataAwareAmetysObject- Specified by:
getDataHolderin interfaceModifiableModelAwareDataAwareAmetysObject- Returns:
- the
DataHolderof thisAmetysObject
-