Uses of Class
com.broadleafcommerce.data.tracking.core.context.ContextRequest
Package
Description
-
Uses of ContextRequest in com.broadleafcommerce.data.tracking.core.context
Modifier 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) Modifier 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.ModifierConstructorDescriptionContextInfo
(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
Modifier 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
Modifier and TypeMethodDescriptionprotected ContextRequest
DefaultScheduledJobContextService.createContextRequest()
protected ContextRequest
DefaultScheduledJobContextService.hydrate
(ContextRequest contextRequest) Modifier and TypeMethodDescriptionprotected ContextRequest
DefaultScheduledJobContextService.hydrate
(ContextRequest contextRequest) -
Uses of ContextRequest in com.broadleafcommerce.data.tracking.core.web
Modifier 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.Modifier 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.