Package com.logicaldoc.web.service
Class DashletServiceImpl
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.web.service.DashletServiceImpl
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,DashletService
,Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
The dashlet service for the operations on the dashlets done through the GUI.
- Since:
- 8.2.3
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.DashletService
DashletService.Instance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long dashletId) get
(long dashletId) Gets a dashletGets a dashletLoads all the dashlet definitionsvoid
save
(GUIDashlet guiDashlet) Saves a dashletvoid
saveDashlets
(List<GUIDashlet> dashlets) Saves the dashlet definitionsvoid
saveUserDashlets
(List<GUIDashlet> dashlets) Saves the user's dashlet configurationMethods inherited from class com.logicaldoc.web.service.AbstractRemoteService
setThreadRequest
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost
Methods inherited from class javax.servlet.http.HttpServlet
service
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
DashletServiceImpl
public DashletServiceImpl()
-
-
Method Details
-
save
Description copied from interface:DashletService
Saves a dashlet- Specified by:
save
in interfaceDashletService
- Parameters:
guiDashlet
- the dashlet to save- Throws:
ServerException
- an error happened in the server application
-
saveDashlets
Description copied from interface:DashletService
Saves the dashlet definitions- Specified by:
saveDashlets
in interfaceDashletService
- Parameters:
dashlets
- the dashlets to save- Throws:
ServerException
- an error happened in the server application
-
loadDashlets
Description copied from interface:DashletService
Loads all the dashlet definitions- Specified by:
loadDashlets
in interfaceDashletService
- Returns:
- all the dashlets
- Throws:
ServerException
- an error happened in the server application
-
get
Description copied from interface:DashletService
Gets a dashlet- Specified by:
get
in interfaceDashletService
- Parameters:
dashletId
- identifier of the dashlet- Returns:
- the dashlet retrieved by the server application
- Throws:
ServerException
- an error happened in the server application
-
get
Description copied from interface:DashletService
Gets a dashlet- Specified by:
get
in interfaceDashletService
- 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
- Specified by:
delete
in interfaceDashletService
- Throws:
ServerException
-
saveUserDashlets
Description copied from interface:DashletService
Saves the user's dashlet configuration- Specified by:
saveUserDashlets
in interfaceDashletService
- Parameters:
dashlets
- the dashlets to save- Throws:
ServerException
- an error happened in the server application
-