Uses of Class
com.broadleafcommerce.tenant.domain.ApplicationCatalogRef
Package
Description
-
Uses of ApplicationCatalogRef in com.broadleafcommerce.tenant.domain
Modifier and TypeClassDescriptionclass
A DTO specifically intended to hold both the information of aApplicationCatalogRef
and aCatalog
to facilitate performing operations such as creation + assignment of a catalog in one request.Modifier and TypeMethodDescriptionApplication.getIsolatedCatalogs()
Individual catalogs assigned to this application.Modifier and TypeMethodDescriptionvoid
Application.setIsolatedCatalogs
(List<ApplicationCatalogRef> isolatedCatalogs) Individual catalogs assigned to this application. -
Uses of ApplicationCatalogRef in com.broadleafcommerce.tenant.service
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<ApplicationCatalogRef>
ApplicationCatalogService.readAllApplicationCatalogs
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String type) For the application found in the contextInfo, returns the full list of the application'sApplicationCatalogRefs
.org.springframework.data.domain.Page<ApplicationCatalogRef>
ApplicationCatalogService.readAllApplicationCatalogs
(cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.Filters are ignored for this entity since it's an embedded collection on Application.org.springframework.data.domain.Page<ApplicationCatalogRef>
DefaultApplicationCatalogService.readAllApplicationCatalogs
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String type) org.springframework.data.domain.Page<ApplicationCatalogRef>
DefaultApplicationCatalogService.readAllApplicationCatalogs
(cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.org.springframework.data.domain.Page<ApplicationCatalogRef>
ApplicationService.readCatalogsForAdd
(String id, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Finds and returns the catalog's for the given owning application that are available to be added when selecting a catalog for add operations.org.springframework.data.domain.Page<ApplicationCatalogRef>
DefaultApplicationService.readCatalogsForAdd
(String id, @NonNull org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Modifier and TypeMethodDescriptionprotected ApplicationCatalog
DefaultApplicationCatalogService.hydrateToApplicationCatalog
(ApplicationCatalogRef applicationCatalogRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theCatalog
matching the givengetId()
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.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) protected void
DefaultApplicationCatalogService.validateApplicationCatalogRefForReplace
(Application application, Catalog referencedCatalog, ApplicationCatalogRef original, ApplicationCatalogRef replacement, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This method is intended to perform any validation that should specifically apply when doing catalog management from an application context. -
Uses of ApplicationCatalogRef in com.broadleafcommerce.tenant.service.validation
Modifier and TypeMethodDescriptionvoid
ApplicationCatalogValidator.validateForReplace
(@NonNull Application application, @NonNull Catalog referencedCatalog, @NonNull ApplicationCatalogRef original, @NonNull ApplicationCatalogRef replacement, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, @NonNull org.springframework.validation.Errors errors) This method is intended to perform any validation onreplacement
that should specifically apply when replacing one of anApplication
's catalog refs from an application context.protected void
ApplicationCatalogValidator.validateImmutableFieldsForGlobalCatalogRefReplacement
(ApplicationCatalogRef original, ApplicationCatalogRef replacement, org.springframework.validation.Errors errors) When anApplicationCatalogRef
is for a catalog not created by the current application, certain fields are immutable from the application context. -
Uses of ApplicationCatalogRef in com.broadleafcommerce.tenant.web.endpoint
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<ApplicationCatalogRef>
ApplicationEndpoint.findCatalogsForAdd
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, org.springframework.data.domain.Pageable page, String id) org.springframework.data.domain.Page<ApplicationCatalogRef>
ApplicationCatalogEndpoint.readAll
(cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.Filters are ignored since the application catalogs are an embedded collection.org.springframework.data.domain.Page<ApplicationCatalogRef>
ApplicationCatalogEndpoint.readAll
(String type, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionApplicationCatalogEndpoint.replaceApplicationCatalogRef
(String applicationCatalogRefId, ApplicationCatalogRef applicationCatalogRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)