This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<StandardValueSet xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<fullName>CaseStatus</fullName> | |
<standardValue> | |
<fullName>In Progress</fullName> | |
<isActive>true</isActive> | |
</standardValue> | |
<standardValue> | |
<fullName>On Hold</fullName> | |
<isActive>true</isActive> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CollectionUtils { | |
public static List<Id> convertToIdList(List<SObject> sObjectList) { | |
return new List<Id>(convertToIdSet(sObjectList)); | |
} | |
public static List<Id> convertToIdList(List<SObject> sObjectList, SObjectField field) { | |
return convertToIdList(sObjectList, string.valueOf(field)); | |
} | |
public static List<Id> convertToIdList(List<SObject> sObjectList, string field) { |