Delete
Deletes the Organization refereced by the supplied
OrganizationHandle. If forceCascade is true, this also
deletes all workspaces and sub-organizations defined
in this organization. Otherwise, exception will be thown.
Exception will be thrown if there are
- users defined in this organization or sub-organizations
void
deleteOrganization(
beeId
handle
,
DeleteMode
snapshotid
,
boolean
force_cascade
)
Parameters
- handle
-
Type:
beeId
- snapshotid
-
DeleteMode
determine if the entity should always be deleted or if optimistic locking should be used.
- force_cascade
-
boolean