public class EmptyActivityParameterHelper extends java.lang.Object implements ActivityParameterHelper
ActivityParameterHelper
methods. It can be extended with only the relevant methods overridden.Constructor and Description |
---|
EmptyActivityParameterHelper() |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
createExtraOutputMap(ActivityClassParameter[] acps_)
Default do-nothing implementation.
|
java.lang.Object |
inputMapToExtraParameters(java.util.Map fromRequest_)
Default do-nothing implementation.
|
boolean |
validate(ActivityClassParameter[] acps_,
java.lang.Object extraParameters_,
boolean isSubmit_,
ServiceContext sc_,
MessageHolder errorHolder_)
Default do-nothing implementation.
|
boolean |
validate(ActivityClassParameter[] acps_,
java.lang.Object extraParameters_,
boolean isSubmit_,
User user_)
Deprecated.
|
public java.util.Map createExtraOutputMap(ActivityClassParameter[] acps_)
createExtraOutputMap
in interface ActivityParameterHelper
acps_
- the parameters.java.util.HashMap
.ActivityParameterHelper.createExtraOutputMap(com.appiancorp.suiteapi.process.ActivityClassParameter[])
public java.lang.Object inputMapToExtraParameters(java.util.Map fromRequest_)
inputMapToExtraParameters
in interface ActivityParameterHelper
fromRequest_
- the map of input parametersnull
ActivityParameterHelper.inputMapToExtraParameters(java.util.Map)
public boolean validate(ActivityClassParameter[] acps_, java.lang.Object extraParameters_, boolean isSubmit_, ServiceContext sc_, MessageHolder errorHolder_)
validate
in interface ActivityParameterHelper
acps_
- The parameters.extraParameters_
- The output from inputMapToExtraParameters()
.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.true
ActivityParameterHelper.validate(com.appiancorp.suiteapi.process.ActivityClassParameter[], java.lang.Object, boolean, com.appiancorp.services.ServiceContext, com.appiancorp.suiteapi.process.framework.MessageHolder)
public boolean validate(ActivityClassParameter[] acps_, java.lang.Object extraParameters_, boolean isSubmit_, User user_)
acps_
- extraParameters_
- isSubmit_
- user_
- Copyright © 2003-2024 Appian Corporation. All Rights Reserved.