public interface LspsFormConnector extends Serializable
LspsContextHolder
so that the LSPS forms can make use of those services in
runtime.Modifier and Type | Interface and Description |
---|---|
static class |
LspsFormConnector.ProcessingResult
Bean representing the result of the last form processing.
|
static class |
LspsFormConnector.ValidationErrors
Contains validation errors.
|
Modifier and Type | Method and Description |
---|---|
void |
handleError(Throwable t)
This method is called when an exception is thrown during form processing.
|
void |
navigate(RecordHolder navigation,
boolean closeForm)
Opens the requested application page, replacing the given component.
|
void |
onProcessingEnd(LspsFormConnector.ProcessingResult status)
Called at the end of each form processing invocation.
|
void |
setContent(com.vaadin.ui.Component content)
Updates the form content.
|
void |
setTitle(String title)
Updates the title of the form.
|
void |
showNotification(com.vaadin.ui.Notification notif)
Displays a notification for this form.
|
void setContent(com.vaadin.ui.Component content)
content
- void setTitle(String title)
title
- void navigate(RecordHolder navigation, boolean closeForm)
LspsUrlFactory
instead).
If the navigation definition is null, default view should be shown.
If closeForm is true, the current form is not valid anymore and it should
be closed.navigation
- navigation definition, may be nullcloseForm
- true if this form should be closedvoid onProcessingEnd(LspsFormConnector.ProcessingResult status)
status
- void showNotification(com.vaadin.ui.Notification notif)
notif
- void handleError(Throwable t)
t
- Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.