Class SysDefaultPrefType
- java.lang.Object
-
- java.util.Observable
-
- com.microstrategy.web.preferences.SysPrefType
-
- com.microstrategy.web.preferences.SysDefaultPrefType
-
- All Implemented Interfaces:
CacheHint
public class SysDefaultPrefType extends SysPrefType
SysDefaultPrefType
manages the PreferenceLevel.SYSTEM definitions and PreferenceLevel.SERVER files for administrative preferences. This class extends SysPrefType to identify specific servers.Methods to set the server and project name have been removed in recent releases because this class can be used as a key, which should be immutable.
- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ADMIN_SYSTEM_DEFAULTS_FILE
-
Fields inherited from class com.microstrategy.web.preferences.SysPrefType
_filepath, _label, LABEL_DEFAULTS, USER_SYSTEM_DEFAULTS_FILE
-
Fields inherited from interface com.microstrategy.utils.cache.CacheHint
ZERO_STATE_ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getFilePath()
Retrieve the location of the file persisting this system level preference.java.lang.String
getHint()
An identifier associated with this class, and identifying itself in the cache.java.lang.String
getProjectDSSID()
java.lang.String
getProjectName()
java.lang.String
getServerName()
int
hashCode()
-
Methods inherited from class com.microstrategy.web.preferences.SysPrefType
getCacheStateId, getDefault, getDefault, getDefault, getDefault, getDefinition, getUnsessionedDefaults, setCacheStateId, setFilePath, toString
-
-
-
-
Field Detail
-
ADMIN_SYSTEM_DEFAULTS_FILE
protected static final java.lang.String ADMIN_SYSTEM_DEFAULTS_FILE
- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFilePath
public java.lang.String getFilePath()
Description copied from class:SysPrefType
Retrieve the location of the file persisting this system level preference.- Overrides:
getFilePath
in classSysPrefType
- Returns:
- path of the definitions file.
- See Also:
SysPrefType.getFilePath()
-
getHint
public java.lang.String getHint()
Description copied from class:SysPrefType
An identifier associated with this class, and identifying itself in the cache.- Overrides:
getHint
in classSysPrefType
- Returns:
- CacheHint identifier
- See Also:
SysPrefType.getHint()
-
getServerName
public java.lang.String getServerName()
- Returns:
- String name of the server.
-
getProjectName
public java.lang.String getProjectName()
- Since:
- MicroStrategy Web 7.5.3
-
getProjectDSSID
public java.lang.String getProjectDSSID()
- Since:
- MicroStrategy Web 9.0.0
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classSysPrefType
- Since:
- MicroStrategy Web 9.0.1
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSysPrefType
- Since:
- MicroStrategy Web 9.0.1
-
-