Package org.alfresco.repo.solr
Class AlfrescoModelDiff
java.lang.Object
org.alfresco.repo.solr.AlfrescoModelDiff
Represents a diff between the set of current repository Alfresco models and the set maintained in SOLR. The diff can represent a new, changed or removed Alfresco model. For a new model the newChecksum is populated; for a changed model both checksums are populated; for a removed model neither checksum is populated.
- Since:
- 4.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAlfrescoModelDiff(String modelName, AlfrescoModelDiff.TYPE type, Long oldChecksum, Long newChecksum) use full model name or it will be converted to the prefix form - as we are requesting the model it may not be on the other side - so the namespace is unknown.AlfrescoModelDiff(QName modelName, AlfrescoModelDiff.TYPE type, Long oldChecksum, Long newChecksum) -
Method Summary
-
Constructor Details
-
AlfrescoModelDiff
public AlfrescoModelDiff(String modelName, AlfrescoModelDiff.TYPE type, Long oldChecksum, Long newChecksum) use full model name or it will be converted to the prefix form - as we are requesting the model it may not be on the other side - so the namespace is unknown.- Parameters:
modelName- Stringtype- TYPEoldChecksum- LongnewChecksum- Long
-
AlfrescoModelDiff
public AlfrescoModelDiff(QName modelName, AlfrescoModelDiff.TYPE type, Long oldChecksum, Long newChecksum)
-
-
Method Details
-
getModelName
-
getType
-
getOldChecksum
-
getNewChecksum
-