Class RepoPrimaryManifestProcessorImpl

  • All Implemented Interfaces:
    TransferManifestProcessor, TransferSummaryAware

    public class RepoPrimaryManifestProcessorImpl
    extends AbstractManifestProcessorBase
    Author:
    brian The primary manifest processor is responsible for the first parsing the snapshot file and writing nodes into the receiving repository. New nodes may be written into a "temporary" space if their primary parent node has not yet been transferred.
    • Field Detail

      • DEFAULT_LOCAL_PROPERTIES

        protected static final java.util.Set<org.alfresco.service.namespace.QName> DEFAULT_LOCAL_PROPERTIES
    • Constructor Detail

      • RepoPrimaryManifestProcessorImpl

        public RepoPrimaryManifestProcessorImpl​(TransferReceiver receiver,
                                                java.lang.String transferId)
        Parameters:
        receiver - TransferReceiver
        transferId - String
    • Method Detail

      • delete

        protected void delete​(TransferManifestDeletedNode node,
                              org.alfresco.service.cmr.repository.NodeRef nodeToDelete)
        Delete this node
        Parameters:
        node - TransferManifestDeletedNode
        nodeToDelete - NodeRef
      • updateNeeded

        protected boolean updateNeeded​(TransferManifestNormalNode node,
                                       org.alfresco.service.cmr.repository.NodeRef nodeToUpdate)
      • getLocalProperties

        protected java.util.Set<org.alfresco.service.namespace.QName> getLocalProperties()
      • setNodeService

        public void setNodeService​(org.alfresco.service.cmr.repository.NodeService nodeService)
        Parameters:
        nodeService - the nodeService to set
      • setContentService

        public void setContentService​(ContentService contentService)
        Parameters:
        contentService - the contentService to set
      • setDictionaryService

        public void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
        Parameters:
        dictionaryService - the dictionaryService to set
      • setNodeResolver

        public void setNodeResolver​(CorrespondingNodeResolver nodeResolver)
        Parameters:
        nodeResolver - the nodeResolver to set
      • setPermissionService

        public void setPermissionService​(org.alfresco.service.cmr.security.PermissionService permissionService)
      • getPermissionService

        public org.alfresco.service.cmr.security.PermissionService getPermissionService()
      • setAlienProcessor

        public void setAlienProcessor​(AlienProcessor alienProcessor)
      • setCategoryService

        public void setCategoryService​(CategoryService categoryService)
      • setTaggingService

        public void setTaggingService​(TaggingService taggingService)