|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.Application
eu.livotov.tpt.TPTApplication
org.apertereports.AbstractReportingApplication<T>
T - Type of main panelpublic abstract class AbstractReportingApplication<T extends com.vaadin.ui.Panel>
This is a stub abstract class for all application portlets. Extending classes
should initialize themselves by overriding portletInit().
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.vaadin.Application |
|---|
com.vaadin.Application.ApplicationError, com.vaadin.Application.CustomizedSystemMessages, com.vaadin.Application.SystemMessages, com.vaadin.Application.UserChangeEvent, com.vaadin.Application.UserChangeListener, com.vaadin.Application.WindowAttachEvent, com.vaadin.Application.WindowAttachListener, com.vaadin.Application.WindowDetachEvent, com.vaadin.Application.WindowDetachListener |
| Nested classes/interfaces inherited from interface com.vaadin.terminal.URIHandler |
|---|
com.vaadin.terminal.URIHandler.ErrorEvent |
| Field Summary | |
|---|---|
protected T |
mainPanel
Main panel |
protected com.vaadin.ui.Window |
mainWindow
Main window object |
| Constructor Summary | |
|---|---|
AbstractReportingApplication()
|
|
| Method Summary | |
|---|---|
void |
applicationInit()
Initializes the application context. |
void |
close()
|
void |
firstApplicationStartup()
This method should be overriden to implement a custom behavior on a first application startup. |
Locale |
getArLocale()
Returns application locale |
org.apertereports.common.users.User |
getArUser()
Returns the user of the last request |
void |
handleActionRequest(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
com.vaadin.ui.Window window)
Handles portlet action request however not used in the application. |
void |
handleEventRequest(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
com.vaadin.ui.Window window)
Handles portlet event request however not used in the application. |
void |
handleRenderRequest(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
com.vaadin.ui.Window window)
Provides information about user and the locale for the application. |
void |
handleResourceRequest(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
com.vaadin.ui.Window window)
Handles portlet resource request however not used in the application. |
protected abstract void |
portletInit()
Initializes the portlet GUI. |
protected abstract void |
reinitUserData(org.apertereports.common.users.User user)
Reinitializes user data when the user is logged on or logged off. |
void |
terminalError(com.vaadin.terminal.Terminal.ErrorEvent event)
Logs uncaught exceptions to logger and presents them to the user. |
| Methods inherited from class eu.livotov.tpt.TPTApplication |
|---|
getCurrentApplication, getSelf, init, invokeLater, setTheme, transactionEnd, transactionStart |
| Methods inherited from class com.vaadin.Application |
|---|
addListener, addListener, addListener, addResource, addWindow, getContext, getErrorHandler, getLocale, getLogoutURL, getMainWindow, getProperty, getPropertyNames, getRelativeLocation, getSystemMessages, getTheme, getURL, getUser, getVersion, getWindow, getWindows, handleURI, isRunning, removeListener, removeListener, removeListener, removeResource, removeWindow, setErrorHandler, setLocale, setLogoutURL, setMainWindow, setUser, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.vaadin.ui.Window mainWindow
protected T extends com.vaadin.ui.Panel mainPanel
| Constructor Detail |
|---|
public AbstractReportingApplication()
| Method Detail |
|---|
public void applicationInit()
applicationInit in class eu.livotov.tpt.TPTApplicationpublic void close()
close in class eu.livotov.tpt.TPTApplicationprotected abstract void portletInit()
protected abstract void reinitUserData(org.apertereports.common.users.User user)
user - User, can be null when user is not loggedpublic void firstApplicationStartup()
firstApplicationStartup in class eu.livotov.tpt.TPTApplicationpublic void terminalError(com.vaadin.terminal.Terminal.ErrorEvent event)
terminalError in interface com.vaadin.terminal.Terminal.ErrorListenerterminalError in class com.vaadin.Applicationevent - Error event
public void handleRenderRequest(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
com.vaadin.ui.Window window)
handleRenderRequest in interface com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListenerrequest - Render requestresponse - Render responsewindow - Vaadin window
public void handleActionRequest(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
com.vaadin.ui.Window window)
handleActionRequest in interface com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListenerrequest - Render requestresponse - Render responsewindow - Vaadin window
public void handleEventRequest(javax.portlet.EventRequest request,
javax.portlet.EventResponse response,
com.vaadin.ui.Window window)
handleEventRequest in interface com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListenerrequest - Render requestresponse - Render responsewindow - Vaadin window
public void handleResourceRequest(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
com.vaadin.ui.Window window)
handleResourceRequest in interface com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListenerrequest - Render requestresponse - Render responsewindow - Vaadin windowpublic org.apertereports.common.users.User getArUser()
public Locale getArLocale()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||