Interface RestAPIContext
-
public interface RestAPIContextThis class provide access to the data relative to the context in which the Rest API extension is called- Since:
- 7.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.bonitasoft.engine.api.APIClientgetApiClient()TheAPIClientis used to access business data and Bonita APIs such as:IdentityAPI,ProcessAPI, ...org.bonitasoft.engine.session.APISessiongetApiSession()java.util.LocalegetLocale()ResourceProvidergetResourceProvider()
-
-
-
Method Detail
-
getApiClient
org.bonitasoft.engine.api.APIClient getApiClient()
TheAPIClientis used to access business data and Bonita APIs such as:IdentityAPI,ProcessAPI,- ...
- Returns:
- an engine
APIClientlogged to the currentAPISession
-
getApiSession
org.bonitasoft.engine.session.APISession getApiSession()
- Returns:
- Current engine
APISession
-
getLocale
java.util.Locale getLocale()
- Returns:
- Current selected
Localein BonitaBPM Portal
-
getResourceProvider
ResourceProvider getResourceProvider()
- Returns:
- a
ResourceProviderto retrieve resources location
-
-