add_product_constraint


Description:

public int add_product_constraint (ProductRelationship relshp, Product product)

Adds a constraint that matches products which have a relationship relshp with product.

Multiple constraints can be set for the same relshp or product, in which case all must match

Parameters:

this

a filter object

relshp

the relationship to filter on

product

the target product to filter on