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 theContextRequest
of a given request based on either the request headers or request parameters.protected ContextRequest
ContextInfoWebRequestResolver.resolveContextRequestFromHeader
(String header) protected ContextRequest
ContextInfoWebRequestResolver.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 void
ContextInfoWebRequestResolver.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 aContextInfo
with the givencontextRequest
andoperationType
, with additional fields populated from data gathered inreq
.void
ContextInfo.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 TypeMethodDescriptionboolean
PreviewToken.matchesContext
(ContextRequest contextRequest) Validates whether or not this preview token matches the providedOperationType
andContextRequest
. -
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 ContextRequest
DefaultScheduledJobContextService.createContextRequest()
protected ContextRequest
DefaultScheduledJobContextService.hydrate
(ContextRequest contextRequest) Methods in com.broadleafcommerce.data.tracking.core.service.scheduledjob with parameters of type ContextRequestModifier and TypeMethodDescriptionprotected ContextRequest
DefaultScheduledJobContextService.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 aContextRequest
with 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 void
DefaultContextRequestHydrator.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 aContextRequest
with 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 void
DefaultContextRequestHydrator.setupCurrentCatalog
(ContextRequest request) Establish thegetCatalogHierarchy()
()} andgetCatalogLevel()
values.