Class CaseEventLinker

    • Constructor Detail

      • CaseEventLinker

        public CaseEventLinker()
      • CaseEventLinker

        public CaseEventLinker​(String sort)
        Parameters:
        sort - the sort filter used to obtain the resource(s)
    • Method Detail

      • link

        public void link​(PagedObject<CaseEvent> pagedObject,
                         IPaginator<CaseEvent> paginator)
        Description copied from interface: IResourceLinker
        Adds HATEOAS links to the given paged set of resources. Adds links both on the enclosing paged object (if pagination is enabled) and on the enclosed resources. Pagination ma
        Specified by:
        link in interface IResourceLinker<CaseEvent>
        Parameters:
        pagedObject - the object enclosing a page of resources
        paginator - the paginator, used for determining whether paging is enabled, first page number, last page number, etc.
      • link

        public void link​(CaseEvent caseEvent)
        Description copied from interface: IResourceLinker
        Adds HATEOAS links to the given resource.
        Specified by:
        link in interface IResourceLinker<CaseEvent>
        Parameters:
        caseEvent - the resource on which links should be added