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