public interface InternalFormProcessor
Modifier and Type | Method and Description |
---|---|
java.util.Map |
buildParameterMap(javax.servlet.http.HttpServletRequest q_,
FormElementBinding[] bindings_,
ActivityClassParameter[] acps_)
Creates a map whose keys are ACP keys (ACP~i) and whose
values are the values that match the request parameters whose names are
bound the corresponding ACP names.
|
java.util.Map |
buildParameterMap(javax.servlet.http.HttpServletRequest q_,
FormElementBinding[] bindings_,
ProcessVariable[] pvs_)
Creates a map whose keys are process parameter keys (PP~x) and whose
values are the values that match the request parameters whose names are
bound the corresponding process variable names.
|
org.apache.struts.action.ActionForward |
getAttendedNodeConfirmationResponse(javax.servlet.http.HttpServletRequest q_,
java.lang.String url_)
Gets the forward after the task was started successfully
|
org.apache.struts.action.ActionForward |
getProcessStartConfirmationResponse(javax.servlet.http.HttpServletRequest q_,
java.lang.Long processId_,
java.lang.Long processModelId_)
Gets the forward after the process was started successfully
|
java.util.List |
retrieveInputs(byte[] form_)
Deprecated.
Use retrieveInputs(
InputStream ) version instead (deprecated in 6.2). |
java.util.List<java.lang.String> |
retrieveInputs(java.io.InputStream form_)
Gets the list of inputs on the form using an InputStream as the source.
|
byte[] |
transformNodeForm(byte[] originalForm_,
java.lang.String submitAction_,
java.util.Map<java.lang.String,java.lang.String> extraParameters_,
java.util.Map<java.lang.String,java.lang.Object> defaultValues_)
The transformNodeForm method will be used for both process start
and attended node forms.
|
byte[] transformNodeForm(byte[] originalForm_, java.lang.String submitAction_, java.util.Map<java.lang.String,java.lang.String> extraParameters_, java.util.Map<java.lang.String,java.lang.Object> defaultValues_)
originalForm_
- the parsed data of the collaboration document
corresponding to the InternalForm
submitAction_
- the class name of the action to which the form
should be submittedextraParameters_
- map of parameter keys with values, that might
be injected by the framework as necessary. For example, taskId
for node start forms, and processModelId
for process start forms.@Deprecated java.util.List retrieveInputs(byte[] form_) throws java.io.IOException
InputStream
) version instead (deprecated in 6.2).form_
- the formjava.io.IOException
java.util.List<java.lang.String> retrieveInputs(java.io.InputStream form_) throws java.io.IOException
form_
- the formjava.io.IOException
java.util.Map buildParameterMap(javax.servlet.http.HttpServletRequest q_, FormElementBinding[] bindings_, ActivityClassParameter[] acps_)
q_
- an HTTP request, containing request parameters whose names
map to the formInput
property of the bindings_
bindings_
- a binding of request names to acp namesacps_
- the ACPs for the activity being executedjava.util.Map buildParameterMap(javax.servlet.http.HttpServletRequest q_, FormElementBinding[] bindings_, ProcessVariable[] pvs_)
q_
- an HTTP request, containing request parameters whose names
map to the formInput
property of the bindings_
bindings_
- a binding of request names to pv namespvs_
- process variable (parameters)org.apache.struts.action.ActionForward getAttendedNodeConfirmationResponse(javax.servlet.http.HttpServletRequest q_, java.lang.String url_)
q_
- the requestorg.apache.struts.action.ActionForward getProcessStartConfirmationResponse(javax.servlet.http.HttpServletRequest q_, java.lang.Long processId_, java.lang.Long processModelId_)
q_
- the requestCopyright © 2003-2024 Appian Corporation. All Rights Reserved.