public class TerminologyDataProvider extends Object implements com.atlassian.webresource.api.data.WebResourceDataProvider
| Constructor and Description |
|---|
TerminologyDataProvider(FeatureManager featureManager) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.json.marshal.Jsonable |
get() |
Collection<TerminologyEntry> |
getTerminologyEntries() |
List<JSONObject> |
getTerminologyEntriesAsJson(Collection<TerminologyEntry> terminologyEntries) |
JSONObject |
getTerminologyEntryAsJson(TerminologyEntry terminologyEntry) |
boolean |
isTerminologyActive(Collection<TerminologyEntry> terminologyEntries) |
public TerminologyDataProvider(FeatureManager featureManager)
public Collection<TerminologyEntry> getTerminologyEntries()
public boolean isTerminologyActive(Collection<TerminologyEntry> terminologyEntries)
public List<JSONObject> getTerminologyEntriesAsJson(Collection<TerminologyEntry> terminologyEntries)
public JSONObject getTerminologyEntryAsJson(@NonNull TerminologyEntry terminologyEntry) throws JSONException
JSONExceptionpublic com.atlassian.json.marshal.Jsonable get()
get in interface java.util.function.Supplier<com.atlassian.json.marshal.Jsonable>Copyright © 2002-2021 Atlassian. All Rights Reserved.