Class ContentDestructionComponent

java.lang.Object
org.alfresco.module.org_alfresco_module_rm.content.ContentDestructionComponent

public class ContentDestructionComponent extends Object
Content destruction component.
Since:
2.4.a
Author:
Roy Wetherall
  • Constructor Details

    • ContentDestructionComponent

      public ContentDestructionComponent()
  • Method Details

    • getEagerContentStoreCleaner

      protected EagerContentStoreCleaner getEagerContentStoreCleaner()
      Returns:
      the eagerContentStoreCleaner
    • getDictionaryService

      protected DictionaryService getDictionaryService()
      Returns:
      the dictionaryService
    • getNodeService

      protected NodeService getNodeService()
      Returns:
      the nodeService
    • getBehaviourFilter

      protected BehaviourFilter getBehaviourFilter()
      Returns:
      the behaviourFilter
    • isCleansingEnabled

      public boolean isCleansingEnabled()
      Returns:
      true if cleansing is enabled, false otherwise
    • setEagerContentStoreCleaner

      public void setEagerContentStoreCleaner(EagerContentStoreCleaner eagerContentStoreCleaner)
      Parameters:
      eagerContentStoreCleaner - eager content store cleaner
    • setDictionaryService

      public void setDictionaryService(DictionaryService dictionaryService)
      Parameters:
      dictionaryService - dictionary service
    • setNodeService

      public void setNodeService(NodeService nodeService)
      Parameters:
      nodeService - node service
    • setBehaviourFilter

      public void setBehaviourFilter(BehaviourFilter behaviourFilter)
      Parameters:
      behaviourFilter - behaviour filter
    • setContentBinDuplicationUtility

      public void setContentBinDuplicationUtility(ContentBinDuplicationUtility contentBinDuplicationUtility)
      Setter for content duplication utility class
      Parameters:
      contentBinDuplicationUtility - ContentBinDuplicationUtility
    • setCleansingEnabled

      public void setCleansingEnabled(boolean cleansingEnabled)
      Parameters:
      cleansingEnabled - true if cleansing enabled, false otherwise
    • destroyContent

      public void destroyContent(NodeRef nodeRef)
      Destroy content
      Parameters:
      nodeRef -
    • destroyContent

      public void destroyContent(NodeRef nodeRef, boolean includeRenditions)
      Destroy content
      Parameters:
      nodeRef -
      includeRenditions -
    • registerAllContentForDestruction

      protected void registerAllContentForDestruction(NodeRef nodeRef, boolean clearContentProperty)
      Registers all content on the given node for destruction.
      Parameters:
      nodeRef - node reference
      clearContentProperty - if true then clear content property, otherwise false