Class ClassifyByHierarchyActionExecuter

java.lang.Object
org.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.action.ParameterizedItemAbstractBase
org.alfresco.repo.action.executer.ActionExecuterAbstractBase
fr.becpg.repo.hierarchy.action.ClassifyByHierarchyActionExecuter
All Implemented Interfaces:
org.alfresco.repo.action.executer.ActionExecuter, org.alfresco.repo.action.executer.LoggingAwareExecuter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class ClassifyByHierarchyActionExecuter extends org.alfresco.repo.action.executer.ActionExecuterAbstractBase
Action used to classify an entity according to its hierarchy.
Version:
$Id: $Id
Author:
querephi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    private static final org.apache.commons.logging.Log
     
    static final String
    The Constant NAME.
    private org.alfresco.service.namespace.NamespaceService
     
    static final String
    Constant PARAM_DESTINATION_FOLDER="destination-folder"
    static final String
    Constant PARAM_PROP_HIERARCHY="prop-hierarchy"
    static final String
    Constant PARAM_PROP_LOCALE="prop-locale"

    Fields inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase

    actionAccessRestrictions, actionDefinition, applicableTypes, publicAction

    Fields inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase

    adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService

    Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase

    name

    Fields inherited from interface org.alfresco.repo.action.executer.ActionExecuter

    PARAM_RESULT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addParameterDefinitions(List<org.alfresco.service.cmr.action.ParameterDefinition> paramList)
    protected void
    executeImpl(org.alfresco.service.cmr.action.Action action, org.alfresco.service.cmr.repository.NodeRef nodeRef)
    void
    Setter for the field hierarchyService.
    void
    setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
    Setter for the field namespaceService.

    Methods inherited from class org.alfresco.repo.action.executer.ActionExecuterAbstractBase

    createActionDefinition, execute, getActionAccessRestrictions, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setActionAccessRestrictions, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus, verifyActionAccessRestrictions

    Methods inherited from class org.alfresco.repo.action.ParameterizedItemAbstractBase

    checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString

    Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase

    setBeanName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.alfresco.repo.action.executer.ActionExecuter

    isExecuteAsynchronously
  • Field Details

    • NAME

      public static final String NAME
      The Constant NAME.
      See Also:
    • PARAM_DESTINATION_FOLDER

      public static final String PARAM_DESTINATION_FOLDER
      Constant PARAM_DESTINATION_FOLDER="destination-folder"
      See Also:
    • PARAM_PROP_HIERARCHY

      public static final String PARAM_PROP_HIERARCHY
      Constant PARAM_PROP_HIERARCHY="prop-hierarchy"
      See Also:
    • PARAM_PROP_LOCALE

      public static final String PARAM_PROP_LOCALE
      Constant PARAM_PROP_LOCALE="prop-locale"
      See Also:
    • logger

      private static final org.apache.commons.logging.Log logger
    • hierarchyService

      private HierarchyService hierarchyService
    • namespaceService

      private org.alfresco.service.namespace.NamespaceService namespaceService
  • Constructor Details

    • ClassifyByHierarchyActionExecuter

      public ClassifyByHierarchyActionExecuter()
  • Method Details

    • setHierarchyService

      public void setHierarchyService(HierarchyService hierarchyService)

      Setter for the field hierarchyService.

      Parameters:
      hierarchyService - a HierarchyService object.
    • setNamespaceService

      public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)

      Setter for the field namespaceService.

      Parameters:
      namespaceService - a NamespaceService object.
    • executeImpl

      protected void executeImpl(org.alfresco.service.cmr.action.Action action, org.alfresco.service.cmr.repository.NodeRef nodeRef)
      Specified by:
      executeImpl in class org.alfresco.repo.action.executer.ActionExecuterAbstractBase
    • addParameterDefinitions

      protected void addParameterDefinitions(List<org.alfresco.service.cmr.action.ParameterDefinition> paramList)
      Specified by:
      addParameterDefinitions in class org.alfresco.repo.action.ParameterizedItemAbstractBase