psdi.webclient.system.controller

Class TableDownload

  • java.lang.Object
    • psdi.webclient.system.controller.TableDownload


  • public class TableDownload
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      TableDownload(javax.servlet.http.HttpServletRequest request, WebClientSession webClientSession, javax.servlet.http.HttpServletResponse response, java.lang.String type) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      javax.servlet.http.HttpServletResponse generatcsv()
      Creates a CSV file
      javax.servlet.http.HttpServletResponse generatexls()
      Creates an XLS file
      javax.servlet.http.HttpServletResponse generatexlsx()
      Creates an XLSX file
      void init()
      Initializes and fetches the data for the table.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TableDownload

        public TableDownload(javax.servlet.http.HttpServletRequest request,
                             WebClientSession webClientSession,
                             javax.servlet.http.HttpServletResponse response,
                             java.lang.String type)
    • Method Detail

      • init

        public void init()
                  throws java.rmi.RemoteException,
                         MXException
        Initializes and fetches the data for the table.
        Throws:
        MXException
        java.rmi.RemoteException
      • generatexls

        public javax.servlet.http.HttpServletResponse generatexls()
                                                           throws java.rmi.RemoteException,
                                                                  MXException
        Creates an XLS file
        Returns:
        response
        Throws:
        java.rmi.RemoteException
        MXException
      • generatexlsx

        public javax.servlet.http.HttpServletResponse generatexlsx()
                                                            throws java.rmi.RemoteException,
                                                                   MXException
        Creates an XLSX file
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException
      • generatcsv

        public javax.servlet.http.HttpServletResponse generatcsv()
                                                          throws java.rmi.RemoteException,
                                                                 MXException
        Creates a CSV file
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException