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
Modifier and TypeFieldDescriptionprotected LimitedEntriesHelper
The handling limited entries helper -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Get the list of accepted arguments for this functiongetDescription
(Map<String, String> argumentsValues) Get the function descriptions depending on arguments valuesvoid
service
(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:
service
in interfaceServiceable
- Throws:
ServiceException
-
execute
public void execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps) throws com.opensymphony.workflow.WorkflowException - Specified by:
execute
in interfacecom.opensymphony.workflow.FunctionProvider
- Throws:
com.opensymphony.workflow.WorkflowException
-
getArguments
Description copied from interface:EnhancedFunction
Get the list of accepted arguments for this function- Specified by:
getArguments
in interfaceEnhancedFunction
- Returns:
- a List of argument names and associated description
-
getDescription
Description copied from interface:EnhancedFunction
Get the function descriptions depending on arguments values- Specified by:
getDescription
in interfaceEnhancedFunction
- Parameters:
argumentsValues
- a map of the arguments with their values in current workflow- Returns:
- a description to display in workflow editor vue
-