Class AbstractBundleRuleModel

    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String ID
        Generated constant - Attribute key of AbstractBundleRule.id attribute defined at extension configurablebundleservices.
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Generated constant - Attribute key of AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of AbstractBundleRule.name attribute defined at extension configurablebundleservices.
        See Also:
        Constant Field Values
      • RULETYPE

        public static final java.lang.String RULETYPE
        Generated constant - Attribute key of AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
        See Also:
        Constant Field Values
      • CONDITIONALPRODUCTS

        public static final java.lang.String CONDITIONALPRODUCTS
        Generated constant - Attribute key of AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.
        See Also:
        Constant Field Values
      • TARGETPRODUCTS

        public static final java.lang.String TARGETPRODUCTS
        Generated constant - Attribute key of AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractBundleRuleModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractBundleRuleModel​(CatalogVersionModel _catalogVersion)
        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 AbstractBundleRule at extension configurablebundleservices
      • AbstractBundleRuleModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractBundleRuleModel​(CatalogVersionModel _catalogVersion,
                                       java.lang.String _id,
                                       ItemModel _owner)
        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 AbstractBundleRule at extension configurablebundleservices
        _id - initial attribute declared by type AbstractBundleRule at extension configurablebundleservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=GETTER)
        public CatalogVersionModel getCatalogVersion()
        Generated method - Getter of the AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices.
        Returns:
        the catalogVersion - Catalog Version
      • getConditionalProducts

        @Accessor(qualifier="conditionalProducts",
                  type=GETTER)
        public java.util.Collection<ProductModel> getConditionalProducts()
        Generated method - Getter of the AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the conditionalProducts
      • getId

        @Accessor(qualifier="id",
                  type=GETTER)
        public java.lang.String getId()
        Generated method - Getter of the AbstractBundleRule.id attribute defined at extension configurablebundleservices.
        Returns:
        the id - Identifier
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the AbstractBundleRule.name attribute defined at extension configurablebundleservices.
        Returns:
        the name - Name of the bundle rule
      • getRuleType

        @Accessor(qualifier="ruleType",
                  type=GETTER)
        public BundleRuleTypeEnum getRuleType()
        Generated method - Getter of the AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
        Returns:
        the ruleType
      • getTargetProducts

        @Accessor(qualifier="targetProducts",
                  type=GETTER)
        public java.util.Collection<ProductModel> getTargetProducts()
        Generated method - Getter of the AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the targetProducts
      • setCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=SETTER)
        public void setCatalogVersion​(CatalogVersionModel value)
        Generated method - Initial setter of AbstractBundleRule.catalogVersion attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the catalogVersion - Catalog Version
      • setConditionalProducts

        @Accessor(qualifier="conditionalProducts",
                  type=SETTER)
        public void setConditionalProducts​(java.util.Collection<ProductModel> value)
        Generated method - Setter of AbstractBundleRule.conditionalProducts attribute defined at extension configurablebundleservices.
        Parameters:
        value - the conditionalProducts
      • setId

        @Accessor(qualifier="id",
                  type=SETTER)
        public void setId​(java.lang.String value)
        Generated method - Initial setter of AbstractBundleRule.id attribute defined at extension configurablebundleservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the id - Identifier
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of AbstractBundleRule.name attribute defined at extension configurablebundleservices.
        Parameters:
        value - the name - Name of the bundle rule
      • setRuleType

        @Accessor(qualifier="ruleType",
                  type=SETTER)
        public void setRuleType​(BundleRuleTypeEnum value)
        Generated method - Setter of AbstractBundleRule.ruleType attribute defined at extension configurablebundleservices.
        Parameters:
        value - the ruleType
      • setTargetProducts

        @Accessor(qualifier="targetProducts",
                  type=SETTER)
        public void setTargetProducts​(java.util.Collection<ProductModel> value)
        Generated method - Setter of AbstractBundleRule.targetProducts attribute defined at extension configurablebundleservices.
        Parameters:
        value - the targetProducts