Package com.logicaldoc.calendar
Class CalendarServiceImpl
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
- com.google.gwt.user.server.rpc.RemoteServiceServlet
-
- com.logicaldoc.calendar.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.google.gwt.user.server.rpc.RemoteServiceServlet implements com.logicaldoc.gui.frontend.client.services.CalendarService
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CalendarServiceImpl()
-
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
-
-
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.CalendarService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
-