Class ManageVariantsCustomProductCharacteristicWhereClause

  • All Implemented Interfaces:

    public class ManageVariantsCustomProductCharacteristicWhereClause
    extends Object
    implements ProductCharacteristicCustomWhereClause
    Implementation of ManageVariantsCustomProductCharacteristicWhereClause for the Manage Variants process Defines a where clause that returns the variant characteristics of the selected product. If the product characteristic references a characterictisc value subset, only the values that are part of the subset are shown
    • Constructor Detail

      • ManageVariantsCustomProductCharacteristicWhereClause

        public ManageVariantsCustomProductCharacteristicWhereClause()
    • Method Detail

      • getCustomWhereClause

        public String getCustomWhereClause​(Map<String,​String> requestParameters,
                                           Map<String,​Object> queryNamedParameters)
        Description copied from interface: ProductCharacteristicCustomWhereClause
        Method that will be invoked by the ProductCharacteristicsDS datasource, to obtain a where clause that will be added to the product characteristics query. The returned where clause must not include the WHERE keyword
        Specified by:
        getCustomWhereClause in interface ProductCharacteristicCustomWhereClause
        requestParameters - the map of parameters included in the http request. It will include a _buttonOwnerContextInfo that will contain the context information of the tab where the process definition button is defined
        queryNamedParameters - map where the query parameters should be included, if any
        an HQL where clause, omitting the WHERE keyword