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 TypeMethodDescriptionvoid
destroyContent
(NodeRef nodeRef) Destroy contentvoid
destroyContent
(NodeRef nodeRef, boolean includeRenditions) Destroy contentprotected BehaviourFilter
protected DictionaryService
protected EagerContentStoreCleaner
protected NodeService
boolean
protected void
registerAllContentForDestruction
(NodeRef nodeRef, boolean clearContentProperty) Registers all content on the given node for destruction.void
setBehaviourFilter
(BehaviourFilter behaviourFilter) void
setCleansingEnabled
(boolean cleansingEnabled) void
setContentBinDuplicationUtility
(ContentBinDuplicationUtility contentBinDuplicationUtility) Setter for content duplication utility classvoid
setDictionaryService
(DictionaryService dictionaryService) void
setEagerContentStoreCleaner
(EagerContentStoreCleaner eagerContentStoreCleaner) void
setNodeService
(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
-