
Package ca.uhn.fhir.rest.gclient
Interface ISort<T>
-
public interface ISort<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IQuery<T>
ascending(IParam theParam)
Sort ascendingIQuery<T>
ascending(String theParam)
Sort ascendingIQuery<T>
defaultOrder(IParam theParam)
Sort by the default order.IQuery<T>
defaultOrder(String theParam)
Sort by the default order.IQuery<T>
descending(IParam theParam)
Sort descendingIQuery<T>
descending(String theParam)
Sort ascending
-
-
-
Method Detail
-
ascending
IQuery<T> ascending(String theParam)
Sort ascending- Parameters:
theParam
- The param name, e.g. "address"
-
defaultOrder
IQuery<T> defaultOrder(IParam theParam)
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
IQuery<T> defaultOrder(String theParam)
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
IQuery<T> descending(IParam theParam)
Sort descending- Parameters:
theParam
- A query param - Could be a constant such asPatient.ADDRESS
or a custom param such asnew StringClientParam("foo")
-
descending
IQuery<T> descending(String theParam)
Sort ascending- Parameters:
theParam
- The param name, e.g. "address"
-
-