Package org.bonitasoft.engine.api
Class TenantAPIAccessor
- java.lang.Object
-
- org.bonitasoft.engine.api.TenantAPIAccessor
-
public final class TenantAPIAccessor extends java.lang.ObjectAccessor class that retrieve APIs in Bonita Community Edition.ProcessAPI,CommandAPI,IdentityAPI,LoginAPI
-
-
Constructor Summary
Constructors Constructor Description TenantAPIAccessor()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.bonitasoft.engine.api.ApplicationAPIgetApplicationAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.BusinessDataAPIgetBusinessDataAPI(org.bonitasoft.engine.session.APISession session)Deprecated.as of 7.3, seeBusinessDataAPIfor replacementsstatic org.bonitasoft.engine.api.CommandAPIgetCommandAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.PageAPIgetCustomPageAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.IdentityAPIgetIdentityAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.ApplicationAPIgetLivingApplicationAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.LoginAPIgetLoginAPI()static org.bonitasoft.engine.api.PermissionAPIgetPermissionAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.ProcessAPIgetProcessAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.ProfileAPIgetProfileAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.TenantAdministrationAPIgetTenantAdministrationAPI(org.bonitasoft.engine.session.APISession session)static org.bonitasoft.engine.api.ThemeAPIgetThemeAPI(org.bonitasoft.engine.session.APISession session)Deprecated.since 7.13.0, ThemeAPI does nothing.static voidrefresh()Refreshes the way the engine client communicates to the engine server.
-
-
-
Method Detail
-
refresh
public static void refresh()
Refreshes the way the engine client communicates to the engine server.- See Also:
APITypeManager,ApiAccessType
-
getLoginAPI
public static org.bonitasoft.engine.api.LoginAPI getLoginAPI() throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getIdentityAPI
public static org.bonitasoft.engine.api.IdentityAPI getIdentityAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getProcessAPI
public static org.bonitasoft.engine.api.ProcessAPI getProcessAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getCommandAPI
public static org.bonitasoft.engine.api.CommandAPI getCommandAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getProfileAPI
public static org.bonitasoft.engine.api.ProfileAPI getProfileAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getThemeAPI
@Deprecated(since="7.13.0") public static org.bonitasoft.engine.api.ThemeAPI getThemeAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeExceptionDeprecated.since 7.13.0, ThemeAPI does nothing. There is no replacement, as it used to serve old removed feature.- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getPermissionAPI
public static org.bonitasoft.engine.api.PermissionAPI getPermissionAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getCustomPageAPI
public static org.bonitasoft.engine.api.PageAPI getCustomPageAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getLivingApplicationAPI
public static org.bonitasoft.engine.api.ApplicationAPI getLivingApplicationAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getTenantAdministrationAPI
public static org.bonitasoft.engine.api.TenantAdministrationAPI getTenantAdministrationAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getBusinessDataAPI
@Deprecated public static org.bonitasoft.engine.api.BusinessDataAPI getBusinessDataAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeExceptionDeprecated.as of 7.3, seeBusinessDataAPIfor replacements- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
getApplicationAPI
public static org.bonitasoft.engine.api.ApplicationAPI getApplicationAPI(org.bonitasoft.engine.session.APISession session) throws org.bonitasoft.engine.exception.BonitaHomeNotSetException, org.bonitasoft.engine.exception.ServerAPIException, UnknownAPITypeException- Throws:
org.bonitasoft.engine.exception.BonitaHomeNotSetExceptionorg.bonitasoft.engine.exception.ServerAPIExceptionUnknownAPITypeException
-
-