org.apertereports
Class ManagerApplication

java.lang.Object
  extended by com.vaadin.Application
      extended by eu.livotov.tpt.TPTApplication
          extended by org.apertereports.AbstractReportingApplication<ReportManagerComponent>
              extended by org.apertereports.ManagerApplication
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 ManagerApplication
extends AbstractReportingApplication<ReportManagerComponent>

This is the main report administration portlet.

A user can add new, modify or delete existing report templates from the application. The reports are displayed in a table, providing information about the name of the report, description and permissions whether to let users generate in the background or directly. It is also possible to disable a report so that is no longer available in the dashboards, but remains in the database.

To add a new report one needs to upload a JRXML Jasper template using the panel on the right of the table. Once the report is uploaded one can configure the permissions and generate a sample report for checking.

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
mainPanel, mainWindow
 
Constructor Summary
ManagerApplication()
           
 
Method Summary
 void portletInit()
          Initializes the portlet GUI.
protected  void reinitUserData(org.apertereports.common.users.User user)
          Reinitializes user data when the user is logged on or logged off.
 
Methods inherited from class org.apertereports.AbstractReportingApplication
applicationInit, close, firstApplicationStartup, getArLocale, getArUser, handleActionRequest, handleEventRequest, handleRenderRequest, handleResourceRequest, terminalError
 
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
 

Constructor Detail

ManagerApplication

public ManagerApplication()
Method Detail

portletInit

public void portletInit()
Initializes the portlet GUI.

Specified by:
portletInit in class AbstractReportingApplication<ReportManagerComponent>

reinitUserData

protected void reinitUserData(org.apertereports.common.users.User user)
Description copied from class: AbstractReportingApplication
Reinitializes user data when the user is logged on or logged off.

Specified by:
reinitUserData in class AbstractReportingApplication<ReportManagerComponent>
Parameters:
user - User, can be null when user is not logged


Copyright © 2011-2013. All Rights Reserved.