|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.sparkimpl.settings.local.LocalPreferences
Represents the LocalPreference Model for this system.
Constructor Summary | |
LocalPreferences()
Empty Constructor. |
Method Summary | |
void |
addFolder(java.lang.String folder)
Add an email folder for future parsing. |
java.lang.String |
getDefaultNickname()
|
java.lang.String |
getDownloadDir()
|
java.util.Collection |
getFolderList()
Returns a Collection of all Email folders. |
java.lang.String |
getHost()
|
java.util.Date |
getLastCheckForUpdates()
|
java.lang.String |
getPassword()
Returns the encoded password. |
java.lang.String |
getPort()
|
java.lang.String |
getProtocol()
|
java.lang.String |
getProxyPassword()
|
java.lang.String |
getProxyUsername()
|
java.lang.String |
getResource()
|
int |
getSecondIdleTime()
Returns the number of minutes to set to unavailable if the computer has no activity. |
java.lang.String |
getServer()
Returns the last Server accessed. |
int |
getTimeOut()
Return the smack timeout for requests. |
java.lang.String |
getUsername()
Returns the users username. |
java.lang.String |
getXmppHost()
|
int |
getXmppPort()
Returns the XMPP Port to communicate on. |
boolean |
isAutoLogin()
Return true if Auto Login is on. |
boolean |
isChatRoomNotificationsOff()
|
boolean |
isHideChatHistory()
|
boolean |
isHostAndPortConfigured()
|
boolean |
isIdleOn()
Return true if the IDLE feature is on. |
boolean |
isIndexing()
Returns true if indexing is turned on. |
boolean |
isNewInstall()
Return true if this is a fresh install. |
boolean |
isPrompted()
|
boolean |
isProxyEnabled()
|
boolean |
isSavePassword()
Return true if the password should be encoded and persisted. |
boolean |
isSpellCheckerDisable()
|
boolean |
isSSL()
Returns true to use SSL. |
boolean |
isStartedHidden()
|
boolean |
isTimeDisplayedInChat()
|
void |
setAutoLogin(boolean autoLogin)
Turn on or off Auto Login. |
void |
setChatRoomNotificationsOff(boolean chatRoomNotificationsOff)
|
void |
setDefaultNickname(java.lang.String defaultNickname)
|
void |
setDownloadDir(java.lang.String downloadDir)
|
void |
setHideChatHistory(boolean hideChatHistory)
|
void |
setHost(java.lang.String host)
|
void |
setHostAndPortConfigured(boolean hostAndPortConfigured)
|
void |
setIdleOn(boolean idleOn)
Set the IDLE feature on or off. |
void |
setIndexing(boolean indexing)
Set to true if indexing is turned on. |
void |
setLastCheckForUpdates(java.util.Date lastCheckForUpdates)
|
void |
setNewInstall(boolean newInstall)
Set if this is a fresh install. |
void |
setPassword(java.lang.String password)
Sets the encoded password. |
void |
setPort(java.lang.String port)
|
void |
setPrompted(boolean prompted)
|
void |
setProtocol(java.lang.String protocol)
|
void |
setProxyEnabled(boolean proxyEnabled)
|
void |
setProxyPassword(java.lang.String proxyPassword)
|
void |
setProxyUsername(java.lang.String proxyUsername)
|
void |
setResource(java.lang.String resource)
|
void |
setSavePassword(boolean savePassword)
Set to true to encode and save password. |
void |
setSecondIdleTime(int secondIdleTime)
Set the number of minutes to set to unavailable if the computer has no activity. |
void |
setServer(java.lang.String server)
Sets the last Server accessed. |
void |
setSpellCheckerDisable(boolean spellCheckerDisable)
|
void |
setSSL(boolean SSL)
Sets if the agent should use SSL for connecting. |
void |
setStartedHidden(boolean startedHidden)
|
void |
setTimeDisplayedInChat(boolean timeDisplayedInChat)
|
void |
setTimeOut(int timeOut)
Sets the smack timeout for requests. |
void |
setUsername(java.lang.String username)
Sets the Agents username. |
void |
setXmppHost(java.lang.String xmppHost)
|
void |
setXmppPort(int xmppPort)
Sets the XMPP Port to communicate on. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalPreferences()
Method Detail |
public int getXmppPort()
public void setXmppPort(int xmppPort)
xmppPort
- the XMPP Port to communicate on. Default is 5222.public int getTimeOut()
public void setTimeOut(int timeOut)
timeOut
- the smack timeout.public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the encoded password.public boolean isIdleOn()
public void setIdleOn(boolean idleOn)
idleOn
- true to turn idle on.public int getSecondIdleTime()
public void setSecondIdleTime(int secondIdleTime)
secondIdleTime
- the number of minutes.public boolean isAutoLogin()
public void setAutoLogin(boolean autoLogin)
autoLogin
- true if Auto Login should be on.public boolean isSavePassword()
public void setSavePassword(boolean savePassword)
savePassword
- true if the password should be saved.public void addFolder(java.lang.String folder)
folder
- folder to add.public java.util.Collection getFolderList()
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the agents username.public java.lang.String getServer()
public void setServer(java.lang.String server)
server
- the last Server accessed.public boolean isNewInstall()
public void setNewInstall(boolean newInstall)
newInstall
- true if this is a fresh install.public boolean isIndexing()
public void setIndexing(boolean indexing)
indexing
- true if indexing is turned on.public boolean isSSL()
public void setSSL(boolean SSL)
SSL
- true if we should be using SSL.public boolean isPrompted()
public void setPrompted(boolean prompted)
public java.lang.String getDownloadDir()
public void setDownloadDir(java.lang.String downloadDir)
public boolean isProxyEnabled()
public void setProxyEnabled(boolean proxyEnabled)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public java.lang.String getPort()
public void setPort(java.lang.String port)
public java.lang.String getProxyUsername()
public void setProxyUsername(java.lang.String proxyUsername)
public java.lang.String getProxyPassword()
public void setProxyPassword(java.lang.String proxyPassword)
public java.lang.String getProtocol()
public void setProtocol(java.lang.String protocol)
public java.lang.String getDefaultNickname()
public void setDefaultNickname(java.lang.String defaultNickname)
public java.util.Date getLastCheckForUpdates()
public void setLastCheckForUpdates(java.util.Date lastCheckForUpdates)
public java.lang.String getXmppHost()
public void setXmppHost(java.lang.String xmppHost)
public boolean isHostAndPortConfigured()
public void setHostAndPortConfigured(boolean hostAndPortConfigured)
public java.lang.String getResource()
public void setResource(java.lang.String resource)
public boolean isStartedHidden()
public void setStartedHidden(boolean startedHidden)
public boolean isTimeDisplayedInChat()
public void setTimeDisplayedInChat(boolean timeDisplayedInChat)
public boolean isSpellCheckerDisable()
public void setSpellCheckerDisable(boolean spellCheckerDisable)
public boolean isChatRoomNotificationsOff()
public void setChatRoomNotificationsOff(boolean chatRoomNotificationsOff)
public boolean isHideChatHistory()
public void setHideChatHistory(boolean hideChatHistory)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |