Package org.bonitasoft.engine.api
Class TenantAPIAccessor
java.lang.Object
org.bonitasoft.engine.api.TenantAPIAccessor
Accessor class that retrieve APIs in Bonita Community Edition.
ProcessAPI,CommandAPI,IdentityAPI,LoginAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bonitasoft.engine.api.ApplicationAPIgetApplicationAPI(org.bonitasoft.engine.session.APISession session) static org.bonitasoft.engine.api.BusinessDataAPIgetBusinessDataAPI(org.bonitasoft.engine.session.APISession session) Deprecated.static 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.LoginAPIstatic org.bonitasoft.engine.api.MaintenanceAPIgetMaintenanceAPI(org.bonitasoft.engine.session.APISession session) 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 voidrefresh()Refreshes the way the engine client communicates to the engine server.
-
Constructor Details
-
TenantAPIAccessor
public TenantAPIAccessor()
-
-
Method Details
-
refresh
public static void refresh()Refreshes the way the engine client communicates to the engine server.- See Also:
-
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
-
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(since="7.3") 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, UnknownAPITypeException Deprecated.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
-
getMaintenanceAPI
public static org.bonitasoft.engine.api.MaintenanceAPI getMaintenanceAPI(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
-
BusinessDataAPIfor replacements