Class SoapCalendarService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.calendar.webservice.soap.endpoint.SoapCalendarService
- All Implemented Interfaces:
CalendarService
public class SoapCalendarService
extends com.logicaldoc.webservice.AbstractService
implements CalendarService
Document Web Service Implementation (SOAP)
- Since:
- 5.2
- Author:
- Matteo Caruso - LogicalDOC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSearches the events related to the current userRetrieves a calendar eventSaves a calendar eventMethods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
-
Constructor Details
-
SoapCalendarService
public SoapCalendarService()
-
-
Method Details
-
save
public WSEvent save(String sid, WSEvent wsEvent) 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 identifierwsEvent- 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.PersistenceException, com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException 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.PersistenceException- Error in the data layercom.logicaldoc.core.security.authentication.AuthenticationException- The user has not been authenticatedcom.logicaldoc.webservice.WebserviceException- Error in the webservice
-
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
-