Uses of Class
com.broadleafcommerce.catalog.domain.accesspolicy.CatalogAccessPolicy
Package
Description
-
Uses of CatalogAccessPolicy in com.broadleafcommerce.catalog.messaging
Modifier and TypeMethodDescriptionCatalogAccessPolicyModifiedEvent.getCatalogAccessPolicy()
The augmentation that has been created / modifiedModifier and TypeMethodDescriptionvoid
CatalogAccessPolicyModifiedEvent.setCatalogAccessPolicy
(CatalogAccessPolicy catalogAccessPolicy) The augmentation that has been created / modified -
Uses of CatalogAccessPolicy in com.broadleafcommerce.catalog.service.accesspolicy
Modifier and TypeInterfaceDescriptioninterface
CatalogAccessPolicyService<P extends CatalogAccessPolicy>
Service API handling operations with theCatalogAccessPolicy
domain.class
-
Uses of CatalogAccessPolicy in com.broadleafcommerce.catalog.service.autoconfigure
Modifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.context.ContextInfoCustomizer
CatalogServiceAutoConfiguration.catalogAccessPolicyContextInfoCustomizer
(com.broadleafcommerce.common.extension.data.DataRouteSupporting route, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils, CatalogAccessPolicyService<CatalogAccessPolicy> catalogAccessPolicyService, Collection<com.broadleafcommerce.data.tracking.core.filtering.fetch.rsql.CatalogFilterRulesMapping> ruleMappings, com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService ruleEvaluationService, CatalogAccessPolicyUtils catalogAccessPolicyUtils) -
Uses of CatalogAccessPolicy in com.broadleafcommerce.catalog.service.context
Modifier and TypeMethodDescriptionprotected <T extends CatalogAccessPolicy>
Map<String,String> CatalogAccessPolicyContextInfoCustomizer.consolidatePolicyFilters
(Collection<T> policies) protected <T extends CatalogAccessPolicy>
StringCatalogAccessPolicyContextInfoCustomizer.customizeRule
(String rule, String entity, T policy) Extension hook point allowing additional run-time customization to the configured rule.Modifier and TypeMethodDescriptionprotected CatalogAccessPolicyService<CatalogAccessPolicy>
CatalogAccessPolicyContextInfoCustomizer.getCatalogAccessPolicyService()
ModifierConstructorDescriptionCatalogAccessPolicyContextInfoCustomizer
(com.broadleafcommerce.common.extension.data.DataRouteSupporting route, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils, CatalogAccessPolicyService<CatalogAccessPolicy> catalogAccessPolicyService, Collection<com.broadleafcommerce.data.tracking.core.filtering.fetch.rsql.CatalogFilterRulesMapping> ruleMappings, com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService ruleEvaluationService, CatalogAccessPolicyUtils catalogAccessPolicyUtils) -
Uses of CatalogAccessPolicy in com.broadleafcommerce.catalog.service.validation
Modifier and TypeMethodDescriptionprotected void
CatalogAccessPolicyValidator.validateActiveEndDate
(CatalogAccessPolicy tag, org.springframework.validation.Errors errors) protected void
CatalogAccessPolicyValidator.validateActiveStartDate
(CatalogAccessPolicy tag, org.springframework.validation.Errors errors) protected void
CatalogAccessPolicyValidator.validateTargetCatalog
(CatalogAccessPolicy tag, org.springframework.validation.Errors errors) -
Uses of CatalogAccessPolicy in com.broadleafcommerce.catalog.web.context
Modifier and TypeMethodDescriptionprotected <D extends CatalogAccessPolicy>
voidCatalogContextRequestHydrator.updateCatalog
(@NonNull com.broadleafcommerce.data.tracking.core.context.ContextRequest contextRequest, @NonNull Collection<D> catalogAccessPolicies, @NonNull Set<D> policiesMatchingContext) Evaluates the match rules ofCatalogAccessPolicies
targeting the application'sApplication.getIsolatedCatalogs()
against the currentCatalogAccessPolicyContext
.Modifier and TypeMethodDescriptionprotected CatalogAccessPolicyService<CatalogAccessPolicy>
CatalogContextRequestHydrator.getCatalogAccessPolicyService()
protected List<CatalogAccessPolicy>
CatalogContextRequestHydrator.readCatalogTargetingAccessPolicies
(com.broadleafcommerce.data.tracking.core.context.ContextRequest dehydrated) Modifier and TypeMethodDescriptionCatalogContextRequestHydrator.getImplicitCatalogIdsForRestrictedCatalogs
(Collection<? extends CatalogAccessPolicy> catalogAccessPolicies, Map<String, String> catalogIdsToImplicitIds) protected void
CatalogContextRequestHydrator.removeRestrictedCatalogsIfCatalogIdUnspecified
(@NonNull com.broadleafcommerce.data.tracking.core.context.ContextRequest contextRequest, @NonNull List<CatalogAccessPolicy> catalogAccessPolicies, @NonNull Map<String, String> catalogIdsToImplicitIds) * Removes by default allApplication.getInheritanceLines()
from a context request application when targeted by aCatalogAccessPolicy
.protected void
CatalogContextRequestHydrator.updateApplicationCatalogs
(@NonNull com.broadleafcommerce.data.tracking.core.context.ContextRequest contextRequest, @NonNull Collection<? extends CatalogAccessPolicy> catalogAccessPolicies, @NonNull Map<String, String> catalogIdsToImplicitIds, @NonNull Set<? extends CatalogAccessPolicy> policiesMatchingContext) Removes inheritance lines and isolated catalogs from the resolved application if they are not visible due to aCatalogAccessPolicy
that targets them not matching the request context.protected void
CatalogContextRequestHydrator.updateApplicationCatalogs
(@NonNull com.broadleafcommerce.data.tracking.core.context.ContextRequest contextRequest, @NonNull Collection<? extends CatalogAccessPolicy> catalogAccessPolicies, @NonNull Map<String, String> catalogIdsToImplicitIds, @NonNull Set<? extends CatalogAccessPolicy> policiesMatchingContext) Removes inheritance lines and isolated catalogs from the resolved application if they are not visible due to aCatalogAccessPolicy
that targets them not matching the request context.ModifierConstructorDescriptionCatalogContextRequestHydrator
(com.broadleafcommerce.rulesengine.expression.service.RuleEvaluationService ruleEvaluationService, CatalogAccessPolicyService<CatalogAccessPolicy> catalogAccessPolicyService, CatalogAccessPolicyUtils catalogAccessPolicyUtils, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils) -
Uses of CatalogAccessPolicy in com.broadleafcommerce.catalog.web.endpoint
Modifier and TypeMethodDescriptionCatalogAccessPolicyEndpoint.create
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, CatalogAccessPolicy req) CatalogAccessPolicyEndpoint.readById
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id) CatalogAccessPolicyEndpoint.replace
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, CatalogAccessPolicy req) CatalogAccessPolicyEndpoint.update
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, CatalogAccessPolicy req) Modifier and TypeMethodDescriptionprotected CatalogAccessPolicyService<CatalogAccessPolicy>
CatalogAccessPolicyEndpoint.getService()
org.springframework.data.domain.Page<CatalogAccessPolicy>
CatalogAccessPolicyEndpoint.readAll
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String query, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page) Modifier and TypeMethodDescriptionCatalogAccessPolicyEndpoint.create
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, CatalogAccessPolicy req) CatalogAccessPolicyEndpoint.replace
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, CatalogAccessPolicy req) CatalogAccessPolicyEndpoint.update
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, CatalogAccessPolicy req) ModifierConstructorDescription