Class SubjectSettings


  • public class SubjectSettings
    extends SubjectSettingsConfig
    Subject settings are session settings in web and non-web environments It covers rights, i18n settings and so on
    • Constructor Detail

      • SubjectSettings

        protected SubjectSettings()
        Do not use directly, use getInstance() instead, this class is expected to be only instantiated by JAXB as a singelton
    • Method Detail

      • isWasConfigured

        public boolean isWasConfigured()
        Returns:
        TRUE if this instance was configured by host project is is hollow instance
      • getSubjectFilterTypeByName

        public SubjectFilterType getSubjectFilterTypeByName​(java.lang.String type)
      • rightsInDbAvailable

        public static boolean rightsInDbAvailable()
      • getDataSourceName

        public java.lang.String getDataSourceName()
        Returns:
        name of DataSource to use or null if none defined in SubjectSettings/Jdbc/DataSource
      • getFilterType

        public java.lang.String getFilterType​(SubjectFilterType subjectFilterType)
        Parameters:
        subjectFilterType -
        Returns:
        filter type literal, which is either defined by filter type name or explicit type