public abstract class Action extends Object
| Constructor and Description |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
activate(Context c,
XmlWorkflowItem wf) |
protected void |
addErrorField(javax.servlet.http.HttpServletRequest request,
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 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() |
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 SQLException, IOException, AuthorizeException, WorkflowException
public abstract ActionResult execute(Context c, XmlWorkflowItem wfi, Step step, javax.servlet.http.HttpServletRequest request) throws SQLException, AuthorizeException, IOException, WorkflowException
public WorkflowActionConfig getParent()
public void setParent(WorkflowActionConfig parent)
public String getProvenanceStartId()
public void alertUsersOnActivation(Context c, XmlWorkflowItem wfi, RoleMembers members) throws SQLException, IOException
SQLExceptionIOExceptionpublic abstract boolean isAuthorized(Context context, javax.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) throws SQLException, AuthorizeException, IOException, WorkflowConfigurationException
public static List getErrorFields(javax.servlet.http.HttpServletRequest request)
request - current servlet request objectprotected void addErrorField(javax.servlet.http.HttpServletRequest request,
String fieldName)
request - current servlet request objectfieldName - the name of the field which had an errorCopyright © 2016 DuraSpace. All Rights Reserved.