Package io.dialob.api.questionnaire
Class QuestionnaireRepository.Finder
java.lang.Object
org.immutables.mongo.repository.Repositories.Finder<T,F>
org.immutables.mongo.repository.Repositories.FinderWithDelete<Questionnaire,QuestionnaireRepository.Finder>
io.dialob.api.questionnaire.QuestionnaireRepository.Finder
- Enclosing class:
- QuestionnaireRepository
@NotThreadSafe
public static final class QuestionnaireRepository.Finder
extends org.immutables.mongo.repository.Repositories.FinderWithDelete<Questionnaire,QuestionnaireRepository.Finder>
The finder object used to proceed with find operations via the
Repositories.Finder.fetchAll(), Repositories.Finder.fetchFirst(), andModifyFirst(), or Repositories.FinderWithDelete.deleteFirst() methods.
Configure exclusion and sort ordering for results using the family of exclude*() and orderBy*() attribute-specific methods.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.immutables.mongo.repository.Repositories.Repository<Questionnaire>Fields inherited from class org.immutables.mongo.repository.Repositories.Finder
criteria, exclusion, ordering -
Method Summary
Modifier and TypeMethodDescriptionTurn a find operation into an atomicfindAndModifyoperation.andReplaceFirst(Questionnaire document) Used to replace in-place existing version of the documentExclude theanswersattribute from each document in the results.Exclude thecontextattribute from each document in the results.Exclude theerrorsattribute from each document in the results.Exclude thevalueSetsattribute from each document in the results.Exclude thevariableValuesattribute from each document in the results.Order byactiveItemin the ascending direction.Order byactiveItemin the descending direction.Order byanswersin the ascending direction.Order byanswersin the descending direction.Order bycontextin the ascending direction.Order bycontextin the descending direction.Order byerrorsin the ascending direction.Order byerrorsin the descending direction.Order byidin the ascending direction.Order byidin the descending direction.Order bymetadatain the ascending direction.Order bymetadatain the descending direction.Order byrevin the ascending direction.Order byrevin the descending direction.Order byvalueSetsin the ascending direction.Order byvalueSetsin the descending direction.Order byvariableValuesin the ascending direction.Order byvariableValuesin the descending direction.Methods inherited from class org.immutables.mongo.repository.Repositories.FinderWithDelete
deleteAll, deleteFirstMethods inherited from class org.immutables.mongo.repository.Repositories.Finder
fetchAll, fetchFirst, fetchWithLimit, skip
-
Field Details
-
repository
-
-
Method Details
-
orderById
Order byidin the ascending direction. Specify that the next attribute to sort will be theidattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByIdDesceding
Order byidin the descending direction. Specify that the next attribute to sort will be theidattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByRev
Order byrevin the ascending direction. Specify that the next attribute to sort will be therevattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByRevDesceding
Order byrevin the descending direction. Specify that the next attribute to sort will be therevattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByAnswers
Order byanswersin the ascending direction. Specify that the next attribute to sort will be theanswersattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByAnswersDesceding
Order byanswersin the descending direction. Specify that the next attribute to sort will be theanswersattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByContext
Order bycontextin the ascending direction. Specify that the next attribute to sort will be thecontextattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByContextDesceding
Order bycontextin the descending direction. Specify that the next attribute to sort will be thecontextattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByActiveItem
Order byactiveItemin the ascending direction. Specify that the next attribute to sort will be theactiveItemattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByActiveItemDesceding
Order byactiveItemin the descending direction. Specify that the next attribute to sort will be theactiveItemattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByErrors
Order byerrorsin the ascending direction. Specify that the next attribute to sort will be theerrorsattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByErrorsDesceding
Order byerrorsin the descending direction. Specify that the next attribute to sort will be theerrorsattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByVariableValues
Order byvariableValuesin the ascending direction. Specify that the next attribute to sort will be thevariableValuesattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByVariableValuesDesceding
Order byvariableValuesin the descending direction. Specify that the next attribute to sort will be thevariableValuesattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByValueSets
Order byvalueSetsin the ascending direction. Specify that the next attribute to sort will be thevalueSetsattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByValueSetsDesceding
Order byvalueSetsin the descending direction. Specify that the next attribute to sort will be thevalueSetsattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByMetadata
Order bymetadatain the ascending direction. Specify that the next attribute to sort will be themetadataattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByMetadataDesceding
Order bymetadatain the descending direction. Specify that the next attribute to sort will be themetadataattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
excludeAnswers
Exclude theanswersattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeContext
Exclude thecontextattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeErrors
Exclude theerrorsattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeVariableValues
Exclude thevariableValuesattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeValueSets
Exclude thevalueSetsattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
andModifyFirst
Turn a find operation into an atomicfindAndModifyoperation. Use the family ofset*(),unset*(),add*(),remove*(),put*()m andinit*()(and other attribute-specific) methods to describe the modification.- Returns:
- A modifier object to complete the
findAndModifyoperation
-
andReplaceFirst
Used to replace in-place existing version of the document
-