Interface CalendarService
- All Known Implementing Classes:
SoapCalendarClient,SoapCalendarService
public interface CalendarService
WebService to allow interaction with the user's calendar
- Since:
- 9.2.2
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionSearches the events related to the current userRetrieves a calendar eventSaves a calendar event
-
Method Details
-
save
WSEvent save(String sid, WSEvent event) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Saves a calendar event- Parameters:
sid- The session identifierevent- The event to save- Returns:
- The created event
- Throws:
com.logicaldoc.core.PersistenceException- Error in the data layercom.logicaldoc.webservice.WebserviceException- Error in the webservicecom.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticated
-
get
WSEvent get(String sid, long eventId) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Retrieves a calendar event- Parameters:
sid- The session identifiereventId- Identifier of the event- Returns:
- The retrieved event
- Throws:
com.logicaldoc.core.PersistenceException- Error in the data layercom.logicaldoc.webservice.WebserviceException- Error in the webservicecom.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticated
-
find
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 Searches the events related to the current user- 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
-