org.kuali.student.common.ui.server.gwt
Class ExportGwtRpcServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.kuali.student.common.ui.server.gwt.ExportGwtRpcServlet
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, Servlet, ServletConfig, GwtExportRpcService

public class ExportGwtRpcServlet
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements GwtExportRpcService

See Also:
Serialized Form

Field Summary
(package private)  Logger logger
           
private  ScreenReportProcessor reportProcessor
           
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
ExportGwtRpcServlet()
           
 
Method Summary
private  byte[] exportBasedOnDataModel(Data root, String templateName, String exportFormat, String reportTitle)
           
private  byte[] exportBasedOnView(List<ExportElement> exportElements, String templateName, String exportFormat, String reportTitle)
           
private  String getExportId()
           
 ScreenReportProcessor getReportProcessor()
           
 String reportExport(List<ExportElement> exportElements, Data root, String templateName, String exportFormat, String reportTitle)
           
 void setReportProcessor(ScreenReportProcessor reportProcessor)
           
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
 
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

final Logger logger

reportProcessor

private ScreenReportProcessor reportProcessor
Constructor Detail

ExportGwtRpcServlet

public ExportGwtRpcServlet()
Method Detail

getReportProcessor

public ScreenReportProcessor getReportProcessor()

setReportProcessor

public void setReportProcessor(ScreenReportProcessor reportProcessor)

reportExport

public String reportExport(List<ExportElement> exportElements,
                           Data root,
                           String templateName,
                           String exportFormat,
                           String reportTitle)
Specified by:
reportExport in interface GwtExportRpcService

exportBasedOnDataModel

private byte[] exportBasedOnDataModel(Data root,
                                      String templateName,
                                      String exportFormat,
                                      String reportTitle)

exportBasedOnView

private byte[] exportBasedOnView(List<ExportElement> exportElements,
                                 String templateName,
                                 String exportFormat,
                                 String reportTitle)

getExportId

private String getExportId()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.