Service class to execute CRUD operations on the Package Item object.
Method Summary
Modifier and Type | Method and Description |
---|---|
PackageItemService | getInstance() |
PackageItemService | getInstance(String version) |
void | getApiResponse() |
List<PackageItem> | get(SearchRequest sr) |
void | getPackageItems(Set |
Method Detail
This class supports the following methods:
global static PackageItemService getInstance()
Get Instance of PackageItemService.
global static PackageItemService getInstance(String version)
Get Instance of PackageItemVersionedService.
Parameters
Name | Type | Description |
---|---|---|
version | String | undefined |
global PackageItemService ()
PackageItemService Constructor that should not be called directly.
global static void getApiResponse()
global virtual List<PackageItem> get(SearchRequest sr)
Get list of PackageItem objects using the SearchRequest object as criteria
Parameters
Name | Type | Description |
---|---|---|
sr | SearchRequest | SearchRequest |
global List<PackageItem> getPackageItems(Set<Id> itemIds)
Parameters
Name | Type | Description |
---|---|---|
itemIds | Set<Id> | undefined |