Uses of Class
com.broadleafcommerce.data.tracking.core.context.ContextRequest
-
-
Uses of ContextRequest in com.broadleafcommerce.data.tracking.core.context
Methods in com.broadleafcommerce.data.tracking.core.context that return ContextRequest Modifier and Type Method Description ContextRequest
ContextInfo. getContextRequest()
Specific sandbox and multitenant context information.ContextRequest
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
ContextRequest. withAccountId(String accountId)
ContextRequest
ContextRequest. withApplication(Application application)
ContextRequest
ContextRequest. withApplicationId(String applicationId)
ContextRequest
ContextRequest. withCatalog(Catalog catalog)
ContextRequest
ContextRequest. withCatalogHierarchy(InheritanceLines catalogHierarchy)
ContextRequest
ContextRequest. withCatalogId(String catalogId)
ContextRequest
ContextRequest. withCatalogLevel(Long catalogLevel)
ContextRequest
ContextRequest. withCustomerContextId(String customerContextId)
ContextRequest
ContextRequest. withSandBoxId(String sandBoxId)
ContextRequest
ContextRequest. withSandBoxName(String sandBoxName)
ContextRequest
ContextRequest. withTenantId(String tenantId)
Methods in com.broadleafcommerce.data.tracking.core.context with parameters of type ContextRequest Modifier and Type Method Description protected void
ContextInfoWebRequestResolver. determineAccountId(ContextRequest contextRequest, org.springframework.web.context.request.NativeWebRequest req)
ContextInfo
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 ContextRequest Constructor Description ContextInfo(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 ContextRequest Modifier and Type Method Description boolean
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 ContextRequest Modifier and Type Method Description protected ContextRequest
DefaultScheduledJobContextService. createContextRequest()
protected ContextRequest
DefaultScheduledJobContextService. hydrate(ContextRequest contextRequest)
Methods in com.broadleafcommerce.data.tracking.core.service.scheduledjob with parameters of type ContextRequest Modifier and Type Method Description protected 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 ContextRequest Modifier and Type Method Description ContextRequest
ContextRequestConverter. convert(String source)
ContextRequest
ContextRequestHydrator. hydrate(ContextRequest dehydrated)
Hydrates aContextRequest
with all of the hierarchical tenant data necessary to drive a discriminated request.ContextRequest
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 ContextRequest Modifier and Type Method Description protected void
DefaultContextRequestHydrator. determineCatalog(ContextRequest request)
Given the requested catalog id (getCatalogId()
), figure out the correct Catalog instance to set on the ContextRequest.ContextRequest
ContextRequestHydrator. hydrate(ContextRequest dehydrated)
Hydrates aContextRequest
with all of the hierarchical tenant data necessary to drive a discriminated request.ContextRequest
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.
-