public class WorkCaseService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WorkCaseService.WorkCaseMilestones |
Constructor and Description |
---|
WorkCaseService(org.kie.api.runtime.manager.RuntimeEngine runtimeEngine) |
Modifier and Type | Method and Description |
---|---|
void |
addApprover(long caseId,
String userId) |
void |
addConsultant(long caseId,
String userId) |
void |
addInformedPerson(long caseId,
String userId) |
void |
checkResolution(long caseId)
One of the accountable people will check the work solution.
|
void |
consultWith(long caseId,
String userId)
To plan the meeting.
|
long |
createWork(String name,
String goal,
String responsiblePerson) |
long |
createWork(String name,
String goal,
String responsiblePerson,
int timeout) |
String |
getRandomUserInTheRole(long pid,
String role) |
void |
informAbout(long caseId,
String message) |
void |
milestone(long caseId,
WorkCaseService.WorkCaseMilestones milestone) |
void |
prolongTimeoutTo(long caseId,
int timeout) |
public WorkCaseService(org.kie.api.runtime.manager.RuntimeEngine runtimeEngine)
public void addApprover(long caseId, String userId)
public void addConsultant(long caseId, String userId)
public void addInformedPerson(long caseId, String userId)
public void informAbout(long caseId, String message)
public void consultWith(long caseId, String userId)
public void checkResolution(long caseId)
public void milestone(long caseId, WorkCaseService.WorkCaseMilestones milestone)
public void prolongTimeoutTo(long caseId, int timeout)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.