Package com.logicaldoc.web.service
Class ContactServiceImpl
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.ContactServiceImpl
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService,- com.google.gwt.user.server.rpc.SerializationPolicyProvider,- ContactService,- Serializable,- javax.servlet.Servlet,- javax.servlet.ServletConfig
Implementation of the ContactService
- Since:
- 6.8
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.ContactServiceContactService.Instance
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete(long[] ids) Deletes a selection of contactsload(long id) Loads a contact from the databaseparseContacts(boolean preview, GUIParseContactsParameters parameters) Reads the contacts that are about to be imported from CSV filevoidsave(GUIContact contact) Saves a contact in the databasevoidshareContacts(long[] contactIds, long[] userIds, long[] groupIds) Shares contacts among a set of users and groupsMethods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServletgetSerializationPolicy, init, processCall, processCall, processPostMethods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServletdoPostMethods inherited from class javax.servlet.http.HttpServletserviceMethods inherited from class javax.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
ContactServiceImplpublic ContactServiceImpl()
 
- 
- 
Method Details- 
deleteDescription copied from interface:ContactServiceDeletes a selection of contacts- Specified by:
- deletein interface- ContactService
- Parameters:
- ids- identifiers of the contacts to delete
- Throws:
- ServerException- an error happened in the server application
 
- 
saveDescription copied from interface:ContactServiceSaves a contact in the database- Specified by:
- savein interface- ContactService
- Parameters:
- contact- the contact to save
- Throws:
- ServerException- an error happened in the server application
 
- 
loadDescription copied from interface:ContactServiceLoads a contact from the database- Specified by:
- loadin interface- ContactService
- Parameters:
- id- identifier of the contact
- Returns:
- the contact retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
parseContactspublic GUIContact[] parseContacts(boolean preview, GUIParseContactsParameters parameters) throws ServerException Description copied from interface:ContactServiceReads the contacts that are about to be imported from CSV file- Specified by:
- parseContactsin interface- ContactService
- Parameters:
- preview- if it is just to see the extraction, do not save
- parameters- the rules to interpret the CSV
- Returns:
- the extracted contacts
- Throws:
- ServerException- an error happened in the server application
 
 
-