Class SQLSettings

  • All Implemented Interfaces:
    DriverSettings

    public class SQLSettings
    extends Object
    implements DriverSettings
    This class read the property file and keep it's values accessible via the get functions
    Version:
    1.0
    Author:
    tleroi
    • Field Detail

      • DATABASE_TABLE_NAME_MAX_LENGTH

        public static final int DATABASE_TABLE_NAME_MAX_LENGTH
        See Also:
        Constant Field Values
      • sqlDataSourceJNDIName

        protected String sqlDataSourceJNDIName
      • sqlUserTableName

        protected String sqlUserTableName
      • sqlGroupTableName

        protected String sqlGroupTableName
      • sqlUserGroupTableName

        protected String sqlUserGroupTableName
      • sqlUserSpecificIdColumnName

        protected String sqlUserSpecificIdColumnName
      • sqlUserLoginColumnName

        protected String sqlUserLoginColumnName
      • sqlUserFirstNameColumnName

        protected String sqlUserFirstNameColumnName
      • sqlUserLastNameColumnName

        protected String sqlUserLastNameColumnName
      • sqlUserEMailColumnName

        protected String sqlUserEMailColumnName
      • sqlUserPasswordColumnName

        protected String sqlUserPasswordColumnName
      • sqlUserPasswordValidColumnName

        protected String sqlUserPasswordValidColumnName
      • sqlGroupSpecificIdColumnName

        protected String sqlGroupSpecificIdColumnName
      • sqlGroupNameColumnName

        protected String sqlGroupNameColumnName
      • sqlGroupDescriptionColumnName

        protected String sqlGroupDescriptionColumnName
      • sqlGroupParentIdColumnName

        protected String sqlGroupParentIdColumnName
      • sqlUserGroupUIDColumnName

        protected String sqlUserGroupUIDColumnName
      • sqlUserGroupGIDColumnName

        protected String sqlUserGroupGIDColumnName
    • Constructor Detail

      • SQLSettings

        public SQLSettings()
    • Method Detail

      • initFromProperties

        public void initFromProperties​(org.silverpeas.kernel.bundle.SettingBundle rs)
        Performs initialization from a properties file. The optional properties are retrieve with getSureString.
        Specified by:
        initFromProperties in interface DriverSettings
        Parameters:
        rs - Properties resource file
      • getDataSourceJNDIName

        public String getDataSourceJNDIName()
      • getUserTableName

        public String getUserTableName()
      • getGroupTableName

        public String getGroupTableName()
      • getRelTableName

        public String getRelTableName()
      • getUserSpecificIdColumnName

        public String getUserSpecificIdColumnName()
      • getUserLoginColumnName

        public String getUserLoginColumnName()
      • getUserFirstNameColumnName

        public String getUserFirstNameColumnName()
      • getUserLastNameColumnName

        public String getUserLastNameColumnName()
      • getUserEMailColumnName

        public String getUserEMailColumnName()
      • getUserPasswordColumnName

        public String getUserPasswordColumnName()
      • getUserPasswordValidColumnName

        public String getUserPasswordValidColumnName()
      • isUserPasswordAvailable

        public boolean isUserPasswordAvailable()
      • isUserPasswordValidAvailable

        public boolean isUserPasswordValidAvailable()
      • getGroupSpecificIdColumnName

        public String getGroupSpecificIdColumnName()
      • getGroupNameColumnName

        public String getGroupNameColumnName()
      • getGroupDescriptionColumnName

        public String getGroupDescriptionColumnName()
      • getGroupParentIdColumnName

        public String getGroupParentIdColumnName()
      • getRelUIDColumnName

        public String getRelUIDColumnName()
      • getRelGIDColumnName

        public String getRelGIDColumnName()