|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
com.filenet.wcm.toolkit.server.util.prefs.WcmBootstrapPrefs
This class provides access to the bootstrap.properties configuration file.
Field Summary |
Fields inherited from class java.util.Properties |
defaults |
Constructor Summary | |
WcmBootstrapPrefs()
Default constructor |
|
WcmBootstrapPrefs(java.util.Locale locale,
javax.servlet.ServletContext servletContext)
Instantiates a new object using config path |
|
WcmBootstrapPrefs(java.util.Locale locale,
java.lang.String filePath)
Instantiates a new object using complete file path |
|
WcmBootstrapPrefs(javax.servlet.ServletContext servletContext)
Instantiates a new object using config path |
|
WcmBootstrapPrefs(java.lang.String filePath)
Instantiates a new object using complete file path |
Method Summary | |
boolean |
getAcceptTokens()
Tells whether or not the framework should consume user tokens. |
boolean |
getAllowGuest()
Gets whether or not guests are allowed. |
java.lang.String |
getApplicationName()
Gets the preferred application string name. |
java.lang.String |
getBannerImageHeight()
Gets the height to display the banner in. |
java.lang.String |
getBannerImagePath()
Gets the location of the banner graphic. |
java.lang.String |
getBannerImageWidth()
Gets the width to display the banner in. |
int |
getComponentSortOrderOffset()
Returns the component sort order offset that is used to add new Component Relationship object. |
java.lang.String |
getConfigFilePath()
Deprecated. this will return null |
java.lang.String |
getCvlDisplayRangeMax()
Gets the range maximum for displaying CVL lists. |
java.lang.String |
getDocumentationServer()
Gets the URL of the documentation server. |
boolean |
getGenerateTokens()
Tells whether or not the framework should generate user tokens. |
java.lang.String |
getGuestPassword()
Gets the guest user password. |
java.lang.String |
getGuestUser()
Gets the guest user name. |
java.lang.String |
getInstallDir()
|
java.lang.String |
getIsraInterfaceServletURL()
|
java.lang.String |
getJavaHTTPPort()
Gets the direct HTTP port on the Java application server. |
int |
getMergeFileRefreshInterval()
|
java.lang.String |
getMergeFileVersionId()
|
java.lang.String |
getMergeFileVersionSeriesId()
|
java.lang.String |
getPrefsObjectStoreName()
Gets the object store id string name. |
boolean |
getPromptAddOnSend()
Tells whether or not outlook should add when a send is executed. |
boolean |
getSetContainmentNameOnAdd()
This setting determines containment name setting behavior when a document is added via Workplace or WebDAV. |
boolean |
getShowChoiceValue()
|
boolean |
getShowFolderInheritance()
Tells whether or not to display the Folder Inheritance Behavior settings in site preference. |
java.lang.String |
getSSLInfo()
Gets the SSL host:port value. |
int |
getTokenTimeoutInterval()
Get the value in minutes of the amount of time the token will be accepted from its creation. |
boolean |
getUseEnhancedTimeZoneDetection()
|
boolean |
isEProcessConfigured()
Returns a boolean that indicates whether eProcess is enabled or disabled. |
boolean |
isUsingLocalPreferences()
|
protected void |
loadDefaults()
Sets the bootstrap preference fields to their default values (null if not listed): Preference Name: "Workplace" Allow Guests: False Banner Path: images/web/common/Banner.gif Banner Width: 220 Banner Height: 45 eProcess Enabled: True |
void |
reload()
Loads the file and set up member variables. |
void |
reload(java.util.Locale locale)
Loads the file and set up member variables. |
void |
save()
Saves the file. |
void |
setAcceptTokens(boolean value)
Specify whether or not the framework should consume user tokens to attempt sign in using a request-supplied user token (WcmParameter.USER_TOKEN). |
void |
setAllowGuest(boolean allow)
Sets whether or not guest are allowed. |
void |
setApplicationName(java.lang.String appName)
Sets he preferred application string name. |
void |
setBannerImageHeight(int height)
Sets the height for the banner graphic. |
void |
setBannerImagePath(java.lang.String imagePath)
Sets the image URL of the banner graphic. |
void |
setBannerImageWidth(int width)
Sets the width for the banner graphic. |
void |
setDocumentationServer(java.lang.String url)
Sets the URL of the documentation server. |
void |
setGenerateTokens(boolean value)
Specify whether or not the framework should produce user tokens via the getUserToken op of setCredentials, or the ChangeApp controller event. |
void |
setGuestPassword(java.lang.String password)
Sets the guest user password. |
void |
setGuestUser(java.lang.String guestUserID)
Sets the guest user name. |
void |
setIsraInterfaceServletURL(java.lang.String israInterfaceServletURL)
|
void |
setJavaHTTPPort(java.lang.String port)
Sets the direct HTTP port on the Java application server. |
void |
setPrefsObjectStoreName(java.lang.String newObjectStoreName)
Sets the object store id string name. |
void |
setPromptAddOnSend(boolean value)
Tells whether or not outlook should add when a send is executed. |
void |
setSSLInfo(java.lang.String newSSLInfo)
Sets the SSL host:port value. |
void |
setTokenTimeoutInterval(int value)
Set the value in minutes of the amount of time the token will be accepted from its creation. |
void |
setUseEnhancedTimeZoneDetection(boolean value)
|
void |
store(java.io.OutputStream out,
java.lang.String header)
Sets the SSL host:port value. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WcmBootstrapPrefs()
public WcmBootstrapPrefs(java.util.Locale locale, java.lang.String filePath) throws java.io.IOException
locale
- the client localefilePath
- location of bootstrap file
java.io.IOException
- if any IO errors occurpublic WcmBootstrapPrefs(java.lang.String filePath) throws java.io.IOException
filePath
- location of bootstrap filepublic WcmBootstrapPrefs(java.util.Locale locale, javax.servlet.ServletContext servletContext) throws java.io.IOException
locale
- the client localeservletContext
- ServletContext of application
java.io.IOException
- if any IO errors occurpublic WcmBootstrapPrefs(javax.servlet.ServletContext servletContext) throws java.io.IOException
servletContext
- ServletContext of application
java.io.IOException
- if any IO errors occurMethod Detail |
public java.lang.String getInstallDir()
public boolean getGenerateTokens()
public void setGenerateTokens(boolean value)
value
- - boolean true or false.public java.lang.String getIsraInterfaceServletURL()
public void setIsraInterfaceServletURL(java.lang.String israInterfaceServletURL)
public boolean getUseEnhancedTimeZoneDetection()
public void setUseEnhancedTimeZoneDetection(boolean value)
public boolean getAcceptTokens()
public boolean getPromptAddOnSend()
public void setPromptAddOnSend(boolean value)
value
- - boolean true or false.public boolean getShowFolderInheritance()
public int getComponentSortOrderOffset()
public void setAcceptTokens(boolean value)
value
- - boolean true or false.public int getTokenTimeoutInterval()
public void setTokenTimeoutInterval(int value)
value
- - Number of minutes to set the timeout.public java.lang.String getSSLInfo()
public void setDocumentationServer(java.lang.String url)
url
- Stringpublic java.lang.String getDocumentationServer()
public java.lang.String getApplicationName()
public void setApplicationName(java.lang.String appName)
appName
- Stringpublic void setSSLInfo(java.lang.String newSSLInfo)
newSSLInfo
- valuepublic void setJavaHTTPPort(java.lang.String port)
port
- Stringpublic java.lang.String getJavaHTTPPort()
public java.lang.String getGuestUser()
public void setGuestUser(java.lang.String guestUserID)
guestUserID
- valuepublic java.lang.String getGuestPassword()
public void setGuestPassword(java.lang.String password)
password
- valuepublic boolean getAllowGuest()
public boolean isEProcessConfigured()
public java.lang.String getPrefsObjectStoreName()
public void setPrefsObjectStoreName(java.lang.String newObjectStoreName)
newObjectStoreName
- Stringpublic void setAllowGuest(boolean allow)
allow
- boolean valuepublic java.lang.String getBannerImagePath()
public void setBannerImagePath(java.lang.String imagePath)
imagePath
- public java.lang.String getBannerImageWidth()
public void setBannerImageWidth(int width)
width
- public java.lang.String getBannerImageHeight()
public void setBannerImageHeight(int height)
height
- public java.lang.String getMergeFileVersionId()
public java.lang.String getMergeFileVersionSeriesId()
public int getMergeFileRefreshInterval()
public boolean getShowChoiceValue()
public boolean getSetContainmentNameOnAdd()
public java.lang.String getCvlDisplayRangeMax()
public java.lang.String getConfigFilePath()
public boolean isUsingLocalPreferences()
protected void loadDefaults()
public void reload(java.util.Locale locale) throws java.io.IOException
locale
- client locale
java.io.IOException
- if any IO errors occurpublic void reload() throws java.io.IOException
java.io.IOException
- if any IO errors occurpublic void save() throws java.io.IOException
java.io.IOException
- if any IO errors occurpublic void store(java.io.OutputStream out, java.lang.String header) throws java.io.IOException
out
- header
-
java.io.IOException
- if any IO errors occur
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |