@PermitAll public class CustomUIUserTask extends BaseTodoTask implements com.whitestein.lsps.human.task.TodoTask
ExecutableTask.Result
Constructor and Description |
---|
CustomUIUserTask() |
Modifier and Type | Method and Description |
---|---|
protected Todo |
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 Serializable |
createContent(TaskContext context)
This method should return the todo content, it is called when starting a todo-task.
|
protected com.whitestein.lsps.human.UIImplementationType |
getTodoImplementationType(Serializable content) |
protected String |
getType(TaskContext context)
This method should return the todo-task type.
|
createTodo, escalate, getEscalationDate, getEscalationTimeout, getHumanHolderConverter, getIssuedTodo, getModelInstanceUtilsService, getModelProviderService, getPerformerHolderConverter, getPerformers, getTitle, getTodo, getTodoDao, getTodoId, processInput, processReply, removeTodo, resume, start, suspend, terminate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processInput, start, terminate
escalate, getEscalationDate
resume, suspend
protected String getType(TaskContext context)
BaseTodoTask
getType
in class BaseTodoTask
protected com.whitestein.lsps.human.UIImplementationType getTodoImplementationType(Serializable content)
getTodoImplementationType
in class BaseTodoTask
protected Serializable createContent(TaskContext context)
BaseTodoTask
createContent
in class BaseTodoTask
protected Todo addTodo(TaskContext context, String type, Serializable content) throws ErrorException
BaseTodoTask
BaseTodoTask.createTodo(TaskContext, String, Serializable)
) and adds the to-do
to the database.addTodo
in class BaseTodoTask
ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.