Package ca.uhn.fhir.rest.gclient
Interface ISort<T>
public interface ISort<T>
-
Method Summary
Modifier and TypeMethodDescriptionSort ascendingSort ascendingdefaultOrder
(IParam theParam) Sort by the default order.defaultOrder
(String theParam) Sort by the default order.descending
(IParam theParam) Sort descendingdescending
(String theParam) Sort ascending
-
Method Details
-
ascending
Sort ascending -
ascending
Sort ascending- Parameters:
theParam
- The param name, e.g. "address"
-
defaultOrder
Sort by the default order. Note that as of STU3, there is no longer a concept of default order, only ascending and descending. This method technically implies "ascending" but it makes more sense to useascending(IParam)
-
defaultOrder
Sort by the default order. Note that as of STU3, there is no longer a concept of default order, only ascending and descending. This method technically implies "ascending" but it makes more sense to useascending(IParam)
-
descending
Sort descending- Parameters:
theParam
- A query param - Could be a constant such asPatient.ADDRESS
or a custom param such asnew StringClientParam("foo")
-
descending
Sort ascending- Parameters:
theParam
- The param name, e.g. "address"
-