Class AlfrescoModelDiff

java.lang.Object
org.alfresco.repo.solr.AlfrescoModelDiff

public class AlfrescoModelDiff extends Object
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
  • 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 - String
      type - TYPE
      oldChecksum - Long
      newChecksum - Long
    • AlfrescoModelDiff

      public AlfrescoModelDiff(QName modelName, AlfrescoModelDiff.TYPE type, Long oldChecksum, Long newChecksum)
  • Method Details

    • getModelName

      public String getModelName()
    • getType

      public AlfrescoModelDiff.TYPE getType()
    • getOldChecksum

      public Long getOldChecksum()
    • getNewChecksum

      public Long getNewChecksum()