Class CxExpressionTriggerModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

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

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

    • 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, String _code, 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, String _code, 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 Details

    • getExpression

      @Accessor(qualifier="expression", type=GETTER) public 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 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(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(Collection<CxSegmentModel> value)
      Generated method - Setter of CxExpressionTrigger.segments attribute defined at extension personalizationservices.
      Parameters:
      value - the segments