public interface WorkflowService extends Service
Modifier and Type | Method and Description |
---|---|
com.saperion.connector.wf.WorkflowResult |
addComment(String taskId,
String comment)
Execute add comment.
|
com.saperion.connector.wf.WorkflowResult |
addHistory(String taskId,
String description)
Execute set history.
|
com.saperion.connector.wf.WorkflowResult |
executeActivate(String taskId)
Execute activate.
|
com.saperion.connector.wf.WorkflowResult |
executeApprove(String taskId,
String nextUser)
Execute delegate.
|
com.saperion.connector.wf.WorkflowResult |
executeAssignToMe(String taskId)
Execute AssignToMe.
|
com.saperion.connector.wf.WorkflowResult |
executeChangeOwner(String taskId,
String newOwner)
Execute change owner.
|
com.saperion.connector.wf.WorkflowResult |
executeCommand(WorkflowActionBean workflowAction)
Execute the given command.
|
com.saperion.connector.wf.WorkflowResult |
executeDelegate(String taskId,
String delegatee)
Execute delegate.
|
com.saperion.connector.wf.WorkflowResult |
executeEscalation(String taskId,
Date date)
Execute escalate.
|
com.saperion.connector.wf.WorkflowResult |
executeForward(String taskId,
String nextUser,
int transition)
Execute forward.
|
com.saperion.connector.wf.WorkflowResult |
executeHold(String taskId,
Date date)
Execute hold.
|
com.saperion.connector.wf.WorkflowResult |
executeInactivate(String taskId)
Execute inactivate.
|
com.saperion.connector.wf.WorkflowResult |
executeNotResponsible(String taskId,
String comment)
Execute not responsible.
|
com.saperion.connector.wf.WorkflowResult |
executePutBack(String taskId)
Execute putback.
|
com.saperion.connector.wf.WorkflowResult |
executeReassign(String taskId)
Execute reassign.
|
com.saperion.connector.wf.WorkflowResult |
executeReject(String taskId,
String nextUser)
Execute reject.
|
com.saperion.connector.wf.WorkflowResult |
executeRemove(String taskId,
String comment)
Execute remove.
|
com.saperion.connector.wf.WorkflowResult |
executeRemoveNotice(String taskId)
Execute remove notice.
|
com.saperion.connector.wf.WorkflowResult |
executeResetHold(String taskId)
Execute reset hold.
|
com.saperion.connector.wf.WorkflowResult |
executeRework(String taskId,
String nextUser)
Execute rework.
|
com.saperion.connector.wf.WorkflowResult |
executeSetActivity(String taskId,
int activity)
Execute set activity.
|
com.saperion.connector.wf.WorkflowResult |
executeTake(String taskId)
Execute take.
|
com.saperion.connector.wf.WorkflowResult |
executeTerminate(String taskId)
Execute terminate.
|
List<com.saperion.intf.wf.CommentInfo> |
getComments(com.saperion.intf.wf.TaskInfo task)
Retrieves the comments for the specified task.
|
List<String> |
getDefinitions()
Reads the available workflow definitions.
|
List<com.saperion.wf.ProcessDefinitionDescriptor> |
getDefinitions(String ddcName)
Reads the available workflow definitions for the specified DDC.
|
List<com.saperion.intf.wf.HistoryInfo[]> |
getDocHistories(String docHdoc)
Reads history information for a given document.
|
com.saperion.intf.wf.BoxDefinition |
getInboxDefinition()
Retrieves the definition of the current user's inbox.
|
com.saperion.intf.wf.WorkflowMember |
getMember(com.saperion.intf.wf.WorkflowMember member,
int depth,
String filter)
Reads direct workflow member.
|
com.saperion.intf.wf.WorkflowMember |
getMembers()
Reads workflow member.
|
String |
getSubstitute()
Gets the fullname of the substitute for workflows of the current user.
|
com.saperion.jcs.modules.users.api.User |
getSubstituteUser()
Gets the substitute-user for the current user.
|
com.saperion.connector.wf.SaWFTask |
getTask(String taskId)
Load the task object.
|
String |
getWfDisplayName(com.saperion.intf.wf.WorkflowMember member)
Retrieves the comments for the specified task.
|
boolean |
isWorkflowFeatureEnabled()
Checks if the workflow-feature is enabled.
|
com.saperion.connector.wf.WorkflowResult |
setComment(String taskId,
String comment)
Execute set comment.
|
void |
setSubstitute(String substituteFullname)
Sets the substitute for workflows.
|
com.saperion.connector.wf.WorkflowResult |
startWorkflow(String definition,
String actor,
String comment,
String attachmentUID)
Execute start workflow.
|
List<String> getDefinitions() throws AuthenticationException, SystemException, WorkflowException
WorkflowException
- workflow exceptionSystemException
- system exceptionAuthenticationException
- authentication exceptionList<com.saperion.wf.ProcessDefinitionDescriptor> getDefinitions(String ddcName) throws AuthenticationException, SystemException, WorkflowException
ddcName
- name of the DDCWorkflowException
- workflow exceptionSystemException
- system exceptionAuthenticationException
- authentication exceptioncom.saperion.intf.wf.WorkflowMember getMember(com.saperion.intf.wf.WorkflowMember member, int depth, String filter) throws WorkflowException, SystemException
member
- workflow member, witch direct children will be returneddepth
- depth of the returned children.filter
- filter stringWorkflowException
- workflow exceptionSystemException
- system exceptioncom.saperion.intf.wf.WorkflowMember getMembers() throws WorkflowException, SystemException
SystemException
- system exceptionWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeCommand(WorkflowActionBean workflowAction) throws WorkflowException
workflowAction
- Information needed for executing workflow commandWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeApprove(String taskId, String nextUser) throws WorkflowException
taskId
- Task IDnextUser
- Next userWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeForward(String taskId, String nextUser, int transition) throws WorkflowException
taskId
- Task IDnextUser
- Next usertransition
- TransitionWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeReject(String taskId, String nextUser) throws WorkflowException
taskId
- Task IDnextUser
- Next userWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeRework(String taskId, String nextUser) throws WorkflowException
taskId
- Task IDnextUser
- Next userWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeNotResponsible(String taskId, String comment) throws WorkflowException
taskId
- Task IDcomment
- CommentWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeTake(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeRemove(String taskId, String comment) throws WorkflowException
taskId
- Task IDcomment
- CommentWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeRemoveNotice(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeHold(String taskId, Date date) throws WorkflowException
taskId
- Task IDdate
- Hold dateWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeResetHold(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeEscalation(String taskId, Date date) throws WorkflowException
taskId
- Task IDdate
- Escalation dateWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeInactivate(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeActivate(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeTerminate(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeChangeOwner(String taskId, String newOwner) throws WorkflowException
taskId
- Task IDnewOwner
- New ownerWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeSetActivity(String taskId, int activity) throws WorkflowException
taskId
- Task IDactivity
- ActivityWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeDelegate(String taskId, String delegatee) throws WorkflowException
taskId
- Task IDdelegatee
- DelegateeWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeReassign(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executeAssignToMe(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult executePutBack(String taskId) throws WorkflowException
taskId
- Task IDWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult setComment(String taskId, String comment) throws WorkflowException
taskId
- Task IDcomment
- CommentWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult addComment(String taskId, String comment) throws WorkflowException
taskId
- Task IDcomment
- CommentWorkflowException
- workflow exceptioncom.saperion.connector.wf.WorkflowResult addHistory(String taskId, String description) throws WorkflowException, SystemException, AuthenticationException
taskId
- Task IDdescription
- DescriptionSystemException
- system exceptionWorkflowException
- workflow exceptionAuthenticationException
- authentication exceptioncom.saperion.connector.wf.WorkflowResult startWorkflow(String definition, String actor, String comment, String attachmentUID) throws WorkflowException
definition
- Definition nameactor
- Actorcomment
- CommentattachmentUID
- Attachment UIDWorkflowException
- workflow exceptioncom.saperion.connector.wf.SaWFTask getTask(String taskId) throws AuthenticationException, SystemException, WorkflowException
taskId
- task idWorkflowException
- workflow exceptionSystemException
- system exceptionAuthenticationException
- authentication exceptionList<com.saperion.intf.wf.HistoryInfo[]> getDocHistories(String docHdoc) throws WorkflowException
docHdoc
- document's hDocWorkflowException
- workflow exceptionList<com.saperion.intf.wf.CommentInfo> getComments(com.saperion.intf.wf.TaskInfo task) throws AuthenticationException, SystemException, WorkflowException
task
- taskAuthenticationException
- authentication exceptionSystemException
- system exceptionWorkflowException
- workflow exceptionString getWfDisplayName(com.saperion.intf.wf.WorkflowMember member)
member
- member to get display name forcom.saperion.intf.wf.BoxDefinition getInboxDefinition() throws AuthenticationException, SystemException
AuthenticationException
- authentication exceptionSystemException
- system exceptionboolean isWorkflowFeatureEnabled() throws SystemException
SystemException
- system exception when checking featureString getSubstitute() throws AuthenticationException, SystemException
AuthenticationException
- Authentication exceptionSystemException
- system exceptioncom.saperion.jcs.modules.users.api.User getSubstituteUser() throws AuthenticationException, SystemException
AuthenticationException
- authentication exceptionSystemException
- system exceptionvoid setSubstitute(String substituteFullname) throws AuthenticationException, SystemException
substituteFullname
- Fullname of the substitute to store.AuthenticationException
- Authentication exceptionSystemException
- system exceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.