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

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