private suspend fun getInterfaceParts(relationPartner: RelationPartner, partIds: List<ID>): Set<InterfacePart>

Helper used to get InterfaceParts based on a list of ids for a RelationPartner The relationPartner must be a Interface, if a non-empty list of ids is provided Each InterfacePart must be active on the InterfaceSpecificationVersion related to the Interface

Return

the list of queried InterfaceParts from the partIds, empty list if no ids are provided

Parameters

relationPartner

the start/end of the relation

partIds

the ids of the InterfaceParts

Throws

if any validation fails