Class IdmApiClientOrganisationService
java.lang.Object
org.forgerock.openig.fapi.apiclient.service.idm.IdmApiClientOrganisationService
- All Implemented Interfaces:
ApiClientOrganisationService
Service for managing
ApiClientOrganisation entities in IDM.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHeaplet for creatingIdmApiClientOrganisationServiceinstances. -
Method Summary
Modifier and TypeMethodDescriptioncreate(Context context, SoftwareStatement softwareStatement) Creates anApiClientOrganisationin IDM.
-
Method Details
-
create
public Promise<ApiClientOrganisation,ApiClientServiceException> create(Context context, SoftwareStatement softwareStatement) Creates anApiClientOrganisationin IDM.If the organisation already exists, this method will return the existing organisation.
- Specified by:
createin interfaceApiClientOrganisationService- Parameters:
softwareStatement- the software statement containing the organisation detailscontext- the current context within which the operation is being performed- Returns:
- a promise that will resolve to the created or existing
ApiClientOrganisationor will throw anApiClientServiceExceptionif an error occurs creating the organisation.
-