Class ReturnFromCustomerVendorPropertyFieldsTransformer

  • public class ReturnFromCustomerVendorPropertyFieldsTransformer
    extends ReturnToFromCustomerVendorHQLTransformer
    Transformer to enable Property Fields in Return to Customer and Return to Vendor P&E grids
    • Constructor Detail

      • ReturnFromCustomerVendorPropertyFieldsTransformer

        public ReturnFromCustomerVendorPropertyFieldsTransformer()
    • Method Detail

      • getPriority

        public int getPriority​(Map<String,​String> parameters)
        Description copied from class: HqlQueryPriorityHandler
        Returns the priority of this handler based on the parameters of the request
        getPriority in class HqlQueryPriorityHandler
        parameters - the parameters of the request
        the priority of this injector
      • transformHqlQuery

        public String transformHqlQuery​(String hqlQuery,
                                        Map<String,​String> requestParameters,
                                        Map<String,​Object> queryNamedParameters)
        Description copied from class: HqlQueryTransformer
        Returns the transformed hql query
        transformHqlQuery in class ReturnToFromCustomerVendorHQLTransformer
        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