Uses of Class
org.broadleafcommerce.common.extension.ExtensionResultHolder
Packages that use ExtensionResultHolder
Package
Description
-
Uses of ExtensionResultHolder in org.broadleafcommerce.admin.server.service.extension
Methods in org.broadleafcommerce.admin.server.service.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAdminCatalogServiceExtensionHandler.persistSkuPermutation(Product product, List<List<ProductOptionValue>> permutationsToGenerate, ExtensionResultHolder<Integer> erh) Customize the persistence of generated sku permutations based on product options.DefaultAdminCatalogExtensionHandler.persistSkuPermutation(Product product, List<List<ProductOptionValue>> permutationsToGenerate, ExtensionResultHolder<Integer> erh) -
Uses of ExtensionResultHolder in org.broadleafcommerce.admin.server.service.handler
Methods in org.broadleafcommerce.admin.server.service.handler with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionSkuCustomPersistenceHandlerExtensionHandler.getAdditionalSkusCollection(Product product, ExtensionResultHolder<List<Sku>> erh) -
Uses of ExtensionResultHolder in org.broadleafcommerce.admin.server.service.persistence.module.provider.extension
Methods in org.broadleafcommerce.admin.server.service.persistence.module.provider.extension with parameters of type ExtensionResultHolder -
Uses of ExtensionResultHolder in org.broadleafcommerce.cms.file.service
Methods in org.broadleafcommerce.cms.file.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionStaticAssetServiceExtensionHandler.fileExists(String fileName, ExtensionResultHolder holder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.cms.page.service
Methods in org.broadleafcommerce.cms.page.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractPageServiceExtensionHandler.getFieldDefinition(ExtensionResultHolder<FieldDefinition> erh, Page page, String fieldKey) PageServiceExtensionHandler.getFieldDefinition(ExtensionResultHolder<FieldDefinition> erh, Page page, String fieldKey) If this method returns something other thanExtensionResultStatusType.NOT_HANDLED, the result variable in theExtensionResultHolderwill hold the associatedFieldDefinitionfor the givenPageand field key.AbstractPageServiceExtensionHandler.overridePageDto(ExtensionResultHolder<PageDTO> erh, PageDTO pageDto, Page page) PageServiceExtensionHandler.overridePageDto(ExtensionResultHolder<PageDTO> erh, PageDTO pageDto, Page page) This method provides the opportunity to modify the page fields associated with the pageDtoExtensionResultHolder. -
Uses of ExtensionResultHolder in org.broadleafcommerce.cms.structure.service
Methods in org.broadleafcommerce.cms.structure.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractStructuredContentServiceExtensionHandler.modifyStructuredContentDtoList(List<StructuredContentDTO> structuredContentList, ExtensionResultHolder resultHolder) StructuredContentServiceExtensionHandler.modifyStructuredContentDtoList(List<StructuredContentDTO> structuredContentList, ExtensionResultHolder resultHolder) Allows an extension handler to modify the list of structured content items. -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.breadcrumbs.service
Methods in org.broadleafcommerce.common.breadcrumbs.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionBreadcrumbServiceExtensionHandler.modifyBreadcrumbList(String url, Map<String, String[]> queryParams, ExtensionResultHolder<List<BreadcrumbDTO>> holder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.config.service
Methods in org.broadleafcommerce.common.config.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractSystemPropertyServiceExtensionHandler.resolveProperty(String propertyName, ExtensionResultHolder resultHolder) SystemPropertyServiceExtensionHandler.resolveProperty(String propertyName, ExtensionResultHolder resultHolder) Provides an opportunity for modules to resolve a system property. -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.copy
Methods in org.broadleafcommerce.common.copy with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractMultiTenantCopierExtensionHandler.shouldClone(MultiTenantCopyContext context, Object from, ExtensionResultHolder<Boolean> result) MultiTenantCopierExtensionHandler.shouldClone(MultiTenantCopyContext context, Object from, ExtensionResultHolder<Boolean> result) -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.entity.service
Methods in org.broadleafcommerce.common.entity.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractEntityInformationServiceExtensionHandler.findAllCatalogs(ExtensionResultHolder<List<Catalog>> erh) EntityInformationServiceExtensionHandler.findAllCatalogs(ExtensionResultHolder<List<Catalog>> erh) Handler implementations will set the value ofExtensionResultHolderto a list of all catalogs, specifically when running in a Multi-Tenant Broadleaf implementation.EntityInformationServiceExtensionManager.findAllCatalogs(ExtensionResultHolder<List<Catalog>> erh) AbstractEntityInformationServiceExtensionHandler.getBaseProfileIdForSite(Site site, ExtensionResultHolder<Long> erh) EntityInformationServiceExtensionHandler.getBaseProfileIdForSite(Site site, ExtensionResultHolder<Long> erh) Handler implementations will populate theExtensionResultHolderwith a valid base profile id if one exists for the siteEntityInformationServiceExtensionManager.getBaseProfileIdForSite(Site site, ExtensionResultHolder<Long> erh) AbstractEntityInformationServiceExtensionHandler.getChildSiteIdsForProfile(Site profile, ExtensionResultHolder<Set<Long>> erh) EntityInformationServiceExtensionHandler.getChildSiteIdsForProfile(Site profile, ExtensionResultHolder<Set<Long>> erh) Handler implementations will populate theExtensionResultHolderwith a valid child site ids whose base profile is the given profileEntityInformationServiceExtensionManager.getChildSiteIdsForProfile(Site profile, ExtensionResultHolder<Set<Long>> erh) AbstractEntityInformationServiceExtensionHandler.getDefaultCatalogIdForSite(Site site, ExtensionResultHolder<Long> erh) EntityInformationServiceExtensionHandler.getDefaultCatalogIdForSite(Site site, ExtensionResultHolder<Long> erh) Handler implementations will populate theExtensionResultHolderwith a valid default catalog id for the siteEntityInformationServiceExtensionManager.getDefaultCatalogIdForSite(Site site, ExtensionResultHolder<Long> erh) AbstractEntityInformationServiceExtensionHandler.getOkayToUseSiteDiscriminator(Object o, ExtensionResultHolder<Boolean> erh) EntityInformationServiceExtensionHandler.getOkayToUseSiteDiscriminator(Object o, ExtensionResultHolder<Boolean> erh) Handler implementations will set the value ofExtensionResultHolderto true if the passed in object supports site discriminator usage.EntityInformationServiceExtensionManager.getOkayToUseSiteDiscriminator(Object o, ExtensionResultHolder<Boolean> erh) AbstractEntityInformationServiceExtensionHandler.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) EntityInformationServiceExtensionHandler.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) Handler implementations will popoulate theExtensionResultHolderwith a valid parent site if one exists for the profileEntityInformationServiceExtensionManager.getParentSiteForProfile(Site profile, ExtensionResultHolder<Site> erh) AbstractEntityInformationServiceExtensionHandler.getTypeForSite(Site site, ExtensionResultHolder<String> erh) EntityInformationServiceExtensionHandler.getTypeForSite(Site site, ExtensionResultHolder<String> erh) EntityInformationServiceExtensionManager.getTypeForSite(Site site, ExtensionResultHolder<String> erh) -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.extension
Methods in org.broadleafcommerce.common.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionSparselyPopulatedQueryExtensionHandler.buildStatus(Class<?> type, List queryResults, ExtensionResultHolder<List<StandardCacheItem>> response) Convert the list of query results into a list that denotes not only the query results, but also whether or not each member represents a deleted/archived item, or an active/normal item.TemplateOnlyQueryExtensionHandler.buildStatus(Object entity, ExtensionResultHolder<ItemStatus> response) TemplateOnlyQueryExtensionManager.buildStatus(Object entity, ExtensionResultHolder<ItemStatus> response) voidNativeMethodEntityExtensionHandler.contributeEquals(T original, T test, ExtensionResultHolder<Boolean> result) Contributes additional equals() checks.voidNativeMethodEntityExtensionHandler.contributeHashCode(T entity, int precomputedHashCode, ExtensionResultHolder<Integer> result) Contributes more properties to build an object's hashCode().SparselyPopulatedQueryExtensionHandler.getCacheKey(Object testObject, String qualifier, ResultType resultType, ExtensionResultHolder<String> response) Build the cache key to be used for either the STANDARD or TEMPLATE style cache, driven by the resultType.SparselyPopulatedQueryExtensionHandler.getCacheKey(String qualifier, ResultType resultType, ExtensionResultHolder<String> response) Build the cache key to be used for either the STANDARD or TEMPLATE style cache, driven by the resultType.SparselyPopulatedQueryExtensionHandler.getCacheKeyListForTemplateSite(String qualifier, ExtensionResultHolder<List<String>> response) Build a list of cache keys that are related to a TEMPLATE template siteSparselyPopulatedQueryExtensionHandler.getCacheKeys(String qualifier, ResultType resultType, ExtensionResultHolder<List<String>> response) Build the cache keys to be used for either the STANDARD or TEMPLATE style cache, driven by the resultType.SparselyPopulatedQueryExtensionHandler.getNormalizedId(Object testObject, ExtensionResultHolder<Long> response) Get a common id for an object that is consistent for a standard site (whether or not the test object is overridden in the standard site)SparselyPopulatedQueryExtensionHandler.getResultType(Object testObject, ExtensionResultHolder<ResultType> response) By examining the multitenant information related to a test object, return whether the object is related to a standard site, or a template profile or catalog, if applicable.TemplateCacheExtensionHandler.getTemplateCacheKey(Object key, String template, ExtensionResultHolder<Object> result) TemplateCacheExtensionManager.getTemplateCacheKey(Object key, String template, ExtensionResultHolder<Object> resultHolder) TemplateCacheExtensionHandler.getTemplateName(Object key, ExtensionResultHolder<Object> result) TemplateCacheExtensionManager.getTemplateName(Object key, ExtensionResultHolder<Object> result) SparselyPopulatedQueryExtensionHandler.isValidState(ExtensionResultHolder<Boolean> response) Determine if the current thread is in a valid state for sparse cache handlingTemplateOnlyQueryExtensionHandler.isValidState(ExtensionResultHolder<Boolean> response) Determine if the current thread is in a valid state for sparse cache handlingTemplateOnlyQueryExtensionManager.isValidState(ExtensionResultHolder<Boolean> response) QueryExtensionHandler.refineResults(Class<?> type, String[] config, List queryResults, ExtensionResultHolder<List> response) Filter the results from the database in JavaSparselyPopulatedQueryExtensionHandler.refineResults(Class<?> type, ResultType resultType, List queryResults, ExtensionResultHolder<List> response) Filter the results from the database in Java -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.file.service
Methods in org.broadleafcommerce.common.file.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionBroadleafFileServiceExtensionHandler.processPathForSite(String prefix, String resourceName, ExtensionResultHolder<String> holder) BroadleafFileServiceExtensionHandler.retrieveAllParentSitesIds(Site site, ExtensionResultHolder<List<String>> holder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.i18n.dao
Methods in org.broadleafcommerce.common.i18n.dao with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionTranslationDaoExtensionHandler.overrideRequestedId(ExtensionResultHolder erh, jakarta.persistence.EntityManager em, Class<?> clazz, Long entityId) If there is a different id that should be used for a translation lookup instead of the given entityId, the handler should place the result in theExtensionResultHolderargument. -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.persistence
Methods in org.broadleafcommerce.common.persistence with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionEntityParentIdServiceExtensionHandler.findEntityParentId(String id, String className, ExtensionResultHolder<String> resultHolder) EntityDuplicatorExtensionHandler.getCatalogsForPropagation(MultiTenantCopyContext context, ExtensionResultHolder<List<MultiTenantCopyContext>> resultHolder) EntityDuplicatorExtensionManager.getCatalogsForPropagation(MultiTenantCopyContext context, ExtensionResultHolder<List<MultiTenantCopyContext>> resultHolder) EntityDuplicatorExtensionHandler.getClonesByCatalogs(String tableName, Long id, MultiTenantCopyContext multiTenantCopyContext, ExtensionResultHolder<Map<Long, Map<Long, Long>>> resultHolder) EntityDuplicatorExtensionManager.getClonesByCatalogs(String tableName, Long id, MultiTenantCopyContext multiTenantCopyContext, ExtensionResultHolder<Map<Long, Map<Long, Long>>> resultHolder) EntityDuplicatorExtensionHandler.setupDuplicate(Object entity, ExtensionResultHolder<MultiTenantCopyContext> resultHolder) Perform any required context and state setup before commencing with the duplicationEntityDuplicatorExtensionManager.setupDuplicate(Object entity, ExtensionResultHolder<MultiTenantCopyContext> resultHolder) EntityDuplicatorExtensionHandler.validateDuplicate(Object entity, ExtensionResultHolder<Boolean> resultHolder) Confirm whether or not duplication operation is allowedEntityDuplicatorExtensionManager.validateDuplicate(Object entity, ExtensionResultHolder<Boolean> resultHolder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.template
Methods in org.broadleafcommerce.common.template with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractTemplateOverrideExtensionHandler.getOverrideTemplate(ExtensionResultHolder<String> erh, Object object) TemplateOverrideExtensionHandler.getOverrideTemplate(ExtensionResultHolder<String> erh, Object object) -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.util
Methods in org.broadleafcommerce.common.util with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractBroadleafMergeResourceExtensionHandler.resolveMessageSource(String code, Locale locale, ExtensionResultHolder<String> result) BroadleafMergeResourceExtensionHandler.resolveMessageSource(String code, Locale locale, ExtensionResultHolder<String> result) -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.web
Methods in org.broadleafcommerce.common.web with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractBroadleafTemplateResolverExtensionHandler.appendCacheKey(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) BroadleafTemplateViewResolverExtensionHandler.appendCacheKey(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to alter the cache key for the view.AbstractBroadleafTemplateResolverExtensionHandler.overrideView(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) BroadleafTemplateViewResolverExtensionHandler.overrideView(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to override the view name.AbstractBroadleafTemplateResolverExtensionHandler.provideTemplateWrapper(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) BroadleafTemplateViewResolverExtensionHandler.provideTemplateWrapper(ExtensionResultHolder<String> erh, String originalViewName, boolean isAjaxRequest) Allows an extension handler to provide a wrapper for the template. -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.web.cache
Methods in org.broadleafcommerce.common.web.cache with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractBLCICacheExtensionHandler.getCache(Object key, ExtensionResultHolder<Object> erh, org.broadleafcommerce.presentation.cache.BroadleafTemplateCacheContext blciCache) BLCICacheExtensionHandler.getCache(Object key, ExtensionResultHolder<Object> erh, org.broadleafcommerce.presentation.cache.BroadleafTemplateCacheContext blciCache) -
Uses of ExtensionResultHolder in org.broadleafcommerce.common.web.resource
Methods in org.broadleafcommerce.common.web.resource with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractResourceRequestExtensionHandler.getModifiedResource(String path, ExtensionResultHolder erh) ResourceRequestExtensionHandler.getModifiedResource(String path, ExtensionResultHolder erh) Populates the RESOURCE_ATTR field in the ExtensionResultHolder map with an instance ofResourceif the value of the modified resource.AbstractResourceRequestExtensionHandler.getOverrideResource(String path, ExtensionResultHolder erh) ResourceRequestExtensionHandler.getOverrideResource(String path, ExtensionResultHolder erh) Populates the RESOURCE_ATTR field in the ExtensionResultHolder map with an instance ofResourceif there is an override resource available for the current path. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.catalog.dao
Methods in org.broadleafcommerce.core.catalog.dao with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractCategoryDaoExtensionHandler.findCategoryByURI(String uri, ExtensionResultHolder resultHolder) CategoryDaoExtensionHandler.findCategoryByURI(String uri, ExtensionResultHolder resultHolder) AbstractProductDaoExtensionHandler.findProductByURI(String uri, ExtensionResultHolder resultHolder) ProductDaoExtensionHandler.findProductByURI(String uri, ExtensionResultHolder resultHolder) AbstractSkuDaoExtensionHandler.findSkuByURI(String uri, ExtensionResultHolder resultHolder) SkuDaoExtensionHandler.findSkuByURI(String uri, ExtensionResultHolder resultHolder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.catalog.service
Methods in org.broadleafcommerce.core.catalog.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractCatalogServiceExtensionHandler.findCategoryByURI(String uri, ExtensionResultHolder resultHolder) AbstractCatalogServiceExtensionHandler.findCategoryByURI(CatalogContextDTO context, String uri, ExtensionResultHolder resultHolder) CatalogServiceExtensionHandler.findCategoryByURI(String uri, ExtensionResultHolder resultHolder) CatalogServiceExtensionHandler.findCategoryByURI(CatalogContextDTO context, String uri, ExtensionResultHolder resultHolder) AbstractCatalogServiceExtensionHandler.findProductByURI(String uri, ExtensionResultHolder resultHolder) AbstractCatalogServiceExtensionHandler.findProductByURI(CatalogContextDTO context, String uri, ExtensionResultHolder resultHolder) CatalogServiceExtensionHandler.findProductByURI(String uri, ExtensionResultHolder resultHolder) CatalogServiceExtensionHandler.findProductByURI(CatalogContextDTO context, String uri, ExtensionResultHolder resultHolder) AbstractCatalogServiceExtensionHandler.findSkuByURI(String uri, ExtensionResultHolder resultHolder) AbstractCatalogServiceExtensionHandler.findSkuByURI(CatalogContextDTO context, String uri, ExtensionResultHolder resultHolder) CatalogServiceExtensionHandler.findSkuByURI(String uri, ExtensionResultHolder resultHolder) CatalogServiceExtensionHandler.findSkuByURI(CatalogContextDTO context, String uri, ExtensionResultHolder resultHolder) DuplicationValidatorExtensionHandlerImpl.getCatalogsForPropagation(MultiTenantCopyContext context, ExtensionResultHolder<List<MultiTenantCopyContext>> resultHolder) DuplicationValidatorExtensionHandlerImpl.getClonesByCatalogs(String tableName, Long id, MultiTenantCopyContext multiTenantCopyContext, ExtensionResultHolder<Map<Long, Map<Long, Long>>> resultHolder) DuplicationValidatorExtensionHandlerImpl.setupDuplicate(Object entity, ExtensionResultHolder<MultiTenantCopyContext> resultHolder) DuplicationValidatorExtensionHandlerImpl.validateDuplicate(Object entity, ExtensionResultHolder<Boolean> resultHolder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.catalog.service.extension
Methods in org.broadleafcommerce.core.catalog.service.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractPreviewProductUrlModifierExtensionHandler.modifyUrl(Product product, ExtensionResultHolder<String> holder) PreviewProductUrlModifierExtensionHandler.modifyUrl(Product product, ExtensionResultHolder<String> holder) ProductUrlDuplicatorExtensionHandler.modifyUrl(String url, Product product, ExtensionResultHolder<String> holder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.checkout.service.workflow.extension
Methods in org.broadleafcommerce.core.checkout.service.workflow.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractValidateCheckoutActivityExtensionHandler.validateCheckout(CheckoutSeed request, ExtensionResultHolder<Exception> resultHolder) ValidateCheckoutActivityExtensionHandler.validateCheckout(CheckoutSeed request, ExtensionResultHolder<Exception> resultHolder) This extension allows one to validate a checkout request before it succeeds and specify an exception to throw if the request is found to be invalid. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.inventory.service
Methods in org.broadleafcommerce.core.inventory.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractInventoryServiceExtensionHandler.isBlockingAvailabilityOfProduct(Product baseProduct, Product product, ExtensionResultHolder<Boolean> holder) InventoryServiceExtensionHandler.isBlockingAvailabilityOfProduct(Product baseProduct, Product product, ExtensionResultHolder<Boolean> holder) This determines if the missing quantity is critical (blocking) to be added to the cart Usually invoked via the UncacheableDataProcessor to determine the availability of product.AbstractInventoryServiceExtensionHandler.isProductBundleAvailable(Product product, int quantity, ExtensionResultHolder<Boolean> holder) InventoryServiceExtensionHandler.isProductBundleAvailable(Product product, int quantity, ExtensionResultHolder<Boolean> holder) Usually invoked via the AdvancedProduct to determine the availability of product bundle.AbstractInventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context, ExtensionResultHolder<Map<Sku, Integer>> result) InventoryServiceExtensionHandler.retrieveQuantitiesAvailable(Collection<Sku> skus, Map<String, Object> context, ExtensionResultHolder<Map<Sku, Integer>> result) Usually invoked within theCheckAddAvailabilityActivityto retrieve the quantity that is available for the given skus. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.offer.dao
Methods in org.broadleafcommerce.core.offer.dao with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionDefaultOfferCodeDaoExtensionHandler.createReadOfferCodeByCodeQuery(jakarta.persistence.EntityManager em, ExtensionResultHolder<jakarta.persistence.Query> resultHolder, String code, boolean cacheable, String cacheRegion) OfferCodeDaoExtensionHandler.createReadOfferCodeByCodeQuery(jakarta.persistence.EntityManager em, ExtensionResultHolder<jakarta.persistence.Query> resultHolder, String code, boolean cacheable, String cacheRegion) This allows for an alternative, or non-default query to be created / used to find an offer code by a code string. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.offer.service
Methods in org.broadleafcommerce.core.offer.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractOfferServiceExtensionHandler.createOrderItemPriceDetailAdjustment(ExtensionResultHolder<?> resultHolder, OrderItemPriceDetail itemDetail) OfferServiceExtensionHandler.createOrderItemPriceDetailAdjustment(ExtensionResultHolder<?> resultHolder, OrderItemPriceDetail itemDetail) Allows module extensions to add a create a new instance of OrderItemPriceDetailAdjustment.OfferServiceExtensionManager.createOrderItemPriceDetailAdjustment(ExtensionResultHolder<?> resultHolder, OrderItemPriceDetail itemDetail) -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.order.service
Methods in org.broadleafcommerce.core.order.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractOrderServiceExtensionHandler.findCartForCustomerWithEnhancements(Customer customer, ExtensionResultHolder erh) AbstractOrderServiceExtensionHandler.findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh) OrderServiceExtensionHandler.findCartForCustomerWithEnhancements(Customer customer, ExtensionResultHolder erh) Retrieve an enhanced version of the cart for the customer.OrderServiceExtensionHandler.findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh) Retrieve an enhanced version of the cart for the customer.OrderServiceExtensionManager.findCartForCustomerWithEnhancements(Customer customer, ExtensionResultHolder erh) OrderServiceExtensionManager.findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh) AbstractOrderServiceExtensionHandler.preValidateCartOperation(Order cart, ExtensionResultHolder erh) OrderServiceExtensionHandler.preValidateCartOperation(Order cart, ExtensionResultHolder erh) OrderServiceExtensionManager.preValidateCartOperation(Order cart, ExtensionResultHolder erh) AbstractOrderServiceExtensionHandler.preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh) OrderServiceExtensionHandler.preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh) OrderServiceExtensionManager.preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh) -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.order.service.workflow.add.extension
Methods in org.broadleafcommerce.core.order.service.workflow.add.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractValidateAddRequestActivityExtensionHandler.validate(CartOperationRequest request, ExtensionResultHolder<Exception> resultHolder) ValidateAddRequestActivityExtensionHandler.validate(CartOperationRequest request, ExtensionResultHolder<Exception> resultHolder) This extension allows for one to validate an add request without having to override or extendValidateAddRequestActivity. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.search.service.solr
Methods in org.broadleafcommerce.core.search.service.solr with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractSolrSearchServiceExtensionHandler.getPropertyNameForIndexField(IndexField field, FieldType fieldType, String prefix, ExtensionResultHolder<String> erh) SolrSearchServiceExtensionHandler.getPropertyNameForIndexField(IndexField field, FieldType fieldType, String prefix, ExtensionResultHolder<String> erh) Extension point to allow overriding the way the property name for an index field with the given field type and prefix is built.AbstractSolrSearchServiceExtensionHandler.getQueryField(org.apache.solr.client.solrj.SolrQuery query, SearchCriteria searchCriteria, IndexFieldType indexFieldType, ExtensionResultHolder<List<String>> queryFieldsResult) SolrSearchServiceExtensionHandler.getQueryField(org.apache.solr.client.solrj.SolrQuery query, SearchCriteria searchCriteria, IndexFieldType indexFieldType, ExtensionResultHolder<List<String>> queryFieldsResult) Finds and adds the query fields for the given search field and searchable field type. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.web.breadcrumbs
Methods in org.broadleafcommerce.core.web.breadcrumbs with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionprotected CategoryCategoryBreadcrumbServiceExtensionHandler.determineFirstCategory(String testUrl, Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) protected ProductProductBreadcrumbServiceExtensionHandler.determineProduct(String url, Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) SimpleSearchBreadcrumbServiceExtensionHandler.getBreadcrumbParams(Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) protected StringSimpleSearchBreadcrumbServiceExtensionHandler.getBreadcrumbUrl(String url, ExtensionResultHolder<List<BreadcrumbDTO>> holder) AbstractBreadcrumbServiceExtensionHandler.modifyBreadcrumbList(String url, Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) CategoryBreadcrumbServiceExtensionHandler.modifyBreadcrumbList(String url, Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) HomePageBreadcrumbServiceExtensionHandler.modifyBreadcrumbList(String url, Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) ProductBreadcrumbServiceExtensionHandler.modifyBreadcrumbList(String url, Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) SimpleSearchBreadcrumbServiceExtensionHandler.modifyBreadcrumbList(String url, Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) protected voidProductBreadcrumbServiceExtensionHandler.updateContextMap(String origUrl, Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) Remove the productId and the last fragment of the URLprotected voidSimpleSearchBreadcrumbServiceExtensionHandler.updateContextMap(Map<String, String[]> params, ExtensionResultHolder<List<BreadcrumbDTO>> holder) This handler only manages keyword. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.web.order.security
Methods in org.broadleafcommerce.core.web.order.security with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractCartStateRequestProcessorExtensionHandler.lookupOrCreateCart(org.springframework.web.context.request.WebRequest request, Customer customer, ExtensionResultHolder<Order> resultHolder) Allows an extension to return a cart skipping the out of box processing that normally performs this function.CartStateRequestProcessorExtensionHandler.lookupOrCreateCart(org.springframework.web.context.request.WebRequest request, Customer customer, ExtensionResultHolder<Order> resultHolder) Throws an exception if cart is invalid. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.web.processor
Methods in org.broadleafcommerce.core.web.processor with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionCategoriesProcessorExtensionHandler.findAllPossibleChildCategories(String parentCategory, String maxResults, ExtensionResultHolder<List<Category>> resultHolder) ProductOptionsProcessorExtensionHandler.modifyPriceForOverrides(Sku targetSku, ExtensionResultHolder<Money> price, Long addOnXrefId) -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.web.resolver
Methods in org.broadleafcommerce.core.web.resolver with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractDatabaseResourceResolverExtensionHandler.resolveResource(ExtensionResultHolder erh, String resourceName) DatabaseResourceResolverExtensionHandler.resolveResource(ExtensionResultHolder erh, String resourceName) If this method returns any of the handled conditions inExtensionResultStatusType, the value keyed byDatabaseResourceResolverExtensionHandler.IS_KEYin theExtensionResultHolder's context map will be anInputStreamof the resolved resource's contents. -
Uses of ExtensionResultHolder in org.broadleafcommerce.core.web.service
Methods in org.broadleafcommerce.core.web.service with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractUpdateCartServiceExtensionHandler.updateAndValidateCart(Order cart, ExtensionResultHolder resultHolder) Throws an exception if cart is invalid.i18nUpdateCartServiceExtensionHandler.updateAndValidateCart(Order cart, ExtensionResultHolder resultHolder) If the locale of the cart does not match the current locale, then this extension handler will attempt to translate the order items.UpdateCartServiceExtensionHandler.updateAndValidateCart(Order cart, ExtensionResultHolder resultHolder) Throws an exception if cart is invalid. -
Uses of ExtensionResultHolder in org.broadleafcommerce.openadmin.server.security.extension
Methods in org.broadleafcommerce.openadmin.server.security.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAdminSecurityServiceExtensionHandler.hasPrivilegesForOperation(AdminUser adminUser, PermissionType permissionType, ExtensionResultHolder<Boolean> erh) Checks if the user can perform APPROVE/REJECT operation without edit privilegesDefaultAdminSecurityServiceExtensionHandler.hasPrivilegesForOperation(AdminUser adminUser, PermissionType permissionType, ExtensionResultHolder<Boolean> erh) -
Uses of ExtensionResultHolder in org.broadleafcommerce.openadmin.server.service.persistence.extension
Methods in org.broadleafcommerce.openadmin.server.service.persistence.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAdornedTargetAutoPopulateExtensionHandler.validateSubmittedAdornedTargetManagedFields(Entity entity, Serializable instance, Map<String, FieldMetadata> entityFieldMetadata, BasicFieldMetadata propertyMetadata, String propertyName, String value, ExtensionResultHolder<Boolean> validationResult) Provide validation during persistence. -
Uses of ExtensionResultHolder in org.broadleafcommerce.openadmin.server.service.persistence.module.extension
Methods in org.broadleafcommerce.openadmin.server.service.persistence.module.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractBasicPersistenceModuleExtensionHandler.rebalanceForAdd(BasicPersistenceModule basicPersistenceModule, PersistencePackage persistencePackage, Serializable instance, Map<String, FieldMetadata> mergedProperties, ExtensionResultHolder<Serializable> resultHolder) BasicPersistenceModuleExtensionHandler.rebalanceForAdd(BasicPersistenceModule basicPersistenceModule, PersistencePackage persistencePackage, Serializable instance, Map<String, FieldMetadata> mergedProperties, ExtensionResultHolder<Serializable> resultHolder) Handle additions of new members to a basic collection when the items are sortableDefaultBasicPersistenceModuleExtensionHandler.rebalanceForAdd(BasicPersistenceModule basicPersistenceModule, PersistencePackage persistencePackage, Serializable instance, Map<String, FieldMetadata> mergedProperties, ExtensionResultHolder<Serializable> resultHolder) AbstractBasicPersistenceModuleExtensionHandler.rebalanceForUpdate(BasicPersistenceModule basicPersistenceModule, PersistencePackage persistencePackage, Serializable instance, Map<String, FieldMetadata> mergedProperties, Object primaryKey, ExtensionResultHolder<Serializable> resultHolder) BasicPersistenceModuleExtensionHandler.rebalanceForUpdate(BasicPersistenceModule basicPersistenceModule, PersistencePackage persistencePackage, Serializable instance, Map<String, FieldMetadata> mergedProperties, Object primaryKey, ExtensionResultHolder<Serializable> resultHolder) Handle reorder change requests from the admin for sortable basic collectionsDefaultBasicPersistenceModuleExtensionHandler.rebalanceForUpdate(BasicPersistenceModule basicPersistenceModule, PersistencePackage persistencePackage, Serializable instance, Map<String, FieldMetadata> mergedProperties, Object primaryKey, ExtensionResultHolder<Serializable> resultHolder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.openadmin.server.service.persistence.module.provider.extension
Methods in org.broadleafcommerce.openadmin.server.service.persistence.module.provider.extension with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionMediaFieldPersistenceProviderExtensionHandler.checkDirtyState(Media oldMedia, Media newMedia, ExtensionResultHolder<Boolean> resultHolder) RuleFieldPersistenceProviderExtensionHandler.establishDirtyState(Object rule, ExtensionResultHolder<Boolean> resultHolder) RuleFieldPersistenceProviderExtensionHandler.postAdd(Object rule, ExtensionResultHolder resultHolder) RuleFieldPersistenceProviderCascadeExtensionHandler.postCascadeAdd(Object rule, DataDTO dataDTO, ExtensionResultHolder resultHolder) Setup proper prod record enterprise state for a propagated rule addition.MediaFieldPersistenceProviderExtensionHandler.retrieveMedia(Object instance, PopulateValueRequest request, ExtensionResultHolder<Tuple<Media, Boolean>> resultHolder) BasicFieldPersistenceProviderExtensionHandler.transformForeignKey(ExtractValueRequest request, Property property, ExtensionResultHolder<Serializable> resultHolder) BasicFieldPersistenceProviderExtensionHandler.transformId(ExtractValueRequest request, Property property, ExtensionResultHolder<Serializable> resultHolder) MediaFieldPersistenceProviderExtensionHandler.transformId(Media media, ExtensionResultHolder<Long> resultHolder) RuleFieldPersistenceProviderExtensionHandler.transformId(Object rule, ExtensionResultHolder<Long> resultHolder) -
Uses of ExtensionResultHolder in org.broadleafcommerce.openadmin.web.controller
Methods in org.broadleafcommerce.openadmin.web.controller with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractAdminAbstractControllerExtensionHandler.isAddRequest(Entity entity, ExtensionResultHolder<Boolean> resultHolder) AdminAbstractControllerExtensionHandler.isAddRequest(Entity entity, ExtensionResultHolder<Boolean> resultHolder) Extension point to determine if the entity requested is a new empty add request.AbstractAdminAbstractControllerExtensionHandler.overrideSaveEntityJsonResponse(jakarta.servlet.http.HttpServletResponse response, boolean hasValidationErrors, String sectionKey, String id, ExtensionResultHolder<String> resultHolder) AdminAbstractControllerExtensionHandler.overrideSaveEntityJsonResponse(jakarta.servlet.http.HttpServletResponse response, boolean hasValidationErrors, String sectionKey, String id, ExtensionResultHolder<String> resultHolder) Extension point to determine if the current save transaction is the first valid save. -
Uses of ExtensionResultHolder in org.broadleafcommerce.openadmin.web.filter
Methods in org.broadleafcommerce.openadmin.web.filter with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAdminRequestProcessorExtensionHandler.overrideCurrentCatalog(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Catalog> result) AdminRequestProcessorExtensionManager.overrideCurrentCatalog(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Catalog> result) AdminRequestProcessorExtensionHandler.overrideCurrentProfile(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Site> result) AdminRequestProcessorExtensionManager.overrideCurrentProfile(org.springframework.web.context.request.WebRequest request, Site currentSite, ExtensionResultHolder<Site> result) AdminRequestProcessorExtensionHandler.retrieveCatalogs(Site currentSite, ExtensionResultHolder<Set<Catalog>> result) AdminRequestProcessorExtensionManager.retrieveCatalogs(Site currentSite, ExtensionResultHolder<Set<Catalog>> result) AdminRequestProcessorExtensionHandler.retrieveProfiles(Site currentSite, ExtensionResultHolder<Set<Site>> result) AdminRequestProcessorExtensionManager.retrieveProfiles(Site currentSite, ExtensionResultHolder<Set<Site>> result) -
Uses of ExtensionResultHolder in org.broadleafcommerce.profile.web.core.security
Methods in org.broadleafcommerce.profile.web.core.security with parameters of type ExtensionResultHolderModifier and TypeMethodDescriptionAbstractAnonymousCustomerExtensionHandler.getAnonymousCustomer(ExtensionResultHolder<Customer> customerHolder, org.springframework.web.context.request.WebRequest request) AnonymousCustomerExtensionHandler.getAnonymousCustomer(ExtensionResultHolder<Customer> customerHolder, org.springframework.web.context.request.WebRequest request) This allows other modules to handle the resolution of an anonymous customer.CustomerMergeExtensionHandler.merge(ExtensionResultHolder<Customer> customerHolder, org.springframework.web.context.request.WebRequest request, Customer anonymousCustomer) This allows multiple extensions to modify or copy attributes from the anonymous customer, to the customer.DefaultCustomerMergeExtensionHandler.merge(ExtensionResultHolder<Customer> customerHolder, org.springframework.web.context.request.WebRequest request, Customer anonymousCustomer)