Package ca.uhn.fhir.rest.gclient
Interface IReadTyped<T extends IBaseResource>
-
public interface IReadTyped<T extends IBaseResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IReadExecutable<T>withId(Long theId)Perform a search by resource IDIReadExecutable<T>withId(String theId)Perform a search by resource IDIReadExecutable<T>withId(IIdType theId)Search using an ID.IReadExecutable<T>withIdAndVersion(String theId, String theVersion)Perform a search by resource ID and versionIReadExecutable<T>withUrl(String theUrl)IReadExecutable<T>withUrl(IIdType theUrl)
-
-
-
Method Detail
-
withId
IReadExecutable<T> withId(String theId)
Perform a search by resource ID- Parameters:
theId- The resource ID, e.g. "123"
-
withIdAndVersion
IReadExecutable<T> withIdAndVersion(String theId, String theVersion)
Perform a search by resource ID and version- Parameters:
theId- The resource ID, e.g. "123"theVersion- The resource version, eg. "5"
-
withId
IReadExecutable<T> withId(Long theId)
Perform a search by resource ID- Parameters:
theId- The resource ID, e.g. "123"
-
withId
IReadExecutable<T> withId(IIdType theId)
Search using an ID. Note that even if theId contains a base URL it will be ignored in favour of the base url for the given client. If you want to specify an absolute URL including a base and have that base used instead, usewithUrl(IIdType)
-
withUrl
IReadExecutable<T> withUrl(String theUrl)
-
withUrl
IReadExecutable<T> withUrl(IIdType theUrl)
-
-