Class EmptyActivityParameterHelper
java.lang.Object
com.appiancorp.suiteapi.process.framework.EmptyActivityParameterHelper
- All Implemented Interfaces:
ActivityParameterHelper
,Serializable
This class provides default, do-nothing implementations of all
ActivityParameterHelper
methods. It can be extended with only the relevant methods overridden.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefault do-nothing implementation.inputMapToExtraParameters
(Map fromRequest_) Default do-nothing implementation.boolean
validate
(ActivityClassParameter[] acps_, Object extraParameters_, boolean isSubmit_, ServiceContext sc_, MessageHolder errorHolder_) Default do-nothing implementation.boolean
validate
(ActivityClassParameter[] acps_, Object extraParameters_, boolean isSubmit_, User user_) Deprecated.
-
Constructor Details
-
EmptyActivityParameterHelper
public EmptyActivityParameterHelper()
-
-
Method Details
-
createExtraOutputMap
Default do-nothing implementation.- Specified by:
createExtraOutputMap
in interfaceActivityParameterHelper
- Parameters:
acps_
- the parameters.- Returns:
- an empty
java.util.HashMap
. - See Also:
-
inputMapToExtraParameters
Default do-nothing implementation.- Specified by:
inputMapToExtraParameters
in interfaceActivityParameterHelper
- Parameters:
fromRequest_
- the map of input parameters- Returns:
null
- See Also:
-
validate
public boolean validate(ActivityClassParameter[] acps_, Object extraParameters_, boolean isSubmit_, ServiceContext sc_, MessageHolder errorHolder_) Default do-nothing implementation.- Specified by:
validate
in interfaceActivityParameterHelper
- Parameters:
acps_
- The parameters.extraParameters_
- The output frominputMapToExtraParameters()
.isSubmit_
-true
if the task is being submitted for completion,false
if the task is simply being saved for completion later. Validations performed if the task is being submitted may not need to be performed if it is simply being saved.sc_
- The service context of the current user.errorHolder_
- A way for the implementation to add error messages as though it were a part of the calling action.- Returns:
true
- See Also:
-
validate
@Deprecated public boolean validate(ActivityClassParameter[] acps_, Object extraParameters_, boolean isSubmit_, User user_) Deprecated.- Parameters:
acps_
-extraParameters_
-isSubmit_
-user_
-- Returns:
-