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 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: CalendarService
      Saves a calendar event
      Specified by:
      save in interface CalendarService
      Parameters:
      sid - The session identifier
      wsEvent - The event to save
      Returns:
      The created event
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException - The user has not been authenticated
      com.logicaldoc.webservice.WebserviceException - Error in the webservice
      com.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: CalendarService
      Retrieves a calendar event
      Specified by:
      get in interface CalendarService
      Parameters:
      sid - The session identifier
      eventId - Identifier of the event
      Returns:
      The retrieved event
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the data layer
      com.logicaldoc.core.security.authentication.AuthenticationException - The user has not been authenticated
      com.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: CalendarService
      Searches the events related to the current user
      Specified by:
      find in interface CalendarService
      Parameters:
      sid - The session identifier
      startFrom - lower limit for the start date
      startTo - upper limit for the start date
      title - title of the event
      initialize - if the events must be fully initialized
      Returns:
      the list of found events
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException
      com.logicaldoc.webservice.WebserviceException
      com.logicaldoc.core.PersistenceException