Class BroadcastDispositionActionDefinitionUpdateAction

  • All Implemented Interfaces:
    RecordsManagementAction, RecordsManagementCustomModel, RecordsManagementModel, org.alfresco.repo.action.executer.ActionExecuter, org.alfresco.repo.action.executer.LoggingAwareExecuter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware

    public class BroadcastDispositionActionDefinitionUpdateAction
    extends RMActionExecuterAbstractBase
    Action to implement the consequences of a change to the value of the DispositionActionDefinition properties. When these properties are changed on a disposition schedule, then any associated disposition actions may need to be updated as a consequence.
    Author:
    Neil McErlean
    • Constructor Detail

      • BroadcastDispositionActionDefinitionUpdateAction

        public BroadcastDispositionActionDefinitionUpdateAction()
    • Method Detail

      • setBehaviourFilter

        public void setBehaviourFilter​(org.alfresco.repo.policy.BehaviourFilter behaviourFilter)
      • executeImpl

        protected void executeImpl​(org.alfresco.service.cmr.action.Action action,
                                   org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
        Specified by:
        executeImpl in class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
        See Also:
        ActionExecuterAbstractBase.executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
      • persistPeriodChanges

        protected void persistPeriodChanges​(org.alfresco.service.cmr.repository.NodeRef dispositionActionDef,
                                            DispositionAction nextAction)
        Persists any changes made to the period on the given disposition action definition on the given next action.
        Parameters:
        dispositionActionDef - The disposition action definition node
        nextAction - The next disposition action