Class CustomerSegmentResolverEndpoint
java.lang.Object
com.broadleafcommerce.customer.web.endpoint.CustomerSegmentResolverEndpoint
@FrameworkRestController
@FrameworkMapping("/segment-resolver")
@DataRouteByExample(CustomerSegment.class)
public class CustomerSegmentResolverEndpoint
extends Object
- Author:
- Nathan Moore (nathandmoore)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCustomerSegmentResolverEndpoint
(CustomerSegmentService<CustomerSegment> customerSegmentService) -
Method Summary
Modifier and TypeMethodDescriptionprotected CustomerSegmentService<CustomerSegment>
resolveSegments
(ResolveCustomerSegmentsRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
Field Details
-
BASE_URI
- See Also:
-
-
Constructor Details
-
CustomerSegmentResolverEndpoint
public CustomerSegmentResolverEndpoint(CustomerSegmentService<CustomerSegment> customerSegmentService)
-
-
Method Details
-
resolveSegments
@Policy(permissionRoots={"CUSTOMER_SEGMENT","CUSTOMER_SEGMENT_RESOLVER"}) @FrameworkPostMapping(consumes="application/json") public ResolveCustomerSegmentResponse resolveSegments(@RequestBody ResolveCustomerSegmentsRequest request, @ContextOperation com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
getCustomerSegmentService
-