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)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefines properties related to customer.Defines properties related to application validation.booleanIf enabled, when catalogs are unassigned from an application, the implicit catalogs for those associations will be archived.booleanWhether to create aDefaultCatalogType.SEARCH_GROUPtypeCatalogautomatically when a newApplicationis created.voidsetArchiveUnassignedImplicitCatalogs(boolean archiveUnassignedImplicitCatalogs) If enabled, when catalogs are unassigned from an application, the implicit catalogs for those associations will be archived.voidDefines properties related to customer.voidsetInitializeSearchGroupCatalogForNewApplicationsEnabled(boolean initializeSearchGroupCatalogForNewApplicationsEnabled) Whether to create aDefaultCatalogType.SEARCH_GROUPtypeCatalogautomatically when a newApplicationis created.voidsetValidation(TenantApplicationProperties.Validation validation) Defines properties related to application validation.toString()
-
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 aDefaultCatalogType.SEARCH_GROUPtypeCatalogautomatically when a newApplicationis 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
Defines properties related to customer. -
setValidation
Defines properties related to application validation. -
setInitializeSearchGroupCatalogForNewApplicationsEnabled
public void setInitializeSearchGroupCatalogForNewApplicationsEnabled(boolean initializeSearchGroupCatalogForNewApplicationsEnabled) Whether to create aDefaultCatalogType.SEARCH_GROUPtypeCatalogautomatically when a newApplicationis 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
-