Class PluginServletActionParams.Builder
java.lang.Object
de.xima.fc.plugin.models.params.servlet.PluginServletActionParams.Builder
- Enclosing class:
PluginServletActionParams
-
Method Summary
Modifier and TypeMethodDescriptionaction(EServletAction action) backendUser(IUser user) build()Sets the ID of the client scope where the servlet action plugin was called, if any.contextPath(String contextPath) formRecordId(Long formRecordId) Sets the ID of the form record where the servlet action plugin was called, if any.formVersionId(Long formVersionId) Sets the ID of the form version where the servlet action plugin was called, if any.frontendServer(FrontendServer frontendServer) frqSessionAttributes(Map<Serializable, Serializable> frqSessionAttributes) frqSessionId(String frqSessionId) Sets the ID of the project scope where the servlet action plugin was called, if any.remoteAddr(String remoteAddr) voidrequestBody(byte[] requestBody) requestParams(Map<String, List<String>> requestParams) requestUri(String requestUri) requestUrl(String requestUrl) sessionAttributes(Map<String, Serializable> sessionAttributes) uploadFiles(Map<String, List<FileData>> uploadFiles) Deprecated.valueParameters(ValueParameters valueParameters) Deprecated.workflowVersionId(Long workflowVersionId) Sets the ID of the workflow version where the servlet action plugin was called, if any.
-
Method Details
-
action
-
backendUser
- Parameters:
user- The form user who made the request to the plugin action servlet.- Returns:
- This builder for chaining method calls.
-
baseUrl
-
build
-
client
-
clientId
Sets the ID of the client scope where the servlet action plugin was called, if any.- Parameters:
clientId- The client ID; or null if no client scope is available.- Returns:
- This builder for chaining method calls.
-
contextPath
-
formRecordId
Sets the ID of the form record where the servlet action plugin was called, if any.- Parameters:
formRecordId- The form record ID; or null if no form record scope is available.- Returns:
- This builder for chaining method calls.
-
formUser
- Parameters:
user- The form user who made the request to the plugin action servlet.- Returns:
- This builder for chaining method calls.
-
formVersionId
Sets the ID of the form version where the servlet action plugin was called, if any.- Parameters:
formVersionId- The form version ID; or null if no form version scope is available.- Returns:
- This builder for chaining method calls.
-
frontendServer
@CanIgnoreReturnValue public PluginServletActionParams.Builder frontendServer(FrontendServer frontendServer) -
frqSessionAttributes
@CanIgnoreReturnValue public PluginServletActionParams.Builder frqSessionAttributes(Map<Serializable, Serializable> frqSessionAttributes) -
frqSessionId
-
headerMap
@CanIgnoreReturnValue public PluginServletActionParams.Builder headerMap(Map<String, String> headerMap) -
locale
-
projectId
Sets the ID of the project scope where the servlet action plugin was called, if any.- Parameters:
projectId- The project ID; or null if no project scope is available.- Returns:
- This builder for chaining method calls.
-
remoteAddr
-
requestBody
@CanIgnoreReturnValue public void requestBody(byte[] requestBody) -
requestParams
@CanIgnoreReturnValue public PluginServletActionParams.Builder requestParams(Map<String, List<String>> requestParams) -
requestUri
-
requestUrl
-
sessionAttributes
@CanIgnoreReturnValue public PluginServletActionParams.Builder sessionAttributes(Map<String, Serializable> sessionAttributes) -
sessionId
-
uploadFiles
@CanIgnoreReturnValue public PluginServletActionParams.Builder uploadFiles(Map<String, List<FileData>> uploadFiles) -
user
Deprecated.UsebackendUser(IUser).- Parameters:
user- The backend user who made the request to the plugin action servlet.- Returns:
- This builder for chaining method calls.
-
valueParameters
@Deprecated @CanIgnoreReturnValue public PluginServletActionParams.Builder valueParameters(ValueParameters valueParameters) Deprecated. -
workflowVersionId
@CanIgnoreReturnValue public PluginServletActionParams.Builder workflowVersionId(Long workflowVersionId) Sets the ID of the workflow version where the servlet action plugin was called, if any.- Parameters:
workflowVersionId- The workflow version ID; or null if no workflow version scope is available.- Returns:
- This builder for chaining method calls.
-
backendUser(IUser).