Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentQuery
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentQuery
- All Implemented Interfaces:
Serializable
KnowledgeDocumentQuery
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates which document variations to include in returned documents.static enumThe field in the documents that you want to sort the results by.static enumThe sort order for results. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfilter(DocumentQuery filter) Filter for the document query.inthashCode()includeDraftDocuments(Boolean includeDraftDocuments) Indicates whether the results would also include draft documents.includeVariations(KnowledgeDocumentQuery.IncludeVariationsEnum includeVariations) Indicates which document variations to include in returned documents.interval(DocumentQueryInterval interval) Retrieves the documents created/modified/published in specified date and time range.pageNumber(Integer pageNumber) Page number of the returned results.Page size of the returned results.voidsetFilter(DocumentQuery filter) voidsetIncludeDraftDocuments(Boolean includeDraftDocuments) voidsetIncludeVariations(KnowledgeDocumentQuery.IncludeVariationsEnum includeVariations) voidsetInterval(DocumentQueryInterval interval) voidsetPageNumber(Integer pageNumber) voidsetPageSize(Integer pageSize) voidvoidsetSortOrder(KnowledgeDocumentQuery.SortOrderEnum sortOrder) The field in the documents that you want to sort the results by.sortOrder(KnowledgeDocumentQuery.SortOrderEnum sortOrder) The sort order for results.toString()
-
Constructor Details
-
KnowledgeDocumentQuery
public KnowledgeDocumentQuery() -
KnowledgeDocumentQuery
-
-
Method Details
-
pageSize
Page size of the returned results. -
getPageSize
-
setPageSize
-
pageNumber
Page number of the returned results. -
getPageNumber
-
setPageNumber
-
includeDraftDocuments
Indicates whether the results would also include draft documents. -
getIncludeDraftDocuments
-
setIncludeDraftDocuments
-
interval
Retrieves the documents created/modified/published in specified date and time range. -
getInterval
-
setInterval
-
filter
Filter for the document query. -
getFilter
-
setFilter
-
includeVariations
public KnowledgeDocumentQuery includeVariations(KnowledgeDocumentQuery.IncludeVariationsEnum includeVariations) Indicates which document variations to include in returned documents. All: all variations regardless of the filter expression; AllMatching: all variations that match the filter expression; SingleMostRelevant: single variation that matches the filter expression and has the highest priority. The default is All. -
getIncludeVariations
-
setIncludeVariations
-
sortOrder
The sort order for results. -
getSortOrder
-
setSortOrder
-
sortBy
The field in the documents that you want to sort the results by. -
getSortBy
-
setSortBy
-
equals
-
hashCode
public int hashCode() -
toString
-