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 ContextRequestContextInfo. getContextRequest()Specific sandbox and multitenant context information.ContextRequestContextInfoWebRequestResolver. 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)ContextRequestContextRequest. withAccountId(String accountId)ContextRequestContextRequest. withApplication(Application application)ContextRequestContextRequest. withApplicationId(String applicationId)ContextRequestContextRequest. withCatalog(Catalog catalog)ContextRequestContextRequest. withCatalogHierarchy(InheritanceLines catalogHierarchy)ContextRequestContextRequest. withCatalogId(String catalogId)ContextRequestContextRequest. withCatalogLevel(Long catalogLevel)ContextRequestContextRequest. withCustomerContextId(String customerContextId)ContextRequestContextRequest. withSandBoxId(String sandBoxId)ContextRequestContextRequest. withSandBoxName(String sandBoxName)ContextRequestContextRequest. withTenantId(String tenantId)Methods in com.broadleafcommerce.data.tracking.core.context with parameters of type ContextRequest Modifier and Type Method Description protected voidContextInfoWebRequestResolver. determineAccountId(ContextRequest contextRequest, org.springframework.web.context.request.NativeWebRequest req)ContextInfoContextInfoWebRequestResolver. 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 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 booleanPreviewToken. 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 ContextRequest Modifier and Type Method Description protected ContextRequestDefaultScheduledJobContextService. createContextRequest()protected ContextRequestDefaultScheduledJobContextService. hydrate(ContextRequest contextRequest)Methods in com.broadleafcommerce.data.tracking.core.service.scheduledjob with parameters of type ContextRequest Modifier and Type Method Description protected ContextRequestDefaultScheduledJobContextService. 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 ContextRequestContextRequestConverter. convert(String source)ContextRequestContextRequestHydrator. hydrate(ContextRequest dehydrated)Hydrates aContextRequestwith all of the hierarchical tenant data necessary to drive a discriminated request.ContextRequestDefaultContextRequestHydrator. 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 voidDefaultContextRequestHydrator. determineCatalog(ContextRequest request)Given the requested catalog id (getCatalogId()), figure out the correct Catalog instance to set on the ContextRequest.ContextRequestContextRequestHydrator. hydrate(ContextRequest dehydrated)Hydrates aContextRequestwith all of the hierarchical tenant data necessary to drive a discriminated request.ContextRequestDefaultContextRequestHydrator. 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.
-