public abstract class UserSelectionAction extends Action
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
UserSelectionAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi) |
abstract boolean |
isFinished(XmlWorkflowItem wfi) |
abstract boolean |
isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
Verifies if the user selection action is valid
User constraints will be checked (enough users, group exists, ...)
|
abstract void |
regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
Should a person have the option to repool the task the tasks will have to be regenerated
|
abstract boolean |
usesTaskPool()
A boolean indicating wether or not the task pool is used for this type of user selection
|
activate, addErrorField, alertUsersOnActivation, execute, getErrorFields, getParent, getProvenanceStartId, setParentpublic abstract boolean isFinished(XmlWorkflowItem wfi)
public boolean isAuthorized(Context context, javax.servlet.http.HttpServletRequest request, XmlWorkflowItem wfi) throws java.sql.SQLException, AuthorizeException, java.io.IOException, WorkflowConfigurationException
isAuthorized in class Actionjava.sql.SQLExceptionAuthorizeExceptionjava.io.IOExceptionWorkflowConfigurationExceptionpublic abstract void regenerateTasks(Context c, XmlWorkflowItem wfi, RoleMembers roleMembers) throws java.sql.SQLException, AuthorizeException
c - the dspace contextwfi - the workflowitemroleMembers - the list of users for which tasks must be regeneratedjava.sql.SQLException - ...AuthorizeException - thrown if the current user isn't authorizedpublic abstract boolean isValidUserSelection(Context context, XmlWorkflowItem wfi, boolean hasUI) throws WorkflowConfigurationException, java.sql.SQLException
context - the dspace contextwfi - the workflow itemhasUI - boolean indicating whether or not the action has a user interfaceWorkflowConfigurationException - occurs if there is a configuration error in the workflowjava.sql.SQLException - ...public abstract boolean usesTaskPool()
Copyright © 2018 DuraSpace. All Rights Reserved.