public interface WGAutoApprovalCapableWorkflow extends WGWorkflow
ITEM_APPROVEDBY, ITEM_ARCHIVINGDATE, ITEM_COMMENT, ITEM_CURRENTLEVEL, ITEM_INITIATOR, ITEM_LEVELNAME, ITEM_PUBLISHINGDATE, ITEM_RELEASEDATE, ITEM_REPLACEMENT_REASON, ITEM_REVIEWERCOUNT, ITEM_REVIEWERS, ITEM_WFNAME, ITEM_WRITEACCESS, ROLE_ADMINISTRATOR, ROLE_APPROVER, ROLE_NONE
Modifier and Type | Method and Description |
---|---|
int |
getWorkflowLevelRole()
Returns the role of the current user on the current workflow level only.
|
boolean |
isAlreadyApprovedByUser()
Returns if the current user has already approved the current workflow
|
approve, archive, getWorkflowRole, initialize, isApprovableByUser, publish, reject, release
int getWorkflowLevelRole() throws WGAPIException
WGWorkflow.ROLE_APPROVER
or WGWorkflow.ROLE_NONE
WGAPIException
boolean isAlreadyApprovedByUser() throws WGAPIException
WGAPIException