Uses of Class
com.broadleafcommerce.tenant.domain.Catalog
Package
Description
-
Uses of Catalog in com.broadleafcommerce.tenant.domain
Modifier and TypeMethodDescriptionApplicationCatalog.getCatalog()
MarketplaceApplicationCatalog.getHydratedCatalog()
In specific circumstances, the system may need to return a 'hydrated' response to an API caller and will set this value to the fullCatalog
instance corresponding toMarketplaceApplicationCatalog.getCatalog()
.Modifier and TypeMethodDescriptionvoid
ApplicationCatalog.setCatalog
(Catalog catalog) void
MarketplaceApplicationCatalog.setHydratedCatalog
(Catalog hydratedCatalog) In specific circumstances, the system may need to return a 'hydrated' response to an API caller and will set this value to the fullCatalog
instance corresponding toMarketplaceApplicationCatalog.getCatalog()
. -
Uses of Catalog in com.broadleafcommerce.tenant.provider.jpa.repository
Modifier and TypeMethodDescriptionvoid
JpaCustomizedCatalogRepository.bulkUpdateApplicationCatalogRefByCatalog
(Catalog updatedCatalog) -
Uses of Catalog in com.broadleafcommerce.tenant.repository
Modifier and TypeMethodDescriptionvoid
CustomizedCatalogRepository.bulkUpdateApplicationCatalogRefByCatalog
(Catalog updatedCatalog) Bulk updatesApplicationCatalogRef.name
for entries whose context id matches the given updated catalog id -
Uses of Catalog in com.broadleafcommerce.tenant.service
Modifier and TypeInterfaceDescriptioninterface
CatalogService<P extends Catalog>
Catalog
business domain specific version ofCrudEntityService
.class
DefaultCatalogService<P extends Catalog>
Modifier and TypeMethodDescriptionprotected Catalog
DefaultApplicationCatalogGenerationService.generateSearchGroupCatalog
(Application application, boolean isImplicit, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected CatalogService<Catalog>
DefaultApplicationCatalogGenerationService.getCatalogService()
protected CatalogService<Catalog>
DefaultMarketplaceApplicationCatalogService.getCatalogService()
protected CatalogService<Catalog>
DefaultTenantService.getCatalogService()
Modifier and TypeMethodDescriptionprotected ApplicationCatalogRef
DefaultApplicationCatalogGenerationService.createApplicationCatalogRef
(Catalog masterCatalog, Catalog implicitCatalog) protected ApplicationCatalog
DefaultApplicationCatalogService.mapToApplicationCatalog
(ApplicationCatalogRef applicationCatalogRef, Catalog catalog) 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.Modifier and TypeMethodDescriptionprotected List<CatalogRef>
DefaultApplicationCatalogGenerationService.convertCatalogToCatalogRef
(@NonNull List<Catalog> catalogs) void
DefaultTenantService.setCatalogService
(CatalogService<Catalog> catalogService) ModifierConstructorDescriptionDefaultApplicationCatalogGenerationService
(ApplicationService<P> service, CatalogService<Catalog> catalogService, ApplicationCatalogService applicationCatalogService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) DefaultApplicationCatalogService
(ApplicationService<Application> applicationService, CatalogService<Catalog> catalogService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.transaction.support.TransactionTemplate template, ApplicationCatalogValidator applicationCatalogValidator) DefaultMarketplaceApplicationCatalogService
(MarketplaceApplicationCatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper rsqlHelper, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper, MarketplaceApplicationCatalogValidator validator, CatalogService<Catalog> catalogService) -
Uses of Catalog in com.broadleafcommerce.tenant.service.autoconfigure
Modifier and TypeMethodDescriptionTenantServiceAutoConfiguration.catalogService
(CatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, ApplicationService<? extends Application> applicationService, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper) Modifier and TypeMethodDescriptionTenantServiceAutoConfiguration.applicationCatalogGenerationService
(ApplicationService<Application> service, CatalogService<Catalog> catalogService, ApplicationCatalogService applicationCatalogService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) TenantServiceAutoConfiguration.applicationCatalogService
(ApplicationService<Application> applicationService, CatalogService<Catalog> catalogService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.transaction.support.TransactionTemplate template, ApplicationCatalogValidator applicationCatalogValidator) TenantServiceAutoConfiguration.marketplaceApplicationCatalogService
(MarketplaceApplicationCatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper rsqlHelper, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper, MarketplaceApplicationCatalogValidator validator, CatalogService<Catalog> catalogService) -
Uses of Catalog in com.broadleafcommerce.tenant.service.messaging.autoconfigure
Modifier and TypeMethodDescriptionTenantMessagingAutoConfiguration.tenantVendorNotificationHandler
(CatalogService<Catalog> catalogService, CatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> catalogRepository, MarketplaceApplicationCatalogService<MarketplaceApplicationCatalog> marketplaceApplicationCatalogService, org.springframework.transaction.support.TransactionTemplate template, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapperManager, MarketplaceDiscoverer discoverer) -
Uses of Catalog in com.broadleafcommerce.tenant.service.messaging.searchgroup
Modifier and TypeMethodDescriptionTenantSearchGroupEvent.getSearchGroup()
The Search Group that was created.Modifier and TypeMethodDescriptionvoid
TenantSearchGroupEvent.setSearchGroup
(Catalog searchGroup) The Search Group that was created. -
Uses of Catalog in com.broadleafcommerce.tenant.service.messaging.vendor
Modifier and TypeMethodDescriptionprotected Catalog
TenantVendorNotificationHandler.createCatalog
(@NonNull com.fasterxml.jackson.databind.JsonNode entityJson) Creates aCatalog
for the Vendor and associates it with the relevant MarketplaceApplication
.Modifier and TypeMethodDescriptionprotected CatalogService<Catalog>
TenantVendorNotificationHandler.getCatalogService()
Modifier and TypeMethodDescriptionprotected void
TenantVendorNotificationHandler.buildApplicationCatalogs
(@NonNull Catalog parent, @NonNull List<String> applicationIds) Builds the connections between the Vendor'sCatalog
and the Vendor's marketplaceApplications
.protected void
TenantVendorNotificationHandler.updateIfApplicable
(@NonNull Catalog catalog, String vendorName) Updates thecatalog
if it needs to be.ModifierConstructorDescriptionTenantVendorNotificationHandler
(CatalogService<Catalog> catalogService, CatalogRepository<com.broadleafcommerce.data.tracking.core.Trackable> catalogRepository, MarketplaceApplicationCatalogService<MarketplaceApplicationCatalog> marketplaceApplicationCatalogService, org.springframework.transaction.support.TransactionTemplate template, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapperManager, MarketplaceDiscoverer discoverer) -
Uses of Catalog in com.broadleafcommerce.tenant.service.validation
Modifier and TypeMethodDescriptionprotected CatalogService<Catalog>
ApplicationValidator.getCatalogService()
Lazy injection to avoid circular dependency exceptions.protected CatalogService<Catalog>
CatalogValidator.getCatalogService()
Lazy injection to avoid circular dependency exceptions.Modifier and TypeMethodDescriptionprotected void
CatalogValidator.fetchAndValidateParentCatalogs
(Catalog catalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, org.springframework.validation.Errors errors) Performs deeper validation on existence and vendor-associations of parent catalogs.void
MarketplaceApplicationCatalogValidator.validateForCreate
(String applicationId, @NonNull Catalog catalog, @NonNull MarketplaceApplicationCatalog applicationCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, @NonNull org.springframework.validation.Errors errors) Validate theMarketplaceApplicationCatalog
create request is valid when compared to the contextual applicationId and the catalog type.protected void
CatalogValidator.validateForModification
(Catalog requestedCatalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, org.springframework.validation.Errors errors) void
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
CatalogValidator.validateParents
(Catalog catalog, org.springframework.validation.Errors errors) This just performs basic field validations on the requested parents.protected void
CatalogValidator.validateType
(Catalog catalog, org.springframework.validation.Errors errors) Modifier and TypeMethodDescriptionvoid
ApplicationValidator.setCatalogService
(CatalogService<Catalog> catalogService) Lazy injection to avoid circular dependency exceptions.void
CatalogValidator.setCatalogService
(CatalogService<Catalog> catalogService) Lazy injection to avoid circular dependency exceptions. -
Uses of Catalog in com.broadleafcommerce.tenant.web.endpoint
Modifier and TypeMethodDescriptionCatalogEndpoint.create
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Catalog req, String applicationId) CatalogEndpoint.readById
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id) CatalogEndpoint.replace
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Catalog req) CatalogEndpoint.update
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Catalog req) Modifier and TypeMethodDescriptionprotected CatalogService<Catalog>
CatalogEndpoint.getService()
org.springframework.data.domain.Page<Catalog>
CatalogEndpoint.readAll
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, org.springframework.data.domain.Pageable page, boolean visibility, String excludeCatalog, String nameQuery, cz.jirutka.rsql.parser.ast.Node filters) Modifier and TypeMethodDescriptionCatalogEndpoint.create
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Catalog req, String applicationId) CatalogEndpoint.replace
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Catalog req) CatalogEndpoint.update
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Catalog req) protected void
CatalogEndpoint.validateApplicationOwnership
(@NonNull Catalog catalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
CatalogEndpoint.validateParentCatalogRelationship
(@NonNull Catalog catalog, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ModifierConstructorDescriptionCatalogEndpoint
(CatalogService<Catalog> service, ApplicationCatalogService applicationCatalogService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> parser)