base
Class ConfigurationManager
java.lang.Object
base.ConfigurationManager
- All Implemented Interfaces:
- IXMLLoadable, IXMLSaveable
public class ConfigurationManager
- extends java.lang.Object
- implements IXMLSaveable, IXMLLoadable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debugMode
public static final boolean debugMode
- See Also:
- Constant Field Values
enableJDBS
public final boolean enableJDBS
- See Also:
- Constant Field Values
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
LICENSE_FILE
public static final java.lang.String LICENSE_FILE
- See Also:
- Constant Field Values
BACKUP_DETAILS_FILE
public static final java.lang.String BACKUP_DETAILS_FILE
- See Also:
- Constant Field Values
RESOURCES_DIRECTORY
public static final java.lang.String RESOURCES_DIRECTORY
CONFIGURATION_FILE
public static final java.lang.String CONFIGURATION_FILE
USER_LIST_HTML_FILE_NAME
public static java.lang.String USER_LIST_HTML_FILE_NAME
USER_LIST_CSS_FILE_NAME
public static java.lang.String USER_LIST_CSS_FILE_NAME
USER_LIST_XSL_FILE_NAME
public static java.lang.String USER_LIST_XSL_FILE_NAME
SESSION_LIST_HTML_FILE_NAME
public static java.lang.String SESSION_LIST_HTML_FILE_NAME
SESSION_LIST_CSS_FILE_NAME
public static java.lang.String SESSION_LIST_CSS_FILE_NAME
SESSION_LIST_XSL_FILE_NAME
public static java.lang.String SESSION_LIST_XSL_FILE_NAME
ConfigurationManager
public ConfigurationManager()
getInstance
public static ConfigurationManager getInstance()
fromXml
public java.lang.Object fromXml(org.w3c.dom.Document document)
- This method reads from an XML document various configuration parameters
for the Internet Cafe.
- Specified by:
fromXml in interface IXMLLoadable
- Parameters:
document - An XML document that contains a list of configuration
parameters for the Internet Cafe.
toXml
public org.w3c.dom.Node toXml(org.w3c.dom.Document document)
- This method writes to an XML document various configuration parameters of
the Internet Cafe.
- Specified by:
toXml in interface IXMLSaveable
- Parameters:
document - An XML document that will contain a list of configuration
parameters for the Internet Cafe.
getInternetCafeLogoPath
public java.lang.String getInternetCafeLogoPath()
- Returns:
- Returns the internetCafeLogoPath.
getInternetCafeName
public java.lang.String getInternetCafeName()
- Returns:
- Returns the internetCafeName.
setInternetCafeLogoPath
public void setInternetCafeLogoPath(java.lang.String internetCafeLogoPath)
- Parameters:
internetCafeLogoPath - The internetCafeLogoPath to set.
setInternetCafeName
public void setInternetCafeName(java.lang.String internetCafeName)
- Parameters:
internetCafeName - The internetCafeName to set.
getDataBasePath
public java.lang.String getDataBasePath()
- Returns:
- Returns the dataBasePath.
setDataBasePath
public void setDataBasePath(java.lang.String dataBasePath)
- Parameters:
dataBasePath - The dataBasePath to set.
getDocumentImageDirectoryPath
public java.lang.String getDocumentImageDirectoryPath()
- Returns:
- Returns the documentImageDirectoryPath.
setDocumentImageDirectoryPath
public void setDocumentImageDirectoryPath(java.lang.String documentImageDirectoryPath)
- Parameters:
documentImageDirectoryPath - The documentImageDirectoryPath to set.
getUserImageDirectoryPath
public java.lang.String getUserImageDirectoryPath()
- Returns:
- Returns the userImageDirectoryPath.
setUserImageDirectoryPath
public void setUserImageDirectoryPath(java.lang.String userImageDirectoryPath)
- Parameters:
userImageDirectoryPath - The userImageDirectoryPath to set.
isPasswordProtect
public boolean isPasswordProtect()
- Returns:
- Returns the passwordProtect.
setPasswordProtect
public void setPasswordProtect(boolean passwordProtect)
- Parameters:
passwordProtect - The passwordProtect to set.
isAutomaticPasswordProtected
public boolean isAutomaticPasswordProtected()
- Returns:
- Returns the automaticPasswordProtected.
setAutomaticPasswordProtect
public void setAutomaticPasswordProtect(boolean automaticPasswordProtected)
- Parameters:
automaticPasswordProtected - The automaticPasswordProtected to set.
getInternetCafeLookAndFeel
public java.lang.Class getInternetCafeLookAndFeel()
- Returns:
- Returns the internetCafeLookAndFeel.
setInternetCafeLookAndFeel
public void setInternetCafeLookAndFeel(java.lang.Class internetCafeLookAndFeel)
- Parameters:
internetCafeLookAndFeel - The internetCafeLookAndFeel to set.
getLogoutScheduleRate
public int getLogoutScheduleRate()
- Returns:
- Returns the logoutScheduleRate.
setLogoutScheduleRate
public void setLogoutScheduleRate(int logoutScheduleRate)
- Parameters:
logoutScheduleRate - The logoutScheduleRate to set.
getLastSeenUserWorking
public java.util.Date getLastSeenUserWorking()
- Returns:
- Returns the lastSeenUserWorking.
setLastSeenUserWorking
public void setLastSeenUserWorking(java.util.Date lastSeenUserWorking)
- Parameters:
lastSeenUserWorking - The lastSeenUserWorking to set.
getServerLoginDialog
public ServerLoginDialog getServerLoginDialog()
- Returns:
- Returns the serverLoginDialog.
isDisplayTipOfDay
public boolean isDisplayTipOfDay()
- Returns:
- Returns the displayTipOfDay.
setDisplayTipOfDay
public void setDisplayTipOfDay(boolean displayTipOfDay)
- Parameters:
displayTipOfDay - The displayTipOfDay to set.
getHtmlDirectoryPath
public java.lang.String getHtmlDirectoryPath()
- Returns:
- Returns the htmlDirectoryPath.
isJDBSEnabled
public boolean isJDBSEnabled()
- Returns:
- Returns the enableJDBS.
Copyright © 2006 SF.net. All Rights Reserved.