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.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
public class DashletServiceImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements DashletService
The dashlet service for the operations on the dashlets done through the GUI.- Since:
 - 8.2.3
 - Author:
 - Marco Meschieri - LogicalDOC
 - See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.DashletService
DashletService.Instance 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DashletServiceImpl() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(long dashletId)GUIDashletget(long dashletId)Gets a dashletGUIDashletget(String name)Gets a dashletGUIDashlet[]loadDashlets()Loads all the dashlet definitionsvoidsave(GUIDashlet guiDashlet)Saves a dashletvoidsaveDashlets(GUIDashlet[] dashlets)Saves the dashlet definitionsvoidsaveUserDashlets(GUIDashlet[] dashlets)Saves the user's dashlet configuration- 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost 
 - 
 
 - 
 
- 
- 
Method Detail
- 
save
public void save(GUIDashlet guiDashlet) throws ServerException
Description copied from interface:DashletServiceSaves a dashlet- Specified by:
 savein interfaceDashletService- Parameters:
 guiDashlet- the dashlet to save- Throws:
 ServerException- an error happened in the server application
 
- 
saveDashlets
public void saveDashlets(GUIDashlet[] dashlets) throws ServerException
Description copied from interface:DashletServiceSaves the dashlet definitions- Specified by:
 saveDashletsin interfaceDashletService- Parameters:
 dashlets- the dashlets to save- Throws:
 ServerException- an error happened in the server application
 
- 
loadDashlets
public GUIDashlet[] loadDashlets() throws ServerException
Description copied from interface:DashletServiceLoads all the dashlet definitions- Specified by:
 loadDashletsin interfaceDashletService- Returns:
 - all the dashlets
 - Throws:
 ServerException- an error happened in the server application
 
- 
get
public GUIDashlet get(long dashletId) throws ServerException
Description copied from interface:DashletServiceGets a dashlet- Specified by:
 getin 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
public GUIDashlet get(String name) throws ServerException
Description copied from interface:DashletServiceGets a dashlet- Specified by:
 getin 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
public void delete(long dashletId) throws ServerException- Specified by:
 deletein interfaceDashletService- Throws:
 ServerException
 
- 
saveUserDashlets
public void saveUserDashlets(GUIDashlet[] dashlets) throws ServerException
Description copied from interface:DashletServiceSaves the user's dashlet configuration- Specified by:
 saveUserDashletsin interfaceDashletService- Parameters:
 dashlets- the dashlets to save- Throws:
 ServerException- an error happened in the server application
 
 - 
 
 -