Class RMv22GhostOnDestroyDispositionActionPatch
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.patch.AbstractModulePatch
org.alfresco.module.org_alfresco_module_rm.patch.v22.RMv22GhostOnDestroyDispositionActionPatch
- All Implemented Interfaces:
Comparable<ModulePatch>,ModulePatch,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
Sets the ghost on destroy property for existing destroy disposition actions to the value specified in the global properties file
- Since:
- 2.2
- Author:
- Mark Hibbins
-
Field Summary
Fields inherited from class org.alfresco.module.org_alfresco_module_rm.patch.AbstractModulePatch
LOGGER, transactionService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApply patch internal method.voidsetDispositionService(DispositionService dispositionService) voidsetFilePlanService(FilePlanService filePlanService) voidsetGhostingEnabled(boolean ghostingEnabled) voidsetNodeService(NodeService nodeService) Methods inherited from class org.alfresco.module.org_alfresco_module_rm.patch.AbstractModulePatch
apply, compareTo, getDescription, getFixesFromSchema, getFixesToSchema, getId, getModuleId, getTargetSchema, init, setBeanName, setDescription, setFixesFromSchema, setFixesToSchema, setId, setModuleId, setModulePatchExecuter, setTargetSchema, setTransactionService, setTxnReadOnly, setTxnRequiresNew
-
Constructor Details
-
RMv22GhostOnDestroyDispositionActionPatch
public RMv22GhostOnDestroyDispositionActionPatch()
-
-
Method Details
-
setDispositionService
- Parameters:
dispositionService- disposition service
-
setFilePlanService
- Parameters:
filePlanService- file plan service
-
setNodeService
- Parameters:
nodeService- file plan service
-
setGhostingEnabled
public void setGhostingEnabled(boolean ghostingEnabled) - Parameters:
ghostingEnabled- Ghost on destroy setting from alfresco-global.properties
-
applyInternal
public void applyInternal()Description copied from class:AbstractModulePatchApply patch internal method. Implementations can assume a transaction has been started.- Specified by:
applyInternalin classAbstractModulePatch- See Also:
-