@utilities.arguments_not_none<EOL><INDENT>def get_comments_by_genus_type_for_commentor_and_reference(self, resource_id, reference_id, comment_genus_type):<DEDENT>
<EOL>collection = JSONClientValidated('<STR_LIT>',<EOL>collection='<STR_LIT>',<EOL>runtime=self._runtime)<EOL>result = collection.find(<EOL>dict({'<STR_LIT>': str(resource_id),<EOL>'<STR_LIT>': str(reference_id),<EOL>'<STR_LIT>': str(comment_genus_type)},<EOL>**self._view_filter())).sort('<STR_LIT>', ASCENDING)<EOL>return objects.CommentList(result, runtime=self._runtime)<EOL>
Gets a list of comments of the given genus type corresponding to a resource and reference ``Id``.

        arg:    resource_id (osid.id.Id): the ``Id`` of the resource
        arg:    reference_id (osid.id.Id): the ``Id`` of the reference
        arg:    comment_genus_type (osid.type.Type): the comment genus
                type
        return: (osid.commenting.CommentList) - the returned
                ``CommentList``
        raise:  NullArgument - ``resource_id, reference_id`` or
                ``comment_genus_type`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  PermissionDenied - authorization failure
        *compliance: mandatory -- This method must be implemented.*