org.apertereports
Class DashboardPortletApplication

java.lang.Object
  extended by com.vaadin.Application
      extended by eu.livotov.tpt.TPTApplication
          extended by org.apertereports.AbstractReportingApplication
              extended by org.apertereports.DashboardPortletApplication
All Implemented Interfaces:
com.vaadin.service.ApplicationContext.TransactionListener, com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListener, com.vaadin.terminal.Terminal.ErrorListener, com.vaadin.terminal.URIHandler, Serializable

public class DashboardPortletApplication
extends AbstractReportingApplication

This portlet displays a dashboard based on an existing report from the database.

Each dashboard configuration is stored in portlet preferences. The means of configuration are available in the portlet EDIT mode.

It is possible to configure more than one dashboard in a single portlet, however it is not recommended for complex reports due to performance loss.

The dashboard display can be also configured to let users generate the currently shown report directly to a file with thumbnails. These are buttons shown above the generated report.

The generated report contents are cached inside the application and maintained by a single thread that keeps the track of the reports. Once the thread discovers a report is outdated it releases the resource. The next refresh of the page would launch the report generation process again.

See Also:
Serialized Form

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
 
Fields inherited from class org.apertereports.AbstractReportingApplication
locale, user
 
Constructor Summary
DashboardPortletApplication()
           
 
Method Summary
 void portletInit()
          Initializes the portlet GUI.
 
Methods inherited from class org.apertereports.AbstractReportingApplication
applicationInit, firstApplicationStartup, getLiferayUser, handleActionRequest, handleEventRequest, handleRenderRequest, handleResourceRequest, terminalError
 
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
 

Constructor Detail

DashboardPortletApplication

public DashboardPortletApplication()
Method Detail

portletInit

public void portletInit()
Initializes the portlet GUI.

Specified by:
portletInit in class AbstractReportingApplication


Copyright © 2011-2012. All Rights Reserved.