Advertisement
Guest User

Untitled

a guest
Dec 15th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.80 KB | None | 0 0
  1. // SOM_CustomerCtrl
  2.  
  3. @AuraEnabled
  4. public static COM_PageWrapper getDealerCustomers(String pageRequestS, Map<String, Object> searchParams) {
  5.     return getDealerCustomers(pageRequestS);       
  6. }
  7.  
  8.         filterMappings.put(
  9.             'customerId',
  10.             new COM_ConditionBuilder.Mapping(
  11.                 'Id',
  12.                 COM_ConditionBuilder.Operator.EQUALS
  13.             )
  14.         );
  15.         filterMappings.put(
  16.             'customerName',
  17.             new COM_ConditionBuilder.Mapping(
  18.                 'Name',
  19.                 COM_ConditionBuilder.Operator.EQUALS
  20.             )
  21.         );
  22.         filterMappings.put(
  23.             'dealerBranchName',
  24.             new COM_ConditionBuilder.Mapping(
  25.                 'SOM_DealerBranch__r.Name',
  26.                 COM_ConditionBuilder.Operator.EQUALS
  27.             )
  28.         );
  29.         filterMappings.put(
  30.             'subDealerName',
  31.             new COM_ConditionBuilder.Mapping(
  32.                 'SOM_SubDealer__r.Name',
  33.                 COM_ConditionBuilder.Operator.EQUALS
  34.             )
  35.         );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement