Class CaseLinker

    • Constructor Detail

      • CaseLinker

        public CaseLinker()
      • CaseLinker

        public CaseLinker​(String sort,
                          String attributes)
      • CaseLinker

        public CaseLinker​(String attributes)
    • Method Detail

      • link

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

        public void link​(PagedObject<Case> pagedObject,
                         IPaginator<Case> 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<Case>
        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.