Uses of Class
com.broadleafcommerce.tenant.domain.ApplicationCatalog
Package
Description
-
Uses of ApplicationCatalog in com.broadleafcommerce.tenant.service
Modifier and TypeMethodDescriptionApplicationCatalogService.createCatalogAndAssignToApplication
(ApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the catalog provided ingetCatalog()
, and immediately assigns it to the application found in the contextInfo.DefaultApplicationCatalogService.createCatalogAndAssignToApplication
(ApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected ApplicationCatalog
DefaultApplicationCatalogService.hydrateToApplicationCatalog
(ApplicationCatalogRef applicationCatalogRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theCatalog
matching the givenApplicationCatalogRef.getId()
in the data store, and builds a newApplicationCatalog
object matching the givenApplicationCatalogRef
with the found catalog.protected ApplicationCatalog
DefaultApplicationCatalogService.mapToApplicationCatalog
(ApplicationCatalogRef applicationCatalogRef, Catalog catalog) ApplicationCatalogService.readApplicationCatalogRef
(String applicationCatalogRefId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) For the application found in the contextInfo, scans itsApplication.getIsolatedCatalogs()
and returns theApplicationCatalogRef
with the given ID.DefaultApplicationCatalogService.readApplicationCatalogRef
(String applicationCatalogRefId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ApplicationCatalogService.replaceApplicationCatalogRef
(String applicationCatalogRefId, ApplicationCatalogRef applicationCatalogRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) For the application found in the contextInfo, scans itsApplication.getIsolatedCatalogs()
for the one with the given ID and replaces it with the supplied replacement.DefaultApplicationCatalogService.replaceApplicationCatalogRef
(String applicationCatalogRefId, ApplicationCatalogRef applicationCatalogRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionApplicationCatalogService.createCatalogAndAssignToApplication
(ApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates the catalog provided ingetCatalog()
, and immediately assigns it to the application found in the contextInfo.DefaultApplicationCatalogService.createCatalogAndAssignToApplication
(ApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DefaultApplicationCatalogService.validateApplicationCatalogForCreate
(Application application, ApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This method is intended to provide fail-fast behavior inDefaultApplicationCatalogService.createCatalogAndAssignToApplication(ApplicationCatalog, ContextInfo)
to avoid situations where theCrudEntityService.create(Object, ContextInfo)
succeeds but the subsequentCrudEntityService.replace(String, Object, ContextInfo)
fails due to validation errors. -
Uses of ApplicationCatalog in com.broadleafcommerce.tenant.service.validation
Modifier and TypeMethodDescriptionvoid
ApplicationCatalogValidator.validateForCreate
(@NonNull Application application, @NonNull ApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, @NonNull org.springframework.validation.Errors errors) This method is intended to perform any validation onapplicationCatalog
that should specifically apply when creating and assigning a Catalog from an application context. -
Uses of ApplicationCatalog in com.broadleafcommerce.tenant.web.endpoint
Modifier and TypeMethodDescriptionApplicationCatalogEndpoint.createAndAssignCatalog
(ApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ApplicationCatalogEndpoint.readApplicationCatalogRef
(String applicationCatalogRefId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ApplicationCatalogEndpoint.replaceApplicationCatalogRef
(String applicationCatalogRefId, ApplicationCatalogRef applicationCatalogRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionApplicationCatalogEndpoint.createAndAssignCatalog
(ApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)