Class GeneratedEntitlementservicesManager

    • Field Detail

      • PRODUCT2PRODUCTENTITLEMENTSRELATIONPRODUCTENTITLEMENTSHANDLER

        protected static final OneToManyHandler<ProductEntitlement> PRODUCT2PRODUCTENTITLEMENTSRELATIONPRODUCTENTITLEMENTSHANDLER
        OneToManyHandler for handling 1:n PRODUCTENTITLEMENTS's relation attributes from 'many' side.
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedEntitlementservicesManager

        public GeneratedEntitlementservicesManager()
    • Method Detail

      • createEntitlement

        public Entitlement createEntitlement​(java.util.Map attributeValues)
      • createProductEntitlement

        public ProductEntitlement createProductEntitlement​(java.util.Map attributeValues)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class Extension
      • getProductEntitlements

        public java.util.Collection<ProductEntitlement> getProductEntitlements​(SessionContext ctx,
                                                                               Product item)
        Generated method - Getter of the Product.productEntitlements attribute.
        Returns:
        the productEntitlements
      • getProductEntitlements

        public java.util.Collection<ProductEntitlement> getProductEntitlements​(Product item)
        Generated method - Getter of the Product.productEntitlements attribute.
        Returns:
        the productEntitlements
      • setProductEntitlements

        public void setProductEntitlements​(SessionContext ctx,
                                           Product item,
                                           java.util.Collection<ProductEntitlement> value)
        Generated method - Setter of the Product.productEntitlements attribute.
        Parameters:
        value - the productEntitlements
      • setProductEntitlements

        public void setProductEntitlements​(Product item,
                                           java.util.Collection<ProductEntitlement> value)
        Generated method - Setter of the Product.productEntitlements attribute.
        Parameters:
        value - the productEntitlements
      • addToProductEntitlements

        public void addToProductEntitlements​(SessionContext ctx,
                                             Product item,
                                             ProductEntitlement value)
        Generated method - Adds value to productEntitlements.
        Parameters:
        value - the item to add to productEntitlements
      • addToProductEntitlements

        public void addToProductEntitlements​(Product item,
                                             ProductEntitlement value)
        Generated method - Adds value to productEntitlements.
        Parameters:
        value - the item to add to productEntitlements
      • removeFromProductEntitlements

        public void removeFromProductEntitlements​(SessionContext ctx,
                                                  Product item,
                                                  ProductEntitlement value)
        Generated method - Removes value from productEntitlements.
        Parameters:
        value - the item to remove from productEntitlements
      • removeFromProductEntitlements

        public void removeFromProductEntitlements​(Product item,
                                                  ProductEntitlement value)
        Generated method - Removes value from productEntitlements.
        Parameters:
        value - the item to remove from productEntitlements