Class CxSegmentTriggerModel

  • All Implemented Interfaces:
    java.io.Serializable

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

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • GROUPBY

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

        public static final java.lang.String SEGMENTS
        Generated constant - Attribute key of CxSegmentTrigger.segments attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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,
                                     java.lang.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,
                                     java.lang.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 Detail

      • 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 java.util.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​(java.util.Collection<CxSegmentModel> value)
        Generated method - Setter of CxSegmentTrigger.segments attribute defined at extension personalizationservices.
        Parameters:
        value - the segments