Class ContentDestructionComponent
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.content.ContentDestructionComponent
Content destruction component.
- Since:
- 2.4.a
- Author:
- Roy Wetherall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroyContent(NodeRef nodeRef) Destroy contentvoiddestroyContent(NodeRef nodeRef, boolean includeRenditions) Destroy contentprotected BehaviourFilterprotected DictionaryServiceprotected EagerContentStoreCleanerprotected NodeServicebooleanprotected voidregisterAllContentForDestruction(NodeRef nodeRef, boolean clearContentProperty) Registers all content on the given node for destruction.voidsetBehaviourFilter(BehaviourFilter behaviourFilter) voidsetCleansingEnabled(boolean cleansingEnabled) voidsetContentBinDuplicationUtility(ContentBinDuplicationUtility contentBinDuplicationUtility) Setter for content duplication utility classvoidsetDictionaryService(DictionaryService dictionaryService) voidsetEagerContentStoreCleaner(EagerContentStoreCleaner eagerContentStoreCleaner) voidsetNodeService(NodeService nodeService)
-
Constructor Details
-
ContentDestructionComponent
public ContentDestructionComponent()
-
-
Method Details
-
getEagerContentStoreCleaner
- Returns:
- the eagerContentStoreCleaner
-
getDictionaryService
- Returns:
- the dictionaryService
-
getNodeService
- Returns:
- the nodeService
-
getBehaviourFilter
- Returns:
- the behaviourFilter
-
isCleansingEnabled
public boolean isCleansingEnabled()- Returns:
- true if cleansing is enabled, false otherwise
-
setEagerContentStoreCleaner
- Parameters:
eagerContentStoreCleaner- eager content store cleaner
-
setDictionaryService
- Parameters:
dictionaryService- dictionary service
-
setNodeService
- Parameters:
nodeService- node service
-
setBehaviourFilter
- 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
Destroy content- Parameters:
nodeRef-
-
destroyContent
Destroy content- Parameters:
nodeRef-includeRenditions-
-
registerAllContentForDestruction
Registers all content on the given node for destruction.- Parameters:
nodeRef- node referenceclearContentProperty- if true then clear content property, otherwise false
-