|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RemoteCalendarService
Created by The eXo Platform SAS Author : khiem.dohoang khiem.dohoang@exoplatform.com Jan 10, 2011
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
boolean isValidRemoteUrl(String url,
String type,
String remoteUser,
String remotePassword)
throws IOException,
UnsupportedOperationException
url - the remote urltype - the type of remote calendar, iCalendar or CalDavusername - the remote username used to authenticatepassword - the remote password used to authenticate
Exception
IOException
UnsupportedOperationException
InputStream connectToRemoteServer(RemoteCalendar remoteCalendar)
throws Exception
remoteUrl - the remote urlremoteType - the remote type, iCalendar or CalDavremoteUser - remote username to authenticateremotePassword - remote password to authenticate
Exception
Calendar importRemoteCalendar(RemoteCalendar remoteCalendar)
throws Exception
remoteCalendar - object content all properties for remote calendar.
Exception
Calendar refreshRemoteCalendar(String username,
String remoteCalendarId)
throws Exception
username - remoteCalendarId -
Exception
RemoteCalendar getRemoteCalendar(String url,
String type,
String remoteUser,
String remotePassword)
throws Exception
url - url to the calendar datatype - type of the calendarremoteUser - usernameremotePassword - password
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||