Class GetRelatedDocumentsQuery
java.lang.Object
org.projecthusky.communication.xd.storedquery.AbstractStoredQuery
org.projecthusky.communication.xd.storedquery.GetRelatedDocumentsQuery
- All Implemented Interfaces:
StoredQueryInterface
Represents a query to get documents, which are associated with a given
document from an XDS Registry
-
Constructor Summary
ConstructorsConstructorDescriptionGetRelatedDocumentsQuery
(String docId, boolean isUUID, List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AssociationType> relationshipTypes) Constructor.GetRelatedDocumentsQuery
(String docId, boolean isUUID, List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AssociationType> relationshipTypes, String homeCommunityId) Constructor that allows for the addition of a homeCommunityId to the query to support the XCA profile extension of this query.GetRelatedDocumentsQuery
(String docId, boolean isUUID, List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AssociationType> relationshipTypes, String homeCommunityId, org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntryType objectType) Constructor that allows for the addition of a homeCommunityId to the query to support the XCA profile extension of this query. -
Method Summary
Methods inherited from class org.projecthusky.communication.xd.storedquery.AbstractStoredQuery
getIpfQuery, setIpfStoredQuery
-
Constructor Details
-
GetRelatedDocumentsQuery
public GetRelatedDocumentsQuery(String docId, boolean isUUID, List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AssociationType> relationshipTypes) Constructor.- Parameters:
docId
- ID of the documentisUUID
- set to true if docID is the entryUUID (internal registry identifier) of the document and set to false if it is the uniqueID (external to registry) of the document. In most user cases, this should be set to falserelationshipTypes
- list of relationship types that relate the document in question to other documents and that are desired to be queried.
-
GetRelatedDocumentsQuery
public GetRelatedDocumentsQuery(String docId, boolean isUUID, List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AssociationType> relationshipTypes, String homeCommunityId) Constructor that allows for the addition of a homeCommunityId to the query to support the XCA profile extension of this query.- Parameters:
docId
- ID of the documentisUUID
- set to true if docID is the entryUUID (internal registry identifier) of the document and set to false if it is the uniqueID (external to registry) of the document. In most user cases, this should be set to falserelationshipTypes
- list of relationship types that relate the document in question to other documents and that are desired to be queried.homeCommunityId
- this is the id of the home community as specified by the XCA profile. Value may be null or empty, in which case it is not added to the query.
-
GetRelatedDocumentsQuery
public GetRelatedDocumentsQuery(String docId, boolean isUUID, List<org.openehealth.ipf.commons.ihe.xds.core.metadata.AssociationType> relationshipTypes, String homeCommunityId, org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntryType objectType) Constructor that allows for the addition of a homeCommunityId to the query to support the XCA profile extension of this query.- Parameters:
docId
- ID of the documentisUUID
- set to true if docID is the entryUUID (internal registry identifier) of the document and set to false if it is the uniqueID (external to registry) of the document. In most user cases, this should be set to falserelationshipTypes
- list of relationship types that relate the document in question to other documents and that are desired to be queried.homeCommunityId
- this is the id of the home community as specified by the XCA profile. Value may be null or empty, in which case it is not added to the query.objectType
- for the OnDemand document feature. Tells whether you want static docs, on demand docs, or both
-