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
  • Constructor Details

    • RMv22GhostOnDestroyDispositionActionPatch

      public RMv22GhostOnDestroyDispositionActionPatch()
  • Method Details

    • 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(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 class AbstractModulePatch
      See Also: