Package org.kie.kogito.usertask
Interface UserTaskInstance
public interface UserTaskInstance
-
Method Summary
Modifier and TypeMethodDescriptionaddAttachment(Attachment attachment) addComment(Comment comment) findAttachmentById(String attachmentId) findCommentById(String commentId) Returns admin groups that can administer this taskReturns admin users that can administer this taskReturns excluded users that cannot work on this taskgetId()Returns potential groups that can work on this taskReturns potential users that can work on this taskbooleanvoidinitialize(Map<String, Object> data, IdentityProvider identity) removeAttachment(Attachment oldAttachment) removeComment(Comment comment) voidsetActualOwner(String actualOwner) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtransition(String transitionId, Map<String, Object> data, IdentityProvider identityProvider) voidtrigger(UserTaskInstanceJobDescription userTaskInstanceJobDescription) updateAttachment(Attachment newAttachment) updateComment(Comment newComment)
-
Method Details
-
getId
String getId() -
getUserTask
UserTask getUserTask() -
getStatus
UserTaskState getStatus() -
getUserTaskId
String getUserTaskId() -
hasActualOwner
boolean hasActualOwner() -
setActualOwner
-
getActualOwner
String getActualOwner() -
initialize
-
transition
-
getExternalReferenceId
String getExternalReferenceId() -
getTaskName
String getTaskName() -
getTaskDescription
String getTaskDescription() -
getTaskPriority
String getTaskPriority() -
getMetadata
-
getOutputs
-
getInputs
-
getSlaDueDate
Date getSlaDueDate() -
setInput
-
setOutput
-
getPotentialUsers
Returns potential users that can work on this task- Returns:
- potential users
-
getPotentialGroups
Returns potential groups that can work on this task- Returns:
- potential groups
-
getAdminUsers
Returns admin users that can administer this task- Returns:
- admin users
-
getAdminGroups
Returns admin groups that can administer this task- Returns:
- admin groups
-
getExcludedUsers
Returns excluded users that cannot work on this task- Returns:
- excluded users
-
findAttachmentById
-
addAttachment
-
updateAttachment
-
removeAttachment
-
getAttachments
Collection<Attachment> getAttachments() -
findCommentById
-
addComment
-
updateComment
-
removeComment
-
getComments
Collection<Comment> getComments() -
trigger
-
getNotStartedDeadlines
Collection<DeadlineInfo<Notification>> getNotStartedDeadlines() -
getNotCompletedDeadlines
Collection<DeadlineInfo<Notification>> getNotCompletedDeadlines() -
getNotStartedReassignments
Collection<DeadlineInfo<Reassignment>> getNotStartedReassignments() -
getNotCompletedReassignments
Collection<DeadlineInfo<Reassignment>> getNotCompletedReassignments() -
startNotStartedDeadlines
void startNotStartedDeadlines() -
startNotCompletedDeadlines
void startNotCompletedDeadlines() -
startNotStartedReassignments
void startNotStartedReassignments() -
startNotCompletedReassignments
void startNotCompletedReassignments() -
stopNotStartedDeadlines
void stopNotStartedDeadlines() -
stopNotStartedReassignments
void stopNotStartedReassignments() -
stopNotCompletedDeadlines
void stopNotCompletedDeadlines() -
stopNotCompletedReassignments
void stopNotCompletedReassignments()
-