Class CaseEventLinker

java.lang.Object
com.aquima.web.rest.v1.linker.impl.CaseEventLinker
All Implemented Interfaces:
IResourceLinker<CaseEvent>

public class CaseEventLinker extends Object implements IResourceLinker<CaseEvent>
Adds HATEOAS links to case event resources.
Since:
9.6
Author:
Petru Galanton
  • Constructor Details

    • CaseEventLinker

      public CaseEventLinker()
    • CaseEventLinker

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

    • 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