public abstract class Action
extends java.lang.Object
| Constructor and Description |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
activate(Context c,
XmlWorkflowItem wf) |
protected static void |
addErrorField(javax.servlet.http.HttpServletRequest request,
java.lang.String fieldName)
Add a single UI field to the list of all error fields (which can
later be retrieved using getErrorFields())
|
void |
alertUsersOnActivation(Context c,
XmlWorkflowItem wfi,
RoleMembers members) |
abstract ActionResult |
execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
static java.util.List |
getErrorFields(javax.servlet.http.HttpServletRequest request)
Return a list of all UI fields which had errors that occurred during the
workflow processing.
|
WorkflowActionConfig |
getParent() |
java.lang.String |
getProvenanceStartId() |
abstract boolean |
isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi) |
void |
setParent(WorkflowActionConfig parent) |
public abstract void activate(Context c, XmlWorkflowItem wf) throws java.sql.SQLException, java.io.IOException, AuthorizeException, WorkflowException
java.sql.SQLExceptionjava.io.IOExceptionAuthorizeExceptionWorkflowExceptionpublic abstract ActionResult execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request) throws java.sql.SQLException, AuthorizeException, java.io.IOException, WorkflowException
java.sql.SQLExceptionAuthorizeExceptionjava.io.IOExceptionWorkflowExceptionpublic WorkflowActionConfig getParent()
public void setParent(WorkflowActionConfig parent)
public java.lang.String getProvenanceStartId()
public void alertUsersOnActivation(Context c, XmlWorkflowItem wfi, RoleMembers members) throws java.sql.SQLException, java.io.IOException
java.sql.SQLExceptionjava.io.IOExceptionpublic abstract boolean isAuthorized(Context context, javax.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) throws java.sql.SQLException, AuthorizeException, java.io.IOException, WorkflowConfigurationException
java.sql.SQLExceptionAuthorizeExceptionjava.io.IOExceptionWorkflowConfigurationExceptionpublic static java.util.List getErrorFields(javax.servlet.http.HttpServletRequest request)
request - current servlet request objectprotected static void addErrorField(javax.servlet.http.HttpServletRequest request,
java.lang.String fieldName)
request - current servlet request objectfieldName - the name of the field which had an errorCopyright © 2018 DuraSpace. All Rights Reserved.