Package com.microstrategy.web.objects
Class WebLinkConfigurationCache
- java.lang.Object
 - 
- com.microstrategy.web.objects.WebLinkConfigurationCache
 
 
- 
public class WebLinkConfigurationCache extends java.lang.Object- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_LOCALE_DATE_NUMBERstatic java.lang.StringPROPERTY_LOCALE_INTERFACEstatic java.lang.StringPROPERTY_LOCALE_MDstatic java.lang.StringPROPERTY_LOCALE_MESSAGESstatic java.lang.StringPROPERTY_LOCALE_WHDstatic java.lang.StringPROPERTY_SET_WEB_PREFERENCESstatic java.lang.StringPROPERTY_WEB_PREFERENCE_VALUES 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WebPropertyGroupgetConfigurationProperties(WebIServerSession session)Returns the properties of the configuration objectstatic WebLinkConfigurationCachegetInstance()returns a singleton object representing this cache NOTE: This cache instance should not be used by any classes other than the ones defined in the com.microstrategy.web.app or com.microstrategy.web.app.utils package An UnsupportedOperationException will be thrown for all other clients There is no guarantee for the support of this class and this might be deprecated in the futureWebLinkItemgetProjectItem(WebIServerSession session)Returns aWebLinkItemfor the specific project that this session correspons toWebLinkItemgetProjectItem(WebIServerSession session, java.lang.String projectName)java.lang.String[]getStopWords(WebIServerSession iServerSession)Returns Quick Search stop wordsWebLinkItemgetUserItem(WebIServerSession session)Returns aWebLinkItemfor the specific user that this session correspons toWebLinkItemgetUserProjectItem(WebIServerSession session)Returns aWebLinkItemfor the specific user and project that this session corresponds toWebLinkItemgetUserProjectItem(WebIServerSession session, java.lang.String projectName)Returns aWebLinkItemfor the specific user and explicitly specified projectprotected WebObjectInfoloadConfigurationObject(WebIServerSession iServerSession)WebObjectInfoloadStopWords(WebIServerSession iServerSession) 
 - 
 
- 
- 
Field Detail
- 
PROPERTY_SET_WEB_PREFERENCES
public static final java.lang.String PROPERTY_SET_WEB_PREFERENCES
- See Also:
 - Constant Field Values
 
 
- 
PROPERTY_WEB_PREFERENCE_VALUES
public static final java.lang.String PROPERTY_WEB_PREFERENCE_VALUES
- See Also:
 - Constant Field Values
 
 
- 
PROPERTY_LOCALE_MD
public static final java.lang.String PROPERTY_LOCALE_MD
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
PROPERTY_LOCALE_WHD
public static final java.lang.String PROPERTY_LOCALE_WHD
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
PROPERTY_LOCALE_MESSAGES
public static final java.lang.String PROPERTY_LOCALE_MESSAGES
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
PROPERTY_LOCALE_DATE_NUMBER
public static final java.lang.String PROPERTY_LOCALE_DATE_NUMBER
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
PROPERTY_LOCALE_INTERFACE
public static final java.lang.String PROPERTY_LOCALE_INTERFACE
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getInstance
public static WebLinkConfigurationCache getInstance()
returns a singleton object representing this cache NOTE: This cache instance should not be used by any classes other than the ones defined in the com.microstrategy.web.app or com.microstrategy.web.app.utils package An UnsupportedOperationException will be thrown for all other clients There is no guarantee for the support of this class and this might be deprecated in the future- Returns:
 - singleton instance of this object
 
 
- 
getConfigurationProperties
public WebPropertyGroup getConfigurationProperties(WebIServerSession session) throws WebObjectsException
Returns the properties of the configuration object- Parameters:
 session- TheWebIServerSessionfor which the configuration object is to be read- Returns:
 - the 
WebPropertyGroup - Throws:
 WebObjectsException
 
- 
loadStopWords
public WebObjectInfo loadStopWords(WebIServerSession iServerSession) throws CacheException
- Throws:
 CacheException
 
- 
getStopWords
public java.lang.String[] getStopWords(WebIServerSession iServerSession) throws CacheException
Returns Quick Search stop words- Parameters:
 iServerSession- a session for which stop words shall be returned- Returns:
 - Quick Search stop words
 - Throws:
 CacheException
 
- 
loadConfigurationObject
protected WebObjectInfo loadConfigurationObject(WebIServerSession iServerSession) throws CacheException
- Throws:
 CacheException
 
- 
getUserItem
public WebLinkItem getUserItem(WebIServerSession session) throws WebObjectsException
Returns aWebLinkItemfor the specific user that this session correspons to- Parameters:
 session-- Returns:
 - a 
WebLinkItemfor the specific user that this session correspons to - Throws:
 WebObjectsException
 
- 
getProjectItem
public WebLinkItem getProjectItem(WebIServerSession session) throws WebObjectsException
Returns aWebLinkItemfor the specific project that this session correspons to- Parameters:
 session-- Returns:
 - a 
WebLinkItemfor the specific project that this session correspons to - Throws:
 WebObjectsException
 
- 
getProjectItem
public WebLinkItem getProjectItem(WebIServerSession session, java.lang.String projectName) throws WebObjectsException
- Throws:
 WebObjectsException- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getUserProjectItem
public WebLinkItem getUserProjectItem(WebIServerSession session) throws WebObjectsException
Returns aWebLinkItemfor the specific user and project that this session corresponds to- Parameters:
 session-- Returns:
 - a 
WebLinkItemfor the specific user and project that this session corresponds to - Throws:
 WebObjectsException
 
- 
getUserProjectItem
public WebLinkItem getUserProjectItem(WebIServerSession session, java.lang.String projectName) throws WebObjectsException
Returns aWebLinkItemfor the specific user and explicitly specified project- Parameters:
 session-- Returns:
 - a 
WebLinkItemfor the specific user and project - Throws:
 WebObjectsException- Since:
 - MicroStrategy Web 8.0.0
 
 
 - 
 
 -