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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long dashletId) get
(long dashletId) Gets a dashletGets a dashletLoads all the dashlet definitionsvoid
save
(GUIDashlet dashlet) Saves a dashletvoid
saveDashlets
(List<GUIDashlet> dashlets) Saves the dashlet definitionsvoid
saveUserDashlets
(List<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
-