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