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 TypeMethodDescriptionvoid
Apply patch internal method.void
setDispositionService
(DispositionService dispositionService) void
setFilePlanService
(FilePlanService filePlanService) void
setGhostingEnabled
(boolean ghostingEnabled) void
setNodeService
(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:AbstractModulePatch
Apply patch internal method. Implementations can assume a transaction has been started.- Specified by:
applyInternal
in classAbstractModulePatch
- See Also:
-