Class CxSegmentTriggerModel

All Implemented Interfaces:
Serializable

public class CxSegmentTriggerModel extends CxAbstractTriggerModel
Generated model class for type CxSegmentTrigger first defined at extension personalizationservices.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • GROUPBY

      public static final String GROUPBY
      Generated constant - Attribute key of CxSegmentTrigger.groupBy attribute defined at extension personalizationservices.
      See Also:
    • SEGMENTS

      public static final String SEGMENTS
      Generated constant - Attribute key of CxSegmentTrigger.segments attribute defined at extension personalizationservices.
      See Also:
  • Constructor Details

    • CxSegmentTriggerModel

      public CxSegmentTriggerModel()
      Generated constructor - Default constructor for generic creation.
    • CxSegmentTriggerModel

      public CxSegmentTriggerModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • CxSegmentTriggerModel

      @Deprecated(since="4.1.1", forRemoval=true) public CxSegmentTriggerModel(CatalogVersionModel _catalogVersion, String _code, CxGroupingOperator _groupBy, CxVariationModel _variation)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CxAbstractTrigger at extension personalizationservices
      _code - initial attribute declared by type CxAbstractTrigger at extension personalizationservices
      _groupBy - initial attribute declared by type CxSegmentTrigger at extension personalizationservices
      _variation - initial attribute declared by type CxAbstractTrigger at extension personalizationservices
    • CxSegmentTriggerModel

      @Deprecated(since="4.1.1", forRemoval=true) public CxSegmentTriggerModel(CatalogVersionModel _catalogVersion, String _code, CxGroupingOperator _groupBy, ItemModel _owner, CxVariationModel _variation)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _catalogVersion - initial attribute declared by type CxAbstractTrigger at extension personalizationservices
      _code - initial attribute declared by type CxAbstractTrigger at extension personalizationservices
      _groupBy - initial attribute declared by type CxSegmentTrigger at extension personalizationservices
      _owner - initial attribute declared by type Item at extension core
      _variation - initial attribute declared by type CxAbstractTrigger at extension personalizationservices
  • Method Details

    • getGroupBy

      @Accessor(qualifier="groupBy", type=GETTER) public CxGroupingOperator getGroupBy()
      Generated method - Getter of the CxSegmentTrigger.groupBy attribute defined at extension personalizationservices.
      Returns:
      the groupBy - How segments are grouped
    • getSegments

      @Accessor(qualifier="segments", type=GETTER) public Collection<CxSegmentModel> getSegments()
      Generated method - Getter of the CxSegmentTrigger.segments attribute defined at extension personalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the segments
    • setGroupBy

      @Accessor(qualifier="groupBy", type=SETTER) public void setGroupBy(CxGroupingOperator value)
      Generated method - Setter of CxSegmentTrigger.groupBy attribute defined at extension personalizationservices.
      Parameters:
      value - the groupBy - How segments are grouped
    • setSegments

      @Accessor(qualifier="segments", type=SETTER) public void setSegments(Collection<CxSegmentModel> value)
      Generated method - Setter of CxSegmentTrigger.segments attribute defined at extension personalizationservices.
      Parameters:
      value - the segments