Refer to the following code snippet:
Java
public class LeadController {
public static List getFetchLeadList(String searchTerm, Decimal aRevenue) {
String safeTerm = '%'+searchTerm.escapeSingleQuotes()+ '%';
return [
SELECT Name, Company, AnnualRevenue
FROM Lead
WHERE AnnualRevenue >= :aRevenue
AND Company LIKE :safeTerm
LIMIT 20
];
}
}
A developer created a JavaScript function as part of a Lightning web component (LWC) that surfaces information about Leads by wire calling getFetchLeadList when certain criteria are met. Which three changes should the developer implement in the Apex class above to ensure the LWC can display data efficiently while preserving security?1