Class UpdateTagScopesActionExecuter

All Implemented Interfaces:
ActionExecuter, LoggingAwareExecuter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class UpdateTagScopesActionExecuter extends ActionExecuterAbstractBase
Update tag scopes action executer. NOTE: This action is used to facilitate the async update of tag scopes. It is not intended for general usage.
Author:
Roy Wetherall
  • Field Details

  • Constructor Details

    • UpdateTagScopesActionExecuter

      public UpdateTagScopesActionExecuter()
  • Method Details

    • setNodeService

      public void setNodeService(NodeService nodeService)
      Set the node service
      Parameters:
      nodeService - node service
    • setContentService

      public void setContentService(ContentService contentService)
      Set the content service
      Parameters:
      contentService - the content service
    • setTaggingService

      public void setTaggingService(TaggingService taggingService)
      Set the tagging service
      Parameters:
      taggingService - the tagging service
    • setAuditService

      public void setAuditService(AuditService auditService)
      Set the audit service
      Parameters:
      auditService - the audit service
    • setJobLockService

      public void setJobLockService(JobLockService jobLockService)
      Set the job lock service
      Parameters:
      jobLockService - the job locking service
    • setTransactionService

      public void setTransactionService(TransactionService transactionService)
      Set the transaction service
      Parameters:
      transactionService - the transaction service
    • setBehaviourFilter

      public void setBehaviourFilter(BehaviourFilter behaviourFilter)
      Set the behaviour filter
      Parameters:
      behaviourFilter - the behaviour filter
    • executeImpl

      protected void executeImpl(Action action, NodeRef actionedUponNodeRef)
      Description copied from class: ActionExecuterAbstractBase
      Execute the action implementation
      Specified by:
      executeImpl in class ActionExecuterAbstractBase
      Parameters:
      action - the action
      actionedUponNodeRef - the actioned upon node
      See Also:
    • searchForTagScopesPendingUpdates

      public List<NodeRef> searchForTagScopesPendingUpdates()
      Checks several batches of updates in the Audit event log, and returns the list of Tag Scope Node References found there. You should generally call this action to process the list of tag nodes before re-calling this method. You may need to call this method several times if lots of work is backed up, when an empty list is returned then you know that all work is handled.
    • lockTagScope

      protected String lockTagScope(NodeRef tagScope)
    • updateTagScopeLock

      protected void updateTagScopeLock(NodeRef tagScope, String lockToken)
    • unlockTagScope

      protected void unlockTagScope(NodeRef tagScope, String lockToken)
    • addParameterDefinitions

      protected void addParameterDefinitions(List<ParameterDefinition> paramList)
      Description copied from class: ParameterizedItemAbstractBase
      Adds the parameter definitions to the list
      Specified by:
      addParameterDefinitions in class ParameterizedItemAbstractBase
      Parameters:
      paramList - the parameter definitions list
      See Also: