| Modifier and Type | Method and Description |
|---|---|
static XmlWorkflowItem |
XmlWorkflowManager.start(Context context,
WorkspaceItem wsi) |
static XmlWorkflowItem |
XmlWorkflowManager.startWithoutNotify(Context c,
WorkspaceItem wsi)
startWithoutNotify() starts the workflow normally, but disables
notifications (useful for large imports,) for the first workflow step -
subsequent notifications happen normally
|
| Modifier and Type | Method and Description |
|---|---|
static WorkspaceItem |
XmlWorkflowManager.abort(Context c,
XmlWorkflowItem wi,
EPerson e) |
static void |
WorkflowRequirementsManager.addClaimedUser(Context c,
XmlWorkflowItem wfi,
Step step,
EPerson user)
Adds a claimed user in the metadata
if enough users have claimed this task (claimed or finished) to meet the required number
the pooled tasks will be deleted
|
static void |
WorkflowRequirementsManager.addFinishedUser(Context c,
XmlWorkflowItem wfi,
EPerson user)
Adds a finished user in the metadata
this method will also remove the user from the inprogress metadata
|
static void |
XmlWorkflowManager.alertUsersOnTaskActivation(Context c,
XmlWorkflowItem wfi,
java.lang.String emailTemplate,
java.util.List<EPerson> epa,
java.lang.String... arguments) |
static Item |
XmlWorkflowManager.archive(Context c,
XmlWorkflowItem wfi)
Commit the contained item to the main archive.
|
static void |
WorkflowRequirementsManager.clearInProgressUsers(Context c,
XmlWorkflowItem wfi) |
static void |
XmlWorkflowManager.createOwnedTask(Context c,
XmlWorkflowItem wi,
Step step,
WorkflowActionConfig action,
EPerson e) |
static void |
XmlWorkflowManager.createPoolTasks(Context context,
XmlWorkflowItem wi,
RoleMembers assignees,
Step step,
WorkflowActionConfig action) |
static void |
XmlWorkflowManager.deleteAllPooledTasks(Context c,
XmlWorkflowItem wi) |
static void |
XmlWorkflowManager.deleteAllTasks(Context c,
XmlWorkflowItem wi)
Deletes all tasks from this workflowflowitem
|
static void |
XmlWorkflowManager.deleteClaimedTask(Context c,
XmlWorkflowItem wi,
ClaimedTask task) |
static void |
XmlWorkflowManager.deletePooledTask(Context c,
XmlWorkflowItem wi,
PoolTask task) |
RoleMembers |
Role.getMembers(Context context,
XmlWorkflowItem wfi) |
protected static void |
XmlWorkflowManager.logWorkflowEvent(Context c,
java.lang.String workflowId,
java.lang.String previousStepId,
java.lang.String previousActionConfigId,
XmlWorkflowItem wfi,
EPerson actor,
Step newStep,
WorkflowActionConfig newActionConfig) |
static WorkflowActionConfig |
XmlWorkflowManager.processOutcome(Context c,
EPerson user,
Workflow workflow,
Step currentStep,
WorkflowActionConfig currentActionConfig,
ActionResult currentOutcome,
XmlWorkflowItem wfi,
boolean enteredNewStep) |
static void |
WorkflowRequirementsManager.removeClaimedUser(Context c,
XmlWorkflowItem wfi,
EPerson user,
java.lang.String stepID) |
static WorkspaceItem |
XmlWorkflowManager.sendWorkflowItemBackSubmission(Context c,
XmlWorkflowItem wi,
EPerson e,
java.lang.String provenance,
java.lang.String rejection_message)
rejects an item - rejection means undoing a submit - WorkspaceItem is
created, and the WorkflowItem is removed, user is emailed
rejection_message.
|
| Modifier and Type | Method and Description |
|---|---|
Step |
Workflow.getNextStep(Context context,
XmlWorkflowItem wfi,
Step currentStep,
int outcome) |
boolean |
Step.isFinished(Context c,
XmlWorkflowItem wfi)
Check if enough users have finished this step for it to continue
|
boolean |
Step.isValidStep(Context context,
XmlWorkflowItem wfi) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Action.activate(Context c,
XmlWorkflowItem wf) |
void |
Action.alertUsersOnActivation(Context c,
XmlWorkflowItem wfi,
RoleMembers members) |
abstract ActionResult |
Action.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
abstract boolean |
Action.isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi) |
| Modifier and Type | Method and Description |
|---|---|
void |
FinalEditAction.activate(Context c,
XmlWorkflowItem wf) |
void |
ReviewAction.activate(Context c,
XmlWorkflowItem wfItem) |
void |
AcceptEditRejectAction.activate(Context c,
XmlWorkflowItem wf) |
void |
ScoreEvaluationAction.activate(Context c,
XmlWorkflowItem wf) |
void |
ScoreReviewAction.activate(Context c,
XmlWorkflowItem wf) |
void |
SingleUserReviewAction.activate(Context c,
XmlWorkflowItem wfItem) |
void |
SelectReviewerAction.activate(Context c,
XmlWorkflowItem wf) |
ActionResult |
FinalEditAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AcceptEditRejectAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ScoreEvaluationAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ScoreReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
SingleUserReviewAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
SelectReviewerAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
boolean |
ProcessingAction.isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi) |
ActionResult |
FinalEditAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ReviewAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AcceptEditRejectAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
SingleUserReviewAction.processMainPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ReviewAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AcceptEditRejectAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
SingleUserReviewAction.processRejectPage(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
NoUserSelectionAction.activate(Context c,
XmlWorkflowItem wf) |
void |
InheritUsersAction.activate(Context c,
XmlWorkflowItem wfItem) |
void |
ClaimAction.activate(Context context,
XmlWorkflowItem wfItem) |
void |
AutoAssignAction.activate(Context c,
XmlWorkflowItem wfItem) |
void |
AssignAction.activate(Context c,
XmlWorkflowItem wfItem) |
void |
AssignOriginalSubmitterAction.activate(Context c,
XmlWorkflowItem wf) |
void |
ClaimAction.alertUsersOnActivation(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
void |
AssignOriginalSubmitterAction.alertUsersOnActivation(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
ActionResult |
NoUserSelectionAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
InheritUsersAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
ClaimAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AutoAssignAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AssignAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
ActionResult |
AssignOriginalSubmitterAction.execute(Context c,
XmlWorkflowItem wfi,
Step step,
javax.servlet.http.HttpServletRequest request) |
boolean |
UserSelectionAction.isAuthorized(Context context,
javax.servlet.http.HttpServletRequest request,
XmlWorkflowItem wfi) |
abstract boolean |
UserSelectionAction.isFinished(XmlWorkflowItem wfi) |
boolean |
NoUserSelectionAction.isFinished(XmlWorkflowItem wfi) |
boolean |
InheritUsersAction.isFinished(XmlWorkflowItem wfi) |
boolean |
ClaimAction.isFinished(XmlWorkflowItem wfi) |
boolean |
AutoAssignAction.isFinished(XmlWorkflowItem wfi) |
boolean |
AssignAction.isFinished(XmlWorkflowItem wfi) |
boolean |
AssignOriginalSubmitterAction.isFinished(XmlWorkflowItem wfi) |
abstract boolean |
UserSelectionAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI)
Verifies if the user selection action is valid
User constraints will be checked (enough users, group exists, ...)
|
boolean |
NoUserSelectionAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI) |
boolean |
InheritUsersAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI) |
boolean |
ClaimAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI) |
boolean |
AutoAssignAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI) |
boolean |
AssignAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI) |
boolean |
AssignOriginalSubmitterAction.isValidUserSelection(Context context,
XmlWorkflowItem wfi,
boolean hasUI) |
abstract void |
UserSelectionAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers)
Should a person have the option to repool the task the tasks will have to be regenerated
|
void |
NoUserSelectionAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
void |
InheritUsersAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
void |
ClaimAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
void |
AutoAssignAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
void |
AssignAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
void |
AssignOriginalSubmitterAction.regenerateTasks(Context c,
XmlWorkflowItem wfi,
RoleMembers roleMembers) |
| Modifier and Type | Method and Description |
|---|---|
static XmlWorkflowItem |
XmlWorkflowItem.create(Context context) |
static XmlWorkflowItem |
XmlWorkflowItem.find(Context context,
int id)
Get a workflow item from the database.
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findAll(Context c)
return all workflowitems
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findAll(Context c,
int page,
int pagesize)
return all workflowitems for a certain page
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findAllInCollection(Context c,
int page,
int pagesize,
int collectionId)
return all workflowitems for a certain page with a certain collection
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findByCollection(Context context,
Collection c)
Get all workflow items for a particular collection.
|
static XmlWorkflowItem[] |
XmlWorkflowItem.findByEPerson(Context context,
EPerson ep) |
static XmlWorkflowItem |
XmlWorkflowItem.findByItem(Context context,
Item item)
Check to see if a particular item is currently under Workflow.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<ClaimedTask> |
ClaimedTask.find(Context c,
XmlWorkflowItem workflowItem) |
static java.util.List<PoolTask> |
PoolTask.find(Context context,
XmlWorkflowItem workflowItem) |
Copyright © 2013 DuraSpace. All Rights Reserved.