Blueprint Developer Manual / Version 2512.1
Table Of Contents
The interface ContentVariantService
defines methods that let you access baseline and variant content items
without having to deal with the intricacies of the content type model.
The Spring application context provides an instance of this interface in
the CAE, the Headless Server, the Studio Server, and the Content Feeder.
In particular, the service retrieves the variant descriptions for a
given baseline content item. These descriptions use subclasses of the
ContentVariant interface:
A
SegmentedContentVariantrepresents a variant that is shown to one or more user segments.A
TestCaseContentVariantrepresents a variant that is shown to users assigned to a certain test case.A
TestControlContentVariantindicates that a user belongs to a test control group. Unlike the other two descriptions, a test control does not come with a specific variant content item to render. Instead, the CAE should render the variant with the highest priority but count the view towards the test control.
You can also navigate from a variant back to its baseline and retrieve the properties of a variant, in particular the conditions that activate it.


