Interface DashletService
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
DashletServiceImpl
@RemoteServiceRelativePath("dashlet")
public interface DashletService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Dashlet Service. This service allows the
handling of dashlets.
- Since:
- 8.2.3
- Author:
- Marco Meschieri - LogicalDOC
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(long dashletId) get(long dashletId) Gets a dashletGets a dashletLoads all the dashlet definitionsvoidsave(GUIDashlet dashlet) Saves a dashletvoidsaveDashlets(GUIDashlet[] dashlets) Saves the dashlet definitionsvoidsaveUserDashlets(GUIDashlet[] dashlets) Saves the user's dashlet configuration
-
Method Details
-
save
Saves a dashlet- Parameters:
dashlet- the dashlet to save- Throws:
ServerException- an error happened in the server application
-
get
Gets a dashlet- Parameters:
dashletId- identifier of the dashlet- Returns:
- the dashlet retrieved by the server application
- Throws:
ServerException- an error happened in the server application
-
saveDashlets
Saves the dashlet definitions- Parameters:
dashlets- the dashlets to save- Throws:
ServerException- an error happened in the server application
-
loadDashlets
Loads all the dashlet definitions- Returns:
- all the dashlets
- Throws:
ServerException- an error happened in the server application
-
saveUserDashlets
Saves the user's dashlet configuration- Parameters:
dashlets- the dashlets to save- Throws:
ServerException- an error happened in the server application
-
get
Gets a dashlet- Parameters:
name- the name of the dashlet- Returns:
- the dashlet retrieved by the server application
- Throws:
ServerException- an error happened in the server application
-
delete
- Throws:
ServerException
-