@PermitAll public class UserTask extends BaseTodoTask implements com.whitestein.lsps.human.task.TodoTask
The content of the to-do will be a TodoEvaluationContent, the
application is expected to pass marshalled model instance state (see
ModelInstanceMarshaller.storeState(ModelInstance, com.whitestein.lsps.engine.state.MarshallerConfig)) when submitting
UserTask to-dos. When the to-do is submitted, the task will attach changes
done in the evaluation context and will merge them to the model instance
state.
ExecutableTask.Result| Constructor and Description |
|---|
UserTask() |
| 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 String |
getType(TaskContext context)
This method should return the todo-task type.
|
protected void |
processReply(TaskContext context,
Object data)
Process the data submitted by the user.
|
createTodo, escalate, getEscalationDate, getEscalationTimeout, getHumanHolderConverter, getIssuedTodo, getModelInstanceUtilsService, getModelProviderService, getPerformerHolderConverter, getPerformers, getTitle, getTodo, getTodoDao, getTodoId, getTodoImplementationType, processInput, removeTodo, resume, start, suspend, terminateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessInput, start, terminateescalate, getEscalationDateresume, suspendprotected String getType(TaskContext context)
BaseTodoTaskgetType in class BaseTodoTaskprotected Serializable createContent(TaskContext context)
BaseTodoTaskcreateContent in class BaseTodoTaskprotected Todo addTodo(TaskContext context, String type, Serializable content) throws ErrorException
BaseTodoTaskBaseTodoTask.createTodo(TaskContext, String, Serializable)) and adds the to-do
to the database.addTodo in class BaseTodoTaskErrorExceptionprotected void processReply(TaskContext context, Object data) throws ErrorException
BaseTodoTaskprocessReply in class BaseTodoTaskErrorExceptionCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.