public void removeCorporateGroupId ( final String organizationId , final String corporateGroupId ) { final DbOrganization dbOrganization = getOrganization ( organizationId ) ; if ( dbOrganization . getCorporateGroupIdPrefixes ( ) . contains ( corporateGroupId ) ) { dbOrganization . getCorporateGroupIdPrefixes ( ) . remove ( corporateGroupId ) ; repositoryHandler . store ( dbOrganization ) ; } repositoryHandler . removeModulesOrganization ( corporateGroupId , dbOrganization ) ; }
Removes a corporate groupId from an Organisation