Class CxExpressionTriggerModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CxExpressionTriggerModel
    extends CxAbstractTriggerModel
    Generated model class for type CxExpressionTrigger 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
      • EXPRESSION

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

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

      • CxExpressionTriggerModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CxExpressionTriggerModel​(CatalogVersionModel _catalogVersion,
                                        java.lang.String _code,
                                        java.lang.String _expression,
                                        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
        _expression - initial attribute declared by type CxExpressionTrigger at extension personalizationservices
        _variation - initial attribute declared by type CxAbstractTrigger at extension personalizationservices
      • CxExpressionTriggerModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CxExpressionTriggerModel​(CatalogVersionModel _catalogVersion,
                                        java.lang.String _code,
                                        java.lang.String _expression,
                                        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
        _expression - initial attribute declared by type CxExpressionTrigger 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

      • getExpression

        @Accessor(qualifier="expression",
                  type=GETTER)
        public java.lang.String getExpression()
        Generated method - Getter of the CxExpressionTrigger.expression attribute defined at extension personalizationservices.
        Returns:
        the expression - How segments are grouped
      • getSegments

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

        @Accessor(qualifier="expression",
                  type=SETTER)
        public void setExpression​(java.lang.String value)
        Generated method - Setter of CxExpressionTrigger.expression attribute defined at extension personalizationservices.
        Parameters:
        value - the expression - How segments are grouped
      • setSegments

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