Class CalendarServiceImpl

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.services.CalendarService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class CalendarServiceImpl
    extends com.logicaldoc.web.service.AbstractRemoteService
    implements com.logicaldoc.gui.frontend.client.services.CalendarService
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.CalendarService

        com.logicaldoc.gui.frontend.client.services.CalendarService.Instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int countUserEvents​(String username, Date end)  
      void deleteEvent​(long eventId)  
      com.logicaldoc.gui.common.client.beans.GUICalendarEvent[] find​(Date startDate, Date endDate, Date deadLineFrom, Date deadLineTo, Integer frequency, String title, String type, String subtype, Integer status, Integer maxRecords)  
      com.logicaldoc.gui.common.client.beans.GUICalendarEvent getEvent​(long eventId)  
      void saveEvent​(com.logicaldoc.gui.common.client.beans.GUICalendarEvent guiEvent)  
      • Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

        getSerializationPolicy, init, processCall, processCall, processPost
      • Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        doPost
      • Methods inherited from class javax.servlet.http.HttpServlet

        service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Constructor Detail

      • CalendarServiceImpl

        public CalendarServiceImpl()
    • Method Detail

      • saveEvent

        public void saveEvent​(com.logicaldoc.gui.common.client.beans.GUICalendarEvent guiEvent)
                       throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        saveEvent in interface com.logicaldoc.gui.frontend.client.services.CalendarService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • getEvent

        public com.logicaldoc.gui.common.client.beans.GUICalendarEvent getEvent​(long eventId)
                                                                         throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        getEvent in interface com.logicaldoc.gui.frontend.client.services.CalendarService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • deleteEvent

        public void deleteEvent​(long eventId)
                         throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        deleteEvent in interface com.logicaldoc.gui.frontend.client.services.CalendarService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • find

        public com.logicaldoc.gui.common.client.beans.GUICalendarEvent[] find​(Date startDate,
                                                                              Date endDate,
                                                                              Date deadLineFrom,
                                                                              Date deadLineTo,
                                                                              Integer frequency,
                                                                              String title,
                                                                              String type,
                                                                              String subtype,
                                                                              Integer status,
                                                                              Integer maxRecords)
                                                                       throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        find in interface com.logicaldoc.gui.frontend.client.services.CalendarService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • countUserEvents

        public int countUserEvents​(String username,
                                   Date end)
                            throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        countUserEvents in interface com.logicaldoc.gui.frontend.client.services.CalendarService
        Throws:
        com.logicaldoc.gui.common.client.ServerException