public interface RemoteCalendarService
| Modifier and Type | Method and Description |
|---|---|
InputStream |
connectToRemoteServer(RemoteCalendar remoteCalendar)
Connect to remote server
|
RemoteCalendar |
getRemoteCalendar(String url,
String type,
String remoteUser,
String remotePassword)
Read calendar information(name, description,...) from url.
|
Calendar |
importRemoteCalendar(RemoteCalendar remoteCalendar)
Import iCalendar to local eXo Calendar
|
boolean |
isValidRemoteUrl(String url,
String type,
String remoteUser,
String remotePassword)
Check if the remote url is valid, in 2 cases of iCalendar url or CalDav url, with authentication
|
Calendar |
refreshRemoteCalendar(String username,
String remoteCalendarId)
Reload remote calendar
|
boolean isValidRemoteUrl(String url, String type, String remoteUser, String remotePassword) throws IOException, UnsupportedOperationException
url - the remote urltype - the type of remote calendar, iCalendar or CalDavremoteUser - the remote username used to authenticateremotePassword - the remote password used to authenticateIOExceptionUnsupportedOperationExceptionInputStream connectToRemoteServer(RemoteCalendar remoteCalendar) throws Exception
remoteCalendar - the remote calendarExceptionCalendar importRemoteCalendar(RemoteCalendar remoteCalendar) throws Exception
remoteCalendar - object content all properties for remote calendar.ExceptionCalendar refreshRemoteCalendar(String username, String remoteCalendarId) throws Exception
username - remoteCalendarId - ExceptionRemoteCalendar getRemoteCalendar(String url, String type, String remoteUser, String remotePassword) throws Exception
url - url to the calendar datatype - type of the calendarremoteUser - usernameremotePassword - passwordExceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.