Package | Description |
---|---|
com.whitestein.lsps.human.dao |
Data access object for storing and retrieving todo-related entities.
|
com.whitestein.lsps.human.dao.jpa | |
com.whitestein.lsps.human.entity |
Persistent entities for human-oriented tasks.
|
com.whitestein.lsps.human.task |
Implementations for the tasks in the LSPS standard library for human-oriented processes.
|
Modifier and Type | Method and Description |
---|---|
Todo |
TodoDao.getTodo(long todoId)
Returns the todo identified by the given
todoId argument. |
Todo |
TodoDao.getTodoAndLock(long todoId)
Returns the todo identified by the given
todoId argument and
locks it. |
Modifier and Type | Method and Description |
---|---|
QueryResult<Todo> |
TodoDao.findByCriteria(TodoCriteria criteria)
Returns todos which fulfill the given criteria.
|
QueryResult<Todo> |
TodoDao.getPersonalTodoList(Person person,
PagingCriteria criteria)
Returns
person 's personal todo list (all todos currently locked
by given person ), according to given paging criteria ,
sorted by todo priority and issued date. |
QueryResult<Todo> |
TodoDao.getTodoList(Person person,
TodoListCriteria criteria)
Returns
person 's todo list, according to given paging criteria. |
List<Todo> |
TodoDao.getTodoListForOrphanedCheck(Person person,
Set<RoleUnitName> removedRoles)
Returns list of todos for which a value "isOrphaned" must be recalculated.
|
Modifier and Type | Method and Description |
---|---|
void |
TodoDao.add(Todo todo)
Adds todo to the persistent store.
|
Collection<String> |
TodoDao.findAllOnBehalfOf(Todo todo,
Person person)
Returns the set ids of users on behalf of which the given person sees
the to-do in his to-do list.
|
List<TodoEscalation> |
TodoEscalationDao.getTodoEscalations(Todo todo)
Returns a list of all todo escalations.
|
void |
TodoDao.updateTodoAllocatedTo(Todo todo,
Person allocatedTo)
Updates todo's allocated-to field according to given
allocatedTo
person parameter. |
Modifier and Type | Method and Description |
---|---|
Todo |
JpaTodoDao.getTodo(long todoId) |
Todo |
JpaTodoDao.getTodoAndLock(long todoId) |
Modifier and Type | Method and Description |
---|---|
QueryResult<Todo> |
JpaTodoDao.findByCriteria(TodoCriteria criteria) |
QueryResult<Todo> |
JpaTodoDao.getPersonalTodoList(Person person,
PagingCriteria criteria) |
QueryResult<Todo> |
JpaTodoDao.getTodoList(Person person,
TodoListCriteria criteria) |
List<Todo> |
JpaTodoDao.getTodoListForOrphanedCheck(Person person,
Set<RoleUnitName> removedRoles) |
Modifier and Type | Method and Description |
---|---|
void |
JpaTodoDao.add(Todo todo) |
Collection<String> |
JpaTodoDao.findAllOnBehalfOf(Todo todo,
Person person) |
List<TodoEscalation> |
JpaTodoEscalationDao.getTodoEscalations(Todo todo) |
void |
JpaTodoDao.updateTodoAllocatedTo(Todo todo,
Person allocatedTo) |
Modifier and Type | Method and Description |
---|---|
Todo |
TodoRejection.getTodo()
Returns the todo.
|
Todo |
TodoPerformer.getTodo()
Returns the todo.
|
Todo |
TodoEscalation.getTodo() |
Constructor and Description |
---|
TodoEscalation(String reason,
Date escalationDate,
Todo todo)
Creates new todo escalation.
|
Modifier and Type | Method and Description |
---|---|
protected Todo |
UserTask.addTodo(TaskContext context,
String type,
Serializable content) |
protected Todo |
CustomUIUserTask.addTodo(TaskContext context,
String type,
Serializable content) |
protected Todo |
BaseTodoTask.addTodo(TaskContext context,
String type,
Serializable content)
Creates a to-do (calls
BaseTodoTask.createTodo(TaskContext, String, Serializable) ) and adds the to-do
to the database. |
protected Todo |
BaseTodoTask.createTodo(TaskContext context,
String type,
Serializable content)
Creates a to-do and sets initial values.
|
protected Todo |
BaseTodoTask.getTodo(TaskContext context)
Returns the todo.ui
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.