Interface CalendarService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("calendar")
public interface CalendarService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Calendar Service. This service allows the
 handling of calendar events.
- Since:
- 6.7
- Author:
- Marco Meschieri - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionintcountUserEvents(String username, Date end) Counts the number of events that start from now until a given datevoiddeleteEvent(long eventId, boolean alertCancelation) Deletes an event.find(GUICalendarEventSearchCriteria criteria) Searches for eventsgetEvent(long eventId) Gets an eventvoidsaveEvent(GUICalendarEvent event) Saves an event into the calendar
- 
Method Details- 
saveEventSaves an event into the calendar- Parameters:
- event- the event to save
- Throws:
- ServerException- an error happened in the server application
 
- 
getEventGets an event- Parameters:
- eventId- identifier of the event
- Returns:
- the calendar event
- Throws:
- ServerException- an error happened in the server application
 
- 
findSearches for events- Parameters:
- criteria- the search criteria
- Returns:
- The list of events ordered by ascending date
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteEventDeletes an event. If the event is a master, in any case all the occurrences will be deleted too- Parameters:
- eventId- identifier of the event
- alertCancelation- flat to alert attendees about the cancelation
- Throws:
- ServerException- an error happened in the server application
 
- 
countUserEventsCounts the number of events that start from now until a given date- Parameters:
- username- The user to be processed
- end- The and date
- Returns:
- The number of found events
- Throws:
- ServerException- an error happened in the server application
 
 
-