Interface OrganisationMapper

  • All Known Implementing Classes:
    OrganisationMapperImpl

    public interface OrganisationMapper
    Interface for mapping units and learning units to root organisation units
    Author:
    Jarkko Leponiemi
    • Method Detail

      • getRootOrganisationCodes

        Set<String> getRootOrganisationCodes​(String unitId)
        Parameters:
        unitId -
        Returns:
        set of root organisation unit codes
      • getRootOrganisationCodes

        Set<String> getRootOrganisationCodes​(String type,
                                             String id)
        Parameters:
        type - learning unit type
        id - learning unit id
        Returns:
        set of root organisation unit codes