Package com.priint.pubserverapi.document
Interface DocumentQuery
- All Superinterfaces:
QueryBuilder<Document>
-
Method Summary
Modifier and TypeMethodDescriptiondeleted(boolean deleted) Sets the delete flag of theDocumentin the query.documentStage(DocumentStage documentStage) Sets the document stage of theDocumentin the query.documentTemplateId(String documentTemplateId) Sets the document template ID of theDocumentin the query.documentType(DocumentType documentType) Sets the document type of theDocumentin the query.foreignSystemKey(String foreignSystemKey) Sets theforeign system key of theDocumentin the query.Sets the ID of theDocumentin the query.isDocumentTemplate(boolean isDocumentTemplate) Sets the document template flag of theDocumentin the query.Sets the label of theDocumentin the query.Sets the label of theDocumentin the query.Sets the parent id (publication or folder) of theDocumentin the query.sourceDocumentId(String sourceDocumentId) Sets the source document ID of theDocumentin the query.Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
id
Sets the ID of theDocumentin the query.- Parameters:
id- the ID of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-
label
Sets the label of theDocumentin the query.- Parameters:
label- the label of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-
labelLike
Sets the label of theDocumentin the query. Restrict to documents that have a label that has the parameter value as a substring.- Parameters:
label- the label of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-
parentId
Sets the parent id (publication or folder) of theDocumentin the query.- Parameters:
parentId- the id of parent publication/folderrecursive- a flag specifying whether the search should also be performed in subpublications- Returns:
- the current
DocumentQueryinstance for method chaining
-
documentType
Sets the document type of theDocumentin the query.- Parameters:
documentType- the type of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-
documentStage
Sets the document stage of theDocumentin the query.- Parameters:
documentStage- the stage of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-
deleted
Sets the delete flag of theDocumentin the query. Default false - not deleted- Parameters:
deleted- the deletion status of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-
isDocumentTemplate
Sets the document template flag of theDocumentin the query. Default false - regular document- Parameters:
isDocumentTemplate- a flag specifying whether the document is a document template- Returns:
- the current
DocumentQueryinstance for method chaining
-
sourceDocumentId
Sets the source document ID of theDocumentin the query.- Parameters:
sourceDocumentId- the ID of the source document of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-
documentTemplateId
Sets the document template ID of theDocumentin the query.- Parameters:
documentTemplateId- the ID of the document template of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-
foreignSystemKey
Sets theforeign system key of theDocumentin the query.- Parameters:
foreignSystemKey- the foreign system key of the document- Returns:
- the current
DocumentQueryinstance for method chaining
-