Interface ReportService

  • All Superinterfaces:
    com.google.gwt.user.client.rpc.RemoteService

    @RemoteServiceRelativePath("report")
    public interface ReportService
    extends com.google.gwt.user.client.rpc.RemoteService
    The client side stub for the Report Service. This service gives all needed methods to handle reports.
    • Method Detail

      • delete

        void delete​(long id)
             throws ServerException
        Deletes a given report
        Parameters:
        id - identifier of the report to delete
        Throws:
        ServerException - an error happened in the server application
      • storeUploadedDesign

        void storeUploadedDesign​(long id)
                          throws ServerException
        Store the uploaded design file in the given report
        Parameters:
        id - identifier of the report
        Throws:
        ServerException - an error happened in the server application
      • getReport

        GUIReport getReport​(long id,
                            boolean withLog)
                     throws ServerException
        Loads a given report from the database
        Parameters:
        id - identifier of the records
        withLog - flag to ask for the logs
        Returns:
        the report retrieved by the server application
        Throws:
        ServerException - an error happened in the server application
      • getReportParameters

        GUIAttribute[] getReportParameters​(long id)
                                    throws ServerException
        Loads the attributes defined in the given report
        Parameters:
        id - identifiers of the report
        Returns:
        the parameters of the report
        Throws:
        ServerException - an error happened in the server application
      • changeStatus

        void changeStatus​(long id,
                          boolean enabled)
                   throws ServerException
        Changes a report enabled/disabled status
        Parameters:
        id - identifier of the report
        enabled - the new enabled status
        Throws:
        ServerException - an error happened in the server application
      • execute

        void execute​(long id,
                     GUIAttribute[] parameters)
              throws ServerException
        Processes a report
        Parameters:
        id - identifier of the report
        parameters - the values to be used in generating the report
        Throws:
        ServerException - an error happened in the server application