Class MdmPageRequest


public class MdmPageRequest extends Object
This class is essentially just a data clump of offset + count, as well as the ability to convert itself into a standard PageRequest for spring data to use. The reason we don't use PageRequest natively is because it is concerned with `pages` and `counts`, but we are using `offset` and `count` which requires some minor translation.
  • Constructor Details

    • MdmPageRequest

      public MdmPageRequest(@Nullable org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theOffset, @Nullable org.hl7.fhir.instance.model.api.IPrimitiveType<Integer> theCount, int theDefaultPageSize, int theMaximumPageSize)
    • MdmPageRequest

      public MdmPageRequest(@Nullable Integer theOffset, @Nullable Integer theCount, int theDefaultPageSize, int theMaximumPageSize)
  • Method Details