Organisation Unit Tree
class OrganisationUnitTree
Functions
Link copied to clipboard
Extract a set of root uid's of OrganisationUnits, accessible by the user, from a list of OrganisationUnits and a list of Assigned OrganisationUnits.
Link copied to clipboard
open fun findRootsOutsideSearchScope(allRootCaptureOrgUnits: Set<OrganisationUnit>, rootSearchOrgUnits: Set<OrganisationUnit>): Set<OrganisationUnit>
Link copied to clipboard
open fun getCaptureOrgUnitsInSearchScope(allSearchOrgUnits: List<OrganisationUnit>, allRootCaptureOrgUnits: Set<OrganisationUnit>, rootCaptureOrgUnitsOutsideSearchScope: Set<OrganisationUnit>): Set<OrganisationUnit>