Package | Description |
---|---|
com.broadleafcommerce.data.tracking.core.context | |
com.broadleafcommerce.data.tracking.core.preview | |
com.broadleafcommerce.data.tracking.core.web |
Modifier and Type | Method and Description |
---|---|
ContextRequest |
ContextInfo.getContextRequest()
Specific sandbox and multitenant context information.
|
ContextRequest |
ContextInfoWebRequestResolver.resolveContextRequest(@NonNull org.springframework.web.context.request.NativeWebRequest webRequest)
Resolves the
ContextRequest 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.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) |
Modifier and Type | Method and Description |
---|---|
ContextInfo |
ContextInfoWebRequestResolver.resolveContextInfo(@NonNull org.springframework.web.context.request.NativeWebRequest req,
@NonNull ContextRequest contextRequest,
@NonNull OperationType operationType,
org.springframework.core.MethodParameter methodParameter)
Builds a
ContextInfo with the given contextRequest and operationType ,
with additional fields populated from data gathered in req . |
void |
ContextInfo.setContextRequest(ContextRequest contextRequest)
Specific sandbox and multitenant context information.
|
Constructor and Description |
---|
ContextInfo(OperationType operationType,
ContextRequest request)
Convenience method for operationType and contextRequest
|
ContextInfo(OperationType operationType,
ContextRequest request,
String author)
Convenience method for operationType and contextRequest
|
ContextRequest(ContextRequest contextRequest)
Create a copy of an existing ContextRequest.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PreviewToken.matchesContext(ContextRequest contextRequest)
Validates whether or not this preview token matches the provided
OperationType and
ContextRequest . |
Modifier and Type | Method and Description |
---|---|
ContextRequest |
ContextRequestConverter.convert(String source) |
ContextRequest |
ContextRequestHydrator.hydrate(ContextRequest dehydrated)
Hydrates a
ContextRequest 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.
|
Modifier and Type | Method and 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 a
ContextRequest 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 the
getCatalogHierarchy() ()} and
getCatalogLevel() values. |
Copyright © 2021. All rights reserved.