com.stratelia.webactiv.agenda.model
Class CalendarImportSettings

java.lang.Object
  extended by com.stratelia.webactiv.agenda.model.CalendarImportSettings

public class CalendarImportSettings
extends Object


Field Summary
static int DEFAULT_DELAY
           
static int TYPE_NO_IMPORT
           
static int TYPE_NOTES_IMPORT
           
static int TYPE_OUTLOOK_IMPORT
           
 
Constructor Summary
CalendarImportSettings()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

CalendarImportSettings

public CalendarImportSettings()
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


Copyright © 2016 Silverpeas. All Rights Reserved.