Package com.logicaldoc.web.service
Class MessageServiceImpl
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.jakarta.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.web.service.MessageServiceImpl
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService,- com.google.gwt.user.server.rpc.SerializationPolicyProvider,- MessageService,- jakarta.servlet.Servlet,- jakarta.servlet.ServletConfig,- Serializable
Implementation of the MessageService
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.MessageServiceMessageService.Instance
- 
Field SummaryFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeletes a list of MessagesvoiddeleteTemplates(String name) Deletes the templates with the given namevoiddeleteTemplates(List<Long> ids) Deletes a selection of templatesgetMessage(long messageId, boolean markAsRead) Gets the MessagegetTemplate(long templateId) Gets the templateloadTemplates(String language, String type) Loads the templates configured for a given language and typevoidsave(GUIMessage message, List<Long> recipientIds) voidsaveTemplates(List<GUIMessageTemplate> templates) Saves the given templatesMethods inherited from class com.logicaldoc.web.service.AbstractRemoteServicesetThreadRequestMethods inherited from class com.google.gwt.user.server.rpc.jakarta.RemoteServiceServletgetSerializationPolicy, init, processCall, processCall, processPostMethods inherited from class com.google.gwt.user.server.rpc.jakarta.AbstractRemoteServiceServletdoPostMethods inherited from class jakarta.servlet.http.HttpServletserviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
MessageServiceImplpublic MessageServiceImpl()
 
- 
- 
Method Details- 
deleteDescription copied from interface:MessageServiceDeletes a list of Messages- Specified by:
- deletein interface- MessageService
- Parameters:
- ids- identifiers of the messages
- Throws:
- ServerException- an error happened in the server application
 
- 
getMessageDescription copied from interface:MessageServiceGets the Message- Specified by:
- getMessagein interface- MessageService
- Parameters:
- messageId- identifier of the message
- markAsRead- flag to mark the message as read
- Returns:
- the message instance
- Throws:
- ServerException- an error happened in the server application
 
- 
save- Specified by:
- savein interface- MessageService
- Throws:
- ServerException
 
- 
loadTemplatesDescription copied from interface:MessageServiceLoads the templates configured for a given language and type- Specified by:
- loadTemplatesin interface- MessageService
- Parameters:
- language- the language of the template
- type- the type of the template
- Returns:
- the list of templates loaded by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
saveTemplatesDescription copied from interface:MessageServiceSaves the given templates- Specified by:
- saveTemplatesin interface- MessageService
- Parameters:
- templates- the templates to save
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteTemplatesDescription copied from interface:MessageServiceDeletes a selection of templates- Specified by:
- deleteTemplatesin interface- MessageService
- Parameters:
- ids- identifiers of the templates to delete
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteTemplatesDescription copied from interface:MessageServiceDeletes the templates with the given name- Specified by:
- deleteTemplatesin interface- MessageService
- Parameters:
- name- name of the templates to delete
- Throws:
- ServerException- an error happened in the server application
 
- 
getTemplateDescription copied from interface:MessageServiceGets the template- Specified by:
- getTemplatein interface- MessageService
- Parameters:
- templateId- identifier of the message template
- Returns:
- the template definition
- Throws:
- ServerException- an error happened in the server application
 
 
-