gt:     String param = getSettings().getString("domain.looks", "");
context: /*
   * Copyright (C) 2000 - 2021 Silverpeas
   *
   * This program is free software: you can redistribute it and/or modify
   * it under the terms of the GNU Affero General Public License as
   * published by the Free Software Foundation, either version 3 of the
   * License, or (at your option) any later version.
   *
   * As a special exception to the terms and conditions of version 3.0 of
   * the GPL, you may redistribute this Program in connection with Free/Libre
   * Open Source Software ("FLOSS") applications as described in Silverpeas's
   * FLOSS exception.  You should have received a copy of the text describing
   * the FLOSS exception, and it is also available here:
   * "https://www.silverpeas.org/legal/floss_exception.html"
   *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU Affero General Public License for more details.
   *
   * You should have received a copy of the GNU Affero General Public License
   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
   */
  package org.silverpeas.core.admin.domain.model;
  
  import org.silverpeas.core.admin.domain.DomainServiceProvider;
  import org.silverpeas.core.admin.domain.quota.UserDomainQuotaKey;
  import org.silverpeas.core.admin.quota.exception.QuotaException;
  import org.silverpeas.core.admin.quota.exception.QuotaRuntimeException;
  import org.silverpeas.core.admin.quota.model.Quota;
  import org.silverpeas.core.util.ResourceLocator;
  import org.silverpeas.core.util.SettingBundle;
  import org.silverpeas.core.util.StringUtil;
  
  import java.io.Serializable;
  import java.util.Arrays;
  import java.util.List;
  import java.util.Objects;
  
  public class Domain implements Serializable {
  
    private static final long serialVersionUID = 7451639218436788229L;
  
    public static final String MIXED_DOMAIN_ID = "-1";
    private String id;
    private String name;
    private String description;
    private String driverClassName;
    private String propFileName;
    private String authenticationServer;
    private String silverpeasServerURL = "";
  
    /**
     * This data is not used in equals and hashcode process as it is an extra information.
     */
    private Quota userDomainQuota;
  
    /**
     * @return String
     */
    public String getId() {
      return id;
    }
  
    /**
     * @param id
     */
    public void setId(String id) {
      this.id = id;
    }
  
    /**
     * @return String
     */
    public String getName() {
      return name;
    }
  
    /**
     * @param name
     */
    public void setName(String name) {
      this.name = name;
    }
  
    /**
     * @return String
     */
    public String getDescription() {
      return description;
    }
  
    /**
     * @param description
     */
    public void setDescription(String description) {
      this.description = description;
    }
  
    /**
     * Gets the full class name of the domain driver that manages this domain.
     * @return the full path of the driver class.
     */
    public String getDriverClassName() {
      return driverClassName;
    }
  
    /**
     * Sets the full class name of the domain driver that manages this domain.
     * @param className the full path of the driver class.
     */
    public void setDriverClassName(String className) {
      this.driverClassName = className;
    }
  
    /**
     * Gets the full name of the properties file that defines this domain.
     * @return the full path of the properties file defining this domain.
     */
    public String getPropFileName() {
      return propFileName;
    }
  
    /**
     * Sets the full name of the properties file that defines this domain.
     * @param propFileName the full path of the properties file defining this domain.
     */
    public void setPropFileName(String propFileName) {
      this.propFileName = propFileName;
    }
  
    /**
     * @return String
     */
    public String getAuthenticationServer() {
      return authenticationServer;
    }
  
    /**
     * @param authenticationServer the class to be used.
     */
    public void setAuthenticationServer(String authenticationServer) {
      this.authenticationServer = authenticationServer;
    }
  
    /**
     * @return String
     */
    public String getSilverpeasServerURL() {
      return silverpeasServerURL;
    }
  
    /**
     * @param silverpeasServerURL
     */
    public void setSilverpeasServerURL(String silverpeasServerURL) {
      this.silverpeasServerURL = silverpeasServerURL;
    }
  
    /**
     * Centralizes the user in domain quota loading
     */
    private void loadUserDomainQuota() {
      try {
        userDomainQuota =
            DomainServiceProvider.getUserDomainQuotaService().get(UserDomainQuotaKey.from(this));
      } catch (final QuotaException qe) {
        throw new QuotaRuntimeException("Cannot get quota for user domain", qe);
      }
    }
  
    /**
     * @return the userDomainQuota
     */
    public Quota getUserDomainQuota() {
      if (userDomainQuota == null) {
        loadUserDomainQuota();
      }
      return userDomainQuota;
    }
  
    /**
     * Sets the max count of users of the domain
     *
     * @param userDomainQuotaMaxCount
     * @throws QuotaException
     */
    public void setUserDomainQuotaMaxCount(final String userDomainQuotaMaxCount) throws QuotaException {
      loadUserDomainQuota();
      userDomainQuota.setMaxCount(userDomainQuotaMaxCount);
      userDomainQuota.validateBounds();
    }
  
    public boolean isQuotaReached() {
      loadUserDomainQuota();
      return userDomainQuota.isReached();
    }
  
    public boolean isMixedOne() {
      return MIXED_DOMAIN_ID.equals(getId());
    }
  
    public List<String> getLooks() {
  