public interface HumanFunctions
| Modifier and Type | Method and Description |
|---|---|
void |
allocateTodo(ExecutionContext context,
RecordHolder todo,
RecordHolder person)
Allocates the specified todo to the person.
|
void |
deleteSavedDocuments(ExecutionContext context,
SetHolder documents)
Deletes the specified saved documents.
|
RecordHolder |
getCurrentTodo(ExecutionContext context)
Returns the currently opened to-do.
|
SetHolder |
getTodoCurrentAssignees(ExecutionContext context,
RecordHolder todo)
Returns a set of persons the specified todo is currently issued (visible) to, taking into
account also delegation, rejection and substitution.
|
SetHolder |
getTodoIdsFor(ExecutionContext ctx,
RecordHolder person,
String titlePattern)
Returns a set of active todo ids assigned to the specified person according to the criteria.
|
SetHolder |
getTodoPerformers(ExecutionContext context,
RecordHolder todo)
Returns a set of the original performers of the specified todo, as given by the corresponding
task.
|
SetHolder |
getTodosFor(ExecutionContext context,
RecordHolder person)
Returns a set of active todos assigned to the specified person.
|
SetHolder |
getTodosFor(ExecutionContext context,
RecordHolder person,
Boolean includeAllocatedByOthers)
Returns a set of active todos assigned to the specified person.
|
SetHolder |
getTodosFor(ExecutionContext context,
RecordHolder person,
TodoListCriteria todoListCriteria)
Returns a set of active todos assigned to the specified person according to the criteria.
|
RecordHolder |
getTodoSubmitter(ExecutionContext context,
RecordHolder todo)
If the specified todo is in the "Accomplished" state, the function returns the person who
submitted that todo.
|
MapHolder |
getUIHistory(ExecutionContext context)
A function which returns UI history.
|
void |
persist(ExecutionContext ctx) |
void |
reassignTodo(ExecutionContext context,
RecordHolder todo,
SetHolder performers)
Changes the set of performers of the specified todo.
|
void |
rejectTodo(ExecutionContext context,
RecordHolder todo,
SetHolder persons,
String reason)
Reject todo for all specified persons.
|
void |
resetTodo(ExecutionContext ctx,
RecordHolder todo)
Reset state of the todo.
|
ListHolder |
submit(ExecutionContext ctx)
Submits a form that do not use evaluation levels:
Todo Form: Submits todos that do not use evaluation levels.
|
void |
unallocateTodo(ExecutionContext context,
RecordHolder todo)
Unallocates todo.
|
RecordHolder getTodoSubmitter(ExecutionContext context, RecordHolder todo) throws ErrorException
context - todo - ErrorExceptionSetHolder getTodoCurrentAssignees(ExecutionContext context, RecordHolder todo) throws ErrorException
context - todo - ErrorExceptionSetHolder getTodoPerformers(ExecutionContext context, RecordHolder todo) throws ErrorException
context - todo - ErrorExceptionSetHolder getTodosFor(ExecutionContext context, RecordHolder person, TodoListCriteria todoListCriteria) throws ErrorException
context - person - todoListCriteria - ErrorExceptionSetHolder getTodosFor(ExecutionContext context, RecordHolder person, Boolean includeAllocatedByOthers) throws ErrorException
context - person - includeAllocatedByOthers - ErrorExceptionSetHolder getTodosFor(ExecutionContext context, RecordHolder person) throws ErrorException
context - person - ErrorExceptionSetHolder getTodoIdsFor(ExecutionContext ctx, RecordHolder person, String titlePattern) throws ErrorException
ctx - person - titlePattern - ErrorExceptionvoid unallocateTodo(ExecutionContext context, RecordHolder todo) throws ErrorException
context - todo - ErrorExceptionvoid allocateTodo(ExecutionContext context, RecordHolder todo, RecordHolder person) throws ErrorException
context - todo - person - ErrorExceptionvoid reassignTodo(ExecutionContext context, RecordHolder todo, SetHolder performers) throws ErrorException
context - todo - performers - ErrorExceptionvoid deleteSavedDocuments(ExecutionContext context, SetHolder documents) throws ErrorException
context - documents - ErrorExceptionMapHolder getUIHistory(ExecutionContext context) throws ErrorException
context - ErrorExceptionRecordHolder getCurrentTodo(ExecutionContext context)
context - void resetTodo(ExecutionContext ctx, RecordHolder todo) throws ErrorException
ctx - todo - ErrorExceptionvoid rejectTodo(ExecutionContext context, RecordHolder todo, SetHolder persons, String reason)
context - todo - persons - reason - ListHolder submit(ExecutionContext ctx) throws ErrorException, OptimisticLockException
ctx - ErrorExceptionOptimisticLockExceptionvoid persist(ExecutionContext ctx) throws ErrorException
ErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.