Class 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 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 class SysPrefType
        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 class SysPrefType
        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 class SysPrefType
        Since:
        MicroStrategy Web 9.0.1
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class SysPrefType
        Since:
        MicroStrategy Web 9.0.1