Class AddPaymentOrderInvoicesTransformer

    • Constructor Detail

      • AddPaymentOrderInvoicesTransformer

        public AddPaymentOrderInvoicesTransformer()
    • 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 class HqlQueryTransformer
        _hqlQuery - original hql query
        requestParameters - the parameters of the request
        queryNamedParameters - 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
        the transformed hql query
      • getSelectClause

        protected StringBuffer getSelectClause​(String transactionType,
                                               boolean hasSelectedIds)
      • removeGridFilters

        protected String removeGridFilters​(String _hqlQuery)
      • calculateHavingClause

        protected String calculateHavingClause​(String _hqlQuery,
                                               String transactionType,
                                               org.codehaus.jettison.json.JSONObject criteria,
                                               Map<String,​Object> queryNamedParameters)
      • transformCriteria

        protected void transformCriteria​(org.codehaus.jettison.json.JSONObject buildCriteria,
                                         List<String> selectedPSDs)
                                  throws org.codehaus.jettison.json.JSONException
      • getAggregatorFunction

        protected String getAggregatorFunction​(String expression)