Class SoapCalendarClient
java.lang.Object
com.logicaldoc.webservice.soap.client.SoapClient<CalendarService>
com.logicaldoc.calendar.webservice.soap.client.SoapCalendarClient
- All Implemented Interfaces:
CalendarService
public class SoapCalendarClient
extends com.logicaldoc.webservice.soap.client.SoapClient<CalendarService>
implements CalendarService
Simple client for the Calendar webservice
- Since:
- 9.2.2
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
ConstructorsConstructorDescriptionSoapCalendarClient(String endpoint) SoapCalendarClient(String endpoint, int timeout) SoapCalendarClient(String endpoint, int gzipThreshold, boolean log, int timeout) -
Method Summary
Modifier and TypeMethodDescriptionSearches the events related to the current userRetrieves a calendar eventSaves a calendar event
-
Constructor Details
-
SoapCalendarClient
-
SoapCalendarClient
-
SoapCalendarClient
-
-
Method Details
-
save
public WSEvent save(String sid, WSEvent event) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:CalendarServiceSaves a calendar event- Specified by:
savein interfaceCalendarService- Parameters:
sid- The session identifierevent- The event to save- Returns:
- The created event
- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticatedcom.logicaldoc.webservice.WebserviceException- Error in the webservicecom.logicaldoc.core.PersistenceException- Error in the data layer
-
get
public WSEvent get(String sid, long eventId) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:CalendarServiceRetrieves a calendar event- Specified by:
getin interfaceCalendarService- Parameters:
sid- The session identifiereventId- Identifier of the event- Returns:
- The retrieved event
- Throws:
com.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticatedcom.logicaldoc.webservice.WebserviceException- Error in the webservicecom.logicaldoc.core.PersistenceException- Error in the data layer
-
find
public List<WSEvent> find(String sid, String startFrom, String startTo, String title, boolean initialize) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:CalendarServiceSearches the events related to the current user- Specified by:
findin interfaceCalendarService- Parameters:
sid- The session identifierstartFrom- lower limit for the start datestartTo- upper limit for the start datetitle- title of the eventinitialize- if the events must be fully initialized- Returns:
- the list of found events
- Throws:
com.logicaldoc.core.security.authentication.AuthenticationExceptioncom.logicaldoc.webservice.WebserviceExceptioncom.logicaldoc.core.PersistenceException
-