Class TenantApplicationProperties

java.lang.Object
com.broadleafcommerce.tenant.service.autoconfigure.TenantApplicationProperties

@ConfigurationProperties("broadleaf.tenant.application") public class TenantApplicationProperties extends Object
Defines properties for configuring Application.
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

    • TenantApplicationProperties

      public TenantApplicationProperties()
  • Method Details

    • getCustomer

      Defines properties related to customer.
    • getValidation

      Defines properties related to application validation.
    • isInitializeSearchGroupCatalogForNewApplicationsEnabled

      public boolean isInitializeSearchGroupCatalogForNewApplicationsEnabled()
      Whether to create a DefaultCatalogType.SEARCH_GROUP type Catalog automatically when a new Application is created. It is expected that only one such catalog should exist for the application and this will simplify maintenance. True by default.
    • isArchiveUnassignedImplicitCatalogs

      public boolean isArchiveUnassignedImplicitCatalogs()
      If enabled, when catalogs are unassigned from an application, the implicit catalogs for those associations will be archived. This is often desirable, as it prunes these now-irrelevant descendant catalogs from the actual/main catalogs' ancestries. Otherwise, since these implicit catalogs are not directly accessible by admins or API callers, they would not be removable and could, for example, preclude their parents from being deleted for having children.
      Since:
      2.1.5-GA
    • setCustomer

      public void setCustomer(TenantApplicationProperties.Customer customer)
      Defines properties related to customer.
    • setValidation

      public void setValidation(TenantApplicationProperties.Validation validation)
      Defines properties related to application validation.
    • setInitializeSearchGroupCatalogForNewApplicationsEnabled

      public void setInitializeSearchGroupCatalogForNewApplicationsEnabled(boolean initializeSearchGroupCatalogForNewApplicationsEnabled)
      Whether to create a DefaultCatalogType.SEARCH_GROUP type Catalog automatically when a new Application is created. It is expected that only one such catalog should exist for the application and this will simplify maintenance. True by default.
    • setArchiveUnassignedImplicitCatalogs

      public void setArchiveUnassignedImplicitCatalogs(boolean archiveUnassignedImplicitCatalogs)
      If enabled, when catalogs are unassigned from an application, the implicit catalogs for those associations will be archived. This is often desirable, as it prunes these now-irrelevant descendant catalogs from the actual/main catalogs' ancestries. Otherwise, since these implicit catalogs are not directly accessible by admins or API callers, they would not be removable and could, for example, preclude their parents from being deleted for having children.
      Since:
      2.1.5-GA
    • toString

      public String toString()
      Overrides:
      toString in class Object