Class MatchStatementTransformer
- java.lang.Object
-
- org.openbravo.service.datasource.hql.HqlQueryPriorityHandler
-
- org.openbravo.service.datasource.hql.HqlQueryTransformer
-
- org.openbravo.advpaymentmngt.hqlinjections.MatchStatementTransformer
-
public class MatchStatementTransformer extends HqlQueryTransformer
-
-
Constructor Summary
Constructors Constructor Description MatchStatementTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getDefaultOrderByClause(Map<String,String> requestParameters, Map<String,Object> queryNamedParameters)
protected String
getWhereClause(Map<String,String> requestParameters, Map<String,Object> queryNamedParameters)
String
transformHqlQuery(String _hqlQuery, Map<String,String> requestParameters, Map<String,Object> queryNamedParameters)
Returns the transformed hql query-
Methods inherited from class org.openbravo.service.datasource.hql.HqlQueryTransformer
transFormQuery
-
Methods inherited from class org.openbravo.service.datasource.hql.HqlQueryPriorityHandler
getPriority
-
-
-
-
Method Detail
-
transformHqlQuery
public String transformHqlQuery(String _hqlQuery, Map<String,String> requestParameters, Map<String,Object> queryNamedParameters)
Description copied from class:HqlQueryTransformer
Returns the transformed hql query- Specified by:
transformHqlQuery
in classHqlQueryTransformer
- Parameters:
_hqlQuery
- original hql queryrequestParameters
- the parameters of the requestqueryNamedParameters
- the named parameters of the hql query that will be used to fetch the table data. If the transformed hql query uses named parameters that did not exist in the original hql query, the named parameters must be added to this map- Returns:
- the transformed hql query
-
getWhereClause
protected String getWhereClause(Map<String,String> requestParameters, Map<String,Object> queryNamedParameters)
-
-