public class ExoStorageService extends Object implements Serializable
| Constructor and Description |
|---|
ExoStorageService(org.exoplatform.services.organization.OrganizationService organizationService,
org.exoplatform.calendar.service.CalendarService calendarService,
CorrespondenceService correspondenceService) |
| Modifier and Type | Method and Description |
|---|---|
List<org.exoplatform.calendar.service.CalendarEvent> |
createEvent(microsoft.exchange.webservices.data.Appointment appointment,
String username,
TimeZone timeZone)
Create non existing eXo Calendar Event.
|
List<org.exoplatform.calendar.service.CalendarEvent> |
createOrUpdateEvent(microsoft.exchange.webservices.data.Appointment appointment,
String username,
TimeZone timeZone)
Creates or updates eXo Calendar Event.
|
boolean |
deleteCalendar(String username,
String folderId)
Delete eXo Calendar.
|
void |
deleteEvent(String username,
org.exoplatform.calendar.service.CalendarEvent calendarEvent)
Deletes eXo Calendar Event.
|
void |
deleteEventByAppointmentID(String appointmentId,
String username)
Deletes eXo Calendar Event that corresponds to given appointment Id.
|
List<org.exoplatform.calendar.service.CalendarEvent> |
findExoEventsModifiedSince(String username,
org.exoplatform.calendar.service.Calendar calendar,
Date date) |
List<org.exoplatform.calendar.service.CalendarEvent> |
getAllExoEvents(String username,
org.exoplatform.calendar.service.Calendar calendar) |
org.exoplatform.calendar.service.CalendarEvent |
getEventByAppointmentId(String username,
String appointmentId) |
org.exoplatform.calendar.service.CalendarEvent |
getExoEventByNode(javax.jcr.Node eventNode) |
String |
getExoEventMasterRecurenceByOriginalUUID(String uuid) |
org.exoplatform.calendar.service.Calendar |
getOrCreateUserCalendar(String username,
microsoft.exchange.webservices.data.Folder folder)
Gets User Calendar identified by Exchange folder Id, or creates it if not
existing.
|
org.exoplatform.calendar.service.Calendar |
getUserCalendar(String username,
String folderId)
Gets User Calendar identified by Exchange folder Id.
|
org.exoplatform.calendar.service.Calendar |
getUserCalendar(String username,
String folderId,
boolean deleteIfCorrespondentExists)
Gets User Calendar identified by Exchange folder Id.
|
List<org.exoplatform.calendar.service.CalendarEvent> |
getUserCalendarEvents(String username,
String folderId)
Gets Events from User Calendar identified by Exchange folder Id.
|
List<org.exoplatform.calendar.service.CalendarEvent> |
updateEvent(microsoft.exchange.webservices.data.Appointment appointment,
String username,
TimeZone timeZone)
Updates existing eXo Calendar Event.
|
void |
updateModifiedDateOfEvent(String username,
org.exoplatform.calendar.service.CalendarEvent event) |
public ExoStorageService(org.exoplatform.services.organization.OrganizationService organizationService,
org.exoplatform.calendar.service.CalendarService calendarService,
CorrespondenceService correspondenceService)
public void deleteEventByAppointmentID(String appointmentId, String username) throws Exception
appointmentId - username - Exceptionpublic void deleteEvent(String username, org.exoplatform.calendar.service.CalendarEvent calendarEvent) throws Exception
username - calendarEvent - Exceptionpublic boolean deleteCalendar(String username, String folderId) throws Exception
username - folderId - Exceptionpublic org.exoplatform.calendar.service.Calendar getUserCalendar(String username, String folderId) throws Exception
username - folderId - Exceptionpublic org.exoplatform.calendar.service.Calendar getUserCalendar(String username, String folderId, boolean deleteIfCorrespondentExists) throws Exception
username - folderId - deleteIfCorrespondentExists - Exceptionpublic org.exoplatform.calendar.service.Calendar getOrCreateUserCalendar(String username, microsoft.exchange.webservices.data.Folder folder) throws Exception
username - folderId - Exceptionpublic List<org.exoplatform.calendar.service.CalendarEvent> getUserCalendarEvents(String username, String folderId) throws Exception
username - folderId - Exceptionpublic List<org.exoplatform.calendar.service.CalendarEvent> updateEvent(microsoft.exchange.webservices.data.Appointment appointment, String username, TimeZone timeZone) throws Exception
appointment - folder - username - timeZone - Exceptionpublic List<org.exoplatform.calendar.service.CalendarEvent> createEvent(microsoft.exchange.webservices.data.Appointment appointment, String username, TimeZone timeZone) throws Exception
appointment - folder - username - timeZone - Exceptionpublic List<org.exoplatform.calendar.service.CalendarEvent> createOrUpdateEvent(microsoft.exchange.webservices.data.Appointment appointment, String username, TimeZone timeZone) throws Exception
appointment - folder - username - timeZone - Exceptionpublic org.exoplatform.calendar.service.CalendarEvent getEventByAppointmentId(String username, String appointmentId) throws Exception
username - appointmentId - Exceptionpublic org.exoplatform.calendar.service.CalendarEvent getExoEventByNode(javax.jcr.Node eventNode)
throws Exception
eventNode - Exceptionpublic String getExoEventMasterRecurenceByOriginalUUID(String uuid) throws Exception
uuid - Exceptionpublic List<org.exoplatform.calendar.service.CalendarEvent> getAllExoEvents(String username, org.exoplatform.calendar.service.Calendar calendar) throws Exception
username - calendar - Exceptionpublic List<org.exoplatform.calendar.service.CalendarEvent> findExoEventsModifiedSince(String username, org.exoplatform.calendar.service.Calendar calendar, Date date) throws Exception
username - calendar - date - ExceptionCopyright © 2003-2014 eXo Platform SAS. All Rights Reserved.