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
public class RMv22GhostOnDestroyDispositionActionPatch extends AbstractModulePatch
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 Constructor Description RMv22GhostOnDestroyDispositionActionPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyInternal()
Apply patch internal method.void
setDispositionService(DispositionService dispositionService)
void
setFilePlanService(FilePlanService filePlanService)
void
setGhostingEnabled(boolean ghostingEnabled)
void
setNodeService(org.alfresco.service.cmr.repository.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
-
-
-
-
Method Detail
-
setDispositionService
public void setDispositionService(DispositionService dispositionService)
- Parameters:
dispositionService
- disposition service
-
setFilePlanService
public void setFilePlanService(FilePlanService filePlanService)
- Parameters:
filePlanService
- file plan service
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- 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:
AbstractModulePatch.applyInternal()
-
-