Class GetDocumentsQuery
java.lang.Object
org.projecthusky.communication.xd.storedquery.AbstractStoredQuery
org.projecthusky.communication.xd.storedquery.GetDocumentsQuery
- All Implemented Interfaces:
StoredQueryInterface
Represents a query to get XDS documents by their document IDs
-
Constructor Summary
ConstructorsConstructorDescriptionGetDocumentsQuery
(List<String> docIds, boolean isUUID) Creates the queryGetDocumentsQuery
(List<String> docIds, boolean isUUID, String homeCommunityId) -
Method Summary
Methods inherited from class org.projecthusky.communication.xd.storedquery.AbstractStoredQuery
getIpfQuery, setIpfStoredQuery
-
Constructor Details
-
GetDocumentsQuery
Creates the query- Parameters:
docIds
- list of ids of the documents (either uniqueId or entryUUID)isUUID
- 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 false
-
GetDocumentsQuery
- Parameters:
docIds
- list of ids of the documents (either uniqueId or entryUUID)isUUID
- isUUID 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 falsehomeCommunityId
- 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.
-