Uses of Class
com.broadleafcommerce.data.tracking.core.context.ContextRequest
Packages that use ContextRequest
Package
Description
-
Uses of ContextRequest in com.broadleafcommerce.data.tracking.core.context
Methods in com.broadleafcommerce.data.tracking.core.context that return ContextRequestModifier and TypeMethodDescriptionContextInfo.getContextRequest()Specific sandbox and multitenant context information.ContextInfoWebRequestResolver.resolveContextRequest(@NonNull org.springframework.web.context.request.NativeWebRequest webRequest) Resolves theContextRequestof a given request based on either the request headers or request parameters.protected ContextRequestContextInfoWebRequestResolver.resolveContextRequestFromHeader(String header) protected ContextRequestContextInfoWebRequestResolver.resolveContextRequestFromParameter(String param) ContextRequest.withAccountId(String accountId) ContextRequest.withApplication(Application application) ContextRequest.withApplicationId(String applicationId) ContextRequest.withCatalog(Catalog catalog) ContextRequest.withCatalogHierarchy(InheritanceLines catalogHierarchy) ContextRequest.withCatalogId(String catalogId) ContextRequest.withCatalogLevel(Long catalogLevel) ContextRequest.withChangeContainer(ChangeContainer changeContainer) ContextRequest.withCustomerContextId(String customerContextId) ContextRequest.withSandBoxId(String sandBoxId) ContextRequest.withSandBoxName(String sandBoxName) ContextRequest.withTenantId(String tenantId) Methods in com.broadleafcommerce.data.tracking.core.context with parameters of type ContextRequestModifier and TypeMethodDescriptionprotected voidContextInfoWebRequestResolver.determineAccountId(ContextRequest contextRequest, org.springframework.web.context.request.NativeWebRequest req) ContextInfoWebRequestResolver.resolveContextInfo(@NonNull org.springframework.web.context.request.NativeWebRequest req, @NonNull ContextRequest contextRequest, @NonNull OperationType operationType, org.springframework.core.MethodParameter methodParameter) Builds aContextInfowith the givencontextRequestandoperationType, with additional fields populated from data gathered inreq.voidContextInfo.setContextRequest(ContextRequest contextRequest) Specific sandbox and multitenant context information.Constructors in com.broadleafcommerce.data.tracking.core.context with parameters of type ContextRequestModifierConstructorDescriptionContextInfo(OperationType operationType, ContextRequest request) Convenience method for operationType and contextRequestContextInfo(OperationType operationType, ContextRequest request, String author) Convenience method for operationType and contextRequestContextRequest(ContextRequest contextRequest) Create a copy of an existing ContextRequest. -
Uses of ContextRequest in com.broadleafcommerce.data.tracking.core.preview
Methods in com.broadleafcommerce.data.tracking.core.preview with parameters of type ContextRequestModifier and TypeMethodDescriptionbooleanPreviewToken.matchesContext(ContextRequest contextRequest) Validates whether or not this preview token matches the providedOperationTypeandContextRequest. -
Uses of ContextRequest in com.broadleafcommerce.data.tracking.core.service.scheduledjob
Methods in com.broadleafcommerce.data.tracking.core.service.scheduledjob that return ContextRequestModifier and TypeMethodDescriptionprotected ContextRequestDefaultScheduledJobContextService.createContextRequest()protected ContextRequestDefaultScheduledJobContextService.hydrate(ContextRequest contextRequest) Methods in com.broadleafcommerce.data.tracking.core.service.scheduledjob with parameters of type ContextRequestModifier and TypeMethodDescriptionprotected ContextRequestDefaultScheduledJobContextService.hydrate(ContextRequest contextRequest) -
Uses of ContextRequest in com.broadleafcommerce.data.tracking.core.web
Methods in com.broadleafcommerce.data.tracking.core.web that return ContextRequestModifier and TypeMethodDescriptionContextRequestHydrator.hydrate(ContextRequest dehydrated) Hydrates aContextRequestwith all of the hierarchical tenant data necessary to drive a discriminated request.DefaultContextRequestHydrator.hydrate(ContextRequest dehydrated) Hydrates a ContextRequest with all of the hierarchical tenant data necessary to drive a discriminated request.Methods in com.broadleafcommerce.data.tracking.core.web with parameters of type ContextRequestModifier and TypeMethodDescriptionprotected voidDefaultContextRequestHydrator.determineCatalog(ContextRequest request) Given the requested catalog id (getCatalogId()), figure out the correct Catalog instance to set on the ContextRequest.ContextRequestHydrator.hydrate(ContextRequest dehydrated) Hydrates aContextRequestwith all of the hierarchical tenant data necessary to drive a discriminated request.DefaultContextRequestHydrator.hydrate(ContextRequest dehydrated) Hydrates a ContextRequest with all of the hierarchical tenant data necessary to drive a discriminated request.protected voidDefaultContextRequestHydrator.setupCurrentCatalog(ContextRequest request) Establish thegetCatalogHierarchy()()} andgetCatalogLevel()values.