@Repository public class WorkItemStateDao extends AbstractWorkflowEngineDao
| Constructor and Description |
|---|
WorkItemStateDao() |
| Modifier and Type | Method and Description |
|---|---|
ee.telekom.workflow.facade.model.WorkItemState |
find(long woitRefNum,
boolean isInstanceActive) |
ee.telekom.workflow.facade.model.WorkItemState |
findActive(long woinRefNum,
int tokenId) |
List<ee.telekom.workflow.facade.model.WorkItemState> |
findActiveByRole(String role) |
List<ee.telekom.workflow.facade.model.WorkItemState> |
findActiveByRoleAndUser(String role,
String user) |
List<ee.telekom.workflow.facade.model.WorkItemState> |
findActiveByUser(String user) |
List<ee.telekom.workflow.facade.model.WorkItemState> |
findByWoinRefNum(long woinRefNum,
boolean isInstanceActive) |
Set<Long> |
findHasActiveHumanTask(List<Long> woinRefNums) |
Map<Long,Date> |
findNextActiveTimerDueDates(List<Long> woinRefNums) |
boolean |
updateDueDate(long woitRefNum,
Date dueDate,
WorkItemStatus expectedStatus) |
void |
updateStatusAndResultByInstanceAndSignal(long woinRefNum,
String signal,
WorkItemStatus newStatus,
WorkItemStatus expectedStatus,
String result) |
void |
updateStatusAndResultByLabel1AndSignal(String label1,
String signal,
WorkItemStatus newStatus,
WorkItemStatus expectedStatus,
String result) |
void |
updateStatusAndResultByLabelsAndSignal(String label1,
String label2,
String signal,
WorkItemStatus newStatus,
WorkItemStatus expectedStatus,
String result) |
void |
updateStatusAndResultByWorkItemAndSignal(long woitRefNum,
String signal,
WorkItemStatus newStatus,
WorkItemStatus expectedStatus,
String result) |
boolean |
updateUserName(long refNum,
WorkItemStatus expectedStatus,
String userName) |
getClusterName, getCreatedOrLastUpdatedBy, getNextSequenceValue, getSchema, setDataSourcegetDataSource, getJdbcTemplate, getNamedParameterJdbcTemplatepublic ee.telekom.workflow.facade.model.WorkItemState find(long woitRefNum,
boolean isInstanceActive)
public List<ee.telekom.workflow.facade.model.WorkItemState> findByWoinRefNum(long woinRefNum, boolean isInstanceActive)
public ee.telekom.workflow.facade.model.WorkItemState findActive(long woinRefNum,
int tokenId)
public List<ee.telekom.workflow.facade.model.WorkItemState> findActiveByRole(String role)
public List<ee.telekom.workflow.facade.model.WorkItemState> findActiveByUser(String user)
public List<ee.telekom.workflow.facade.model.WorkItemState> findActiveByRoleAndUser(String role, String user)
public void updateStatusAndResultByInstanceAndSignal(long woinRefNum,
String signal,
WorkItemStatus newStatus,
WorkItemStatus expectedStatus,
String result)
public void updateStatusAndResultByWorkItemAndSignal(long woitRefNum,
String signal,
WorkItemStatus newStatus,
WorkItemStatus expectedStatus,
String result)
public void updateStatusAndResultByLabel1AndSignal(String label1, String signal, WorkItemStatus newStatus, WorkItemStatus expectedStatus, String result)
public void updateStatusAndResultByLabelsAndSignal(String label1, String label2, String signal, WorkItemStatus newStatus, WorkItemStatus expectedStatus, String result)
public boolean updateDueDate(long woitRefNum,
Date dueDate,
WorkItemStatus expectedStatus)
public boolean updateUserName(long refNum,
WorkItemStatus expectedStatus,
String userName)
public Map<Long,Date> findNextActiveTimerDueDates(List<Long> woinRefNums)
Copyright © 2018. All rights reserved.