|
||||||||||
| 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
public abstract class AbstractReportingApplication
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 Locale |
locale
User locale. |
protected com.liferay.portal.model.User |
user
Liferay user. |
| Constructor Summary | |
|---|---|
AbstractReportingApplication()
|
|
| Method Summary | |
|---|---|
void |
applicationInit()
Initializes the application context. |
void |
firstApplicationStartup()
This method should be overriden to implement a custom behavior on a first application startup. |
com.liferay.portal.model.User |
getLiferayUser()
Returns a liferay 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. |
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 |
|---|
close, 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.liferay.portal.model.User user
protected Locale locale
| Constructor Detail |
|---|
public AbstractReportingApplication()
| Method Detail |
|---|
public void applicationInit()
applicationInit in class eu.livotov.tpt.TPTApplicationprotected abstract void portletInit()
public 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 com.liferay.portal.model.User getLiferayUser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||