public interface OrganizationAPI
Modifier and Type | Method and Description |
---|---|
void |
deleteOrganization()
Deletes the organization.
|
void |
importOrganization(String organizationContent)
Imports the organization using the
ImportPolicy.MERGE_DUPLICATES policy. |
void |
importOrganization(String organizationContent,
ImportPolicy policy)
Imports the organization.
|
void deleteOrganization() throws DeletionException
DeletionException
- If an exception occurs during the organization deletionInvalidSessionException
- If the session is invalid (expired, unknown, ...)void importOrganization(String organizationContent) throws OrganizationImportException
ImportPolicy.MERGE_DUPLICATES
policy.
An organization is composed by users, roles, groups and user memberships.organizationContent
- the XML content of the organizationOrganizationImportException
- If an exception occurs during the organization importInvalidSessionException
- If the session is invalid (expired, unknown, ...)void importOrganization(String organizationContent, ImportPolicy policy) throws OrganizationImportException
organizationContent
- the XML content of the organizationpolicy
- the import policyOrganizationImportException
- If an exception occurs during the organization importInvalidSessionException
- If the session is invalid (expired, unknown, ...)Copyright © 2013 BonitaSoft. All Rights Reserved.