@RemoteServiceRelativePath(value="calendar")
public interface CalendarService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
int |
countUserEvents(String sid,
Date end)
Counts the number of events that start from now until a given date.
|
void |
deleteEvent(String sid,
long eventId)
Deletes an event.
|
GUICalendarEvent[] |
find(String sid,
Date startDate,
Date endDate,
Date expireFrom,
Date expireTo,
Integer frequency,
String title,
String type,
String subtype,
Integer status,
Integer maxRecords)
Searches for events.
|
GUICalendarEvent |
getEvent(String sid,
long eventId)
Gets an event
|
void |
saveEvent(String sid,
GUICalendarEvent event)
Saves an event
|
void saveEvent(String sid, GUICalendarEvent event) throws InvalidSessionException
InvalidSessionExceptionGUICalendarEvent getEvent(String sid, long eventId) throws InvalidSessionException
InvalidSessionExceptionGUICalendarEvent[] find(String sid, Date startDate, Date endDate, Date expireFrom, Date expireTo, Integer frequency, String title, String type, String subtype, Integer status, Integer maxRecords) throws InvalidSessionException
startDate - Start date (optional)endDate - End date (optional)expireFrom - (optional)expireTo - (optional)frequency - The frequency of the event (1,15, 30 ... optional)title - The title (used with like operator, optional)type - The type (used with like operator, optional)subtype - The subtype (used with like operator, optional)status - The title (used with like operator, optional)maxRecords - Maximum number of records (optional)InvalidSessionExceptionvoid deleteEvent(String sid, long eventId) throws InvalidSessionException
InvalidSessionExceptionint countUserEvents(String sid, Date end) throws InvalidSessionException
sid - The session identifierend - The and dateInvalidSessionExceptionCopyright © 2008-2014 Logical Objects. All Rights Reserved.