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.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeStatus
(long id, boolean enabled) Changes a report enabled/disabled statusCreates a new reportvoid
delete
(long id) Deletes a given reportvoid
execute
(long id, GUIAttribute[] parameters) Processes a reportgetReport
(long id, boolean withLog) Loads a given report from the databasegetReportParameters
(long id) Loads the attributes defined in the given reportLoads all the reportsUpdates a reportvoid
storeUploadedDesign
(long id) Store the uploaded design file in the given report
-
Method Details
-
delete
Deletes a given report- Parameters:
id
- identifier of the report to delete- Throws:
ServerException
- an error happened in the server application
-
save
Updates a report- Parameters:
report
- the report to save- Returns:
- the saved report
- Throws:
ServerException
- an error happened in the server application
-
storeUploadedDesign
Store the uploaded design file in the given report- Parameters:
id
- identifier of the report- Throws:
ServerException
- an error happened in the server application
-
create
Creates a new report- Parameters:
report
- the report to create- Returns:
- the just created report
- Throws:
ServerException
- an error happened in the server application
-
getReport
Loads a given report from the database- Parameters:
id
- identifier of the recordswithLog
- flag to ask for the logs- Returns:
- the report retrieved by the server application
- Throws:
ServerException
- an error happened in the server application
-
getReports
Loads all the reports- Returns:
- all the available reports
- Throws:
ServerException
- an error happened in the server application
-
getReportParameters
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
Changes a report enabled/disabled status- Parameters:
id
- identifier of the reportenabled
- the new enabled status- Throws:
ServerException
- an error happened in the server application
-
execute
Processes a report- Parameters:
id
- identifier of the reportparameters
- the values to be used in generating the report- Throws:
ServerException
- an error happened in the server application
-