Class CalendarImportSettings
- java.lang.Object
-
- org.silverpeas.core.web.tools.agenda.model.CalendarImportSettings
-
public class CalendarImportSettings extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_DELAY
static int
TYPE_NO_IMPORT
static int
TYPE_NOTES_IMPORT
static int
TYPE_OUTLOOK_IMPORT
-
Constructor Summary
Constructors Constructor Description CalendarImportSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCharset()
String
getHostName()
String
getLoginIcalendar()
String
getPwdIcalendar()
int
getSynchroDelay()
int
getSynchroType()
String
getUrlIcalendar()
int
getUserId()
boolean
isOutlookSynchro(String host)
boolean
isSchynchro(String host)
void
setCharset(String charset)
void
setHostName(String hostName)
void
setLoginIcalendar(String login)
void
setPwdIcalendar(String pwd)
void
setSynchroDelay(int synchroDelay)
void
setSynchroType(int synchroType)
void
setUrlIcalendar(String url)
void
setUserId(int userId)
-
-
-
Field Detail
-
TYPE_NO_IMPORT
public static final int TYPE_NO_IMPORT
- See Also:
- Constant Field Values
-
TYPE_OUTLOOK_IMPORT
public static final int TYPE_OUTLOOK_IMPORT
- See Also:
- Constant Field Values
-
TYPE_NOTES_IMPORT
public static final int TYPE_NOTES_IMPORT
- See Also:
- Constant Field Values
-
DEFAULT_DELAY
public static final int DEFAULT_DELAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSchynchro
public boolean isSchynchro(String host)
-
isOutlookSynchro
public boolean isOutlookSynchro(String host)
-
getHostName
public String getHostName()
- Returns:
- Returns the hostName. Importation will only occur on this host
-
setHostName
public void setHostName(String hostName)
- Parameters:
hostName
- The hostName to set. Importation will only occur on this host
-
getSynchroDelay
public int getSynchroDelay()
- Returns:
- Returns the Delay in minutes between each synchronisation.
-
setSynchroDelay
public void setSynchroDelay(int synchroDelay)
- Parameters:
synchroDelay
- Delay in minutes between each synchronisation.
-
getSynchroType
public int getSynchroType()
- Returns:
- Returns the Synchronisation type : None, Outlook, Notes.
-
setSynchroType
public void setSynchroType(int synchroType)
- Parameters:
synchroType
- The Synchronisation type : None, Outlook, Notes.
-
getUserId
public int getUserId()
- Returns:
- Returns the Id of user whose settings belong to.
-
setUserId
public void setUserId(int userId)
- Parameters:
userId
- The Id of user whose settings belong to.
-
getUrlIcalendar
public String getUrlIcalendar()
- Returns:
- Returns the url to iCalendar
-
setUrlIcalendar
public void setUrlIcalendar(String url)
- Parameters:
userId
- The Id of user whose settings belong to.
-
getLoginIcalendar
public String getLoginIcalendar()
- Returns:
- Returns the login to remote iCalendar
-
setLoginIcalendar
public void setLoginIcalendar(String login)
- Parameters:
login
- The Pwd to remote iCalendar
-
getPwdIcalendar
public String getPwdIcalendar()
- Returns:
- Returns the login to remote iCalendar
-
setPwdIcalendar
public void setPwdIcalendar(String pwd)
- Parameters:
pwd
- The Pwd to remote iCalendar
-
getCharset
public String getCharset()
- Returns:
- Returns charset of remote iCalendar
-
setCharset
public void setCharset(String charset)
- Parameters:
charset
- to remote iCalendar
-
-