Service class to execute CRUD operations on the Venue object.
Method Summary
Modifier and Type | Method and Description |
---|---|
TermService | getInstance() |
TermService | getInstance(String version) |
void | getApiResponse() |
void | updateTerm() |
List<Term> | get(SearchRequest sr) |
void | getSubscriptionTerms(Set |
void | get(Id termId) |
void | get(Set |
Term | mutate(Term objterm) |
List<Term> | mutate(List |
Method Detail
This class supports the following methods:
global static TermService getInstance()
Get Instance of TermService.
global static TermService getInstance(String version)
Get Instance of TermVersionedService.
Parameters
Name | Type | Description |
---|---|---|
version | String | undefined |
global TermService ()
TermService Constructor that should not be called directly.
global static void getApiResponse()
global static void updateTerm()
global virtual List<Term> get(SearchRequest sr)
Get list of Term objects using the SearchRequest object as criteria
Parameters
Name | Type | Description |
---|---|---|
sr | SearchRequest | SearchRequest |
global List<Term> getSubscriptionTerms(Set<Id> subIds)
Parameters
Name | Type | Description |
---|---|---|
subIds | Set<Id> | undefined |
global Term get(Id termId)
Parameters
Name | Type | Description |
---|---|---|
termId | Id | undefined |
global List<Term> get(Set<Id> termIds)
Parameters
Name | Type | Description |
---|---|---|
termIds | Set<Id> | undefined |
global virtual Term mutate(Term objterm)
Update Term object by providing a wrapped Term record. Updated record will be returned.
Parameters
Name | Type | Description |
---|---|---|
objterm | Term | Term |
global virtual List<Term> mutate(List<Term> objTerms)
Update Term objects by providing a list of wrapped Term records. Updated records will be returned.
Parameters
Name | Type | Description |
---|---|---|
objTerms | List<Term> | List |