Class DeactiveEntryFunction
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.forms.workflow.DeactiveEntryFunction
- All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider,EnhancedFunction,Component,LogEnabled,Serviceable
public class DeactiveEntryFunction
extends AbstractLogEnabled
implements Component, EnhancedFunction, Serviceable
OS workflow function to deactive the entry
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.workflow.EnhancedFunction
EnhancedFunction.FunctionArgument -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LimitedEntriesHelperThe handling limited entries helper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidGet the list of accepted arguments for this functiongetDescription(Map<String, String> argumentsValues) Get the function descriptions depending on arguments valuesvoidservice(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_handleLimitedEntriesHelper
The handling limited entries helper
-
-
Constructor Details
-
DeactiveEntryFunction
public DeactiveEntryFunction()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
execute
public void execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException - Specified by:
executein interfacecom.opensymphony.workflow.FunctionProvider- Throws:
com.opensymphony.workflow.WorkflowException
-
getArguments
Description copied from interface:EnhancedFunctionGet the list of accepted arguments for this function- Specified by:
getArgumentsin interfaceEnhancedFunction- Returns:
- a List of argument names and associated description
-
getDescription
Description copied from interface:EnhancedFunctionGet the function descriptions depending on arguments values- Specified by:
getDescriptionin interfaceEnhancedFunction- Parameters:
argumentsValues- a map of the arguments with their values in current workflow- Returns:
- a description to display in workflow editor vue
-