Package org.openbravo.materialmgmt
Class ManageVariantsCustomProductCharacteristicWhereClause
- java.lang.Object
-
- org.openbravo.materialmgmt.ManageVariantsCustomProductCharacteristicWhereClause
-
- All Implemented Interfaces:
ProductCharacteristicCustomWhereClause
@ApplicationScoped 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 Summary
Constructors Constructor Description ManageVariantsCustomProductCharacteristicWhereClause()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCustomWhereClause(Map<String,String> requestParameters, Map<String,Object> queryNamedParameters)
Method that will be invoked by the ProductCharacteristicsDS datasource, to obtain a where clause that will be added to the product characteristics query.
-
-
-
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 interfaceProductCharacteristicCustomWhereClause
- Parameters:
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 definedqueryNamedParameters
- map where the query parameters should be included, if any- Returns:
- an HQL where clause, omitting the WHERE keyword
-
-