public class LspsTodoHolder extends AbstractTodoHolder
LspsContextHolder which displays and handles the lifecycle of
a LSPS to-do.PARAM_NAVIGATION, PARAM_UIDEFINITION, taskContextId, todo, todoId, todoServiceLocalmodelInstanceUtilsService, modelProviderService, sharedRecordTypeFactory| Constructor and Description |
|---|
LspsTodoHolder(long todoId,
LspsAppConnector appConnector,
LspsFormConnector formConnector,
String userId,
boolean readOnly)
Creates context for the given to-do id.
|
| Modifier and Type | Method and Description |
|---|---|
protected ExecutionContext |
createEvaluationContext()
Creates the evaluation context.
|
RecordHolder |
createSavedStateHolder()
Returns a representation of the saved state in the model.
|
protected LspsScreen |
createScreen()
Creates the user interface.
|
RecordHolder |
getHistoryEntry(ExecutionContext context,
Map<String,Object> defaultValues)
Returns the navigation history entry for this todo.
|
String |
getTitle()
Returns the title for the form content.
|
Todo |
getTodo()
Returns the displayed to-do.
|
boolean |
isSaved()
Returns true if the state of the GUI was already saved before opening.
|
protected TodoList |
submitTodo() |
protected void |
updateApplicationData(ModelInstance modelInstance)
Updates the data available to the model through the
getApplicationData() function. |
addSaveMetadataToUploadedBinaryData, createStackTrace, getSubmitNavigationDefinition, isReadOnly, isUsingEvalLevels, save, submitcollectGarbage, deactivate, getAppConnector, getExecutionContext, getExecutionContext, getFormConnector, getHandle, getModelInstance, getScreen, getValueHolder, getValueHolderInLevel, invalidate, isClosureWithQuery, isValid, minimalModelInstanceCopy, performPersist, persist, reactivate, reloadContent, submitContextpublic LspsTodoHolder(long todoId,
LspsAppConnector appConnector,
LspsFormConnector formConnector,
String userId,
boolean readOnly)
throws LspsException
todoId - appConnector - formConnector - userId - readOnly - LspsExceptionprotected ExecutionContext createEvaluationContext() throws LspsException
LspsContextHolderLspsContextHolder.reloadContent().createEvaluationContext in class LspsContextHolderLspsExceptionprotected LspsScreen createScreen() throws LspsException
LspsContextHolderLspsContextHolder.reloadContent().createScreen in class LspsContextHolderLspsExceptionprotected TodoList submitTodo() throws LspsException
submitTodo in class AbstractTodoHolderLspsExceptionpublic boolean isSaved()
LspsContextHolderisSaved in class LspsContextHolderpublic RecordHolder createSavedStateHolder()
LspsContextHolderUISaveAction when the save action is going to be executed.createSavedStateHolder in class AbstractTodoHolderpublic RecordHolder getHistoryEntry(ExecutionContext context, Map<String,Object> defaultValues)
getHistoryEntry in class AbstractTodoHoldercontext - defaultValues - public String getTitle()
LspsContextHoldergetTitle in class AbstractTodoHolderpublic Todo getTodo()
getTodo in class AbstractTodoHolderprotected void updateApplicationData(ModelInstance modelInstance)
getApplicationData() function.updateApplicationData in class AbstractTodoHoldermodelInstance - Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.