def get_repository_ids_by_asset(self, asset_id):
        """Gets the list of ``Repository``  ``Ids`` mapped to an ``Asset``.

        arg:    asset_id (osid.id.Id): ``Id`` of an ``Asset``
        return: (osid.id.IdList) - list of repository ``Ids``
        raise:  NotFound - ``asset_id`` is not found
        raise:  NullArgument - ``asset_id`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*

        """
        # Implemented from template for
        # osid.resource.ResourceBinSession.get_bin_ids_by_resource
        mgr = self._get_provider_manager('REPOSITORY', local=True)
        lookup_session = mgr.get_asset_lookup_session(proxy=self._proxy)
        lookup_session.use_federated_repository_view()
        asset = lookup_session.get_asset(asset_id)
        id_list = []
        for idstr in asset._my_map['assignedRepositoryIds']:
            id_list.append(Id(idstr))
        return IdList(id_list)