@abc.abstractmethod<EOL><INDENT>def get_commitments_for_resource(self, resource_id):<DEDENT>
return<EOL>
Gets the commitments for the given resource.

        :param resource_id: ``Id`` of a ``Resource``
        :type resource_id: ``osid.id.Id``
        :return: list of commitments
        :rtype: ``osid.calendaring.CommitmentList``
        :raise: ``NullArgument`` -- ``resource_id`` is ``null``
        :raise: ``OperationFailed`` -- unable to complete request
        :raise: ``PermissionDenied`` -- authorization failure

        *compliance: mandatory -- This method is must be implemented.*