Class ParameterProcessorComponent

    • Constructor Detail

      • ParameterProcessorComponent

        public ParameterProcessorComponent()
    • Method Detail

      • register

        public void register​(ParameterProcessor processor)
        Register parameter processor
        Parameters:
        processor -
      • process

        public void process​(org.alfresco.service.cmr.action.ParameterizedItem ruleItem,
                            org.alfresco.service.cmr.action.ParameterizedItemDefinition ruleItemDefinition,
                            org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef)
        Parameters:
        ruleItem -
        ruleItemDefinition -
        actionedUponNodeRef -
      • process

        public String process​(String value,
                              org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Process the value for substitution within the context of the provided node.
        Parameters:
        value - value
        nodeRef - node reference
        Returns:
        String resulting value
      • process

        public String process​(String value,
                              org.alfresco.service.cmr.repository.NodeRef nodeRef,
                              String regExp)
      • getSubstitutionSuggestions

        public List<String> getSubstitutionSuggestions​(String substitutionFragment)
        Return a list of substitution suggestions for the passed string fragment.
        Specified by:
        getSubstitutionSuggestions in interface ParameterSubstitutionSuggester
        Parameters:
        substitutionFragment - Text fragment to search on.
        Returns:
        A list of substitutions that match the substitution fragment.