Interface RestAPIContext
public interface RestAPIContext
This class provide access to the data relative to the context in which the Rest API extension is called
- Since:
- 7.2.0
-
Method Summary
Modifier and TypeMethodDescriptionorg.bonitasoft.engine.api.APIClientTheAPIClientis used to access business data and Bonita APIs such as:IdentityAPI,ProcessAPI, ...org.bonitasoft.engine.session.APISession
-
Method Details
-
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
Locale getLocale()- Returns:
- Current selected
Localein BonitaBPM Portal
-
getResourceProvider
ResourceProvider getResourceProvider()- Returns:
- a
ResourceProviderto retrieve resources location
-