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 theRepositories.Finder.fetchAll(),Repositories.Finder.fetchFirst(),andModifyFirst(), orRepositories.FinderWithDelete.deleteFirst()methods. Configure exclusion and sort ordering for results using the family ofexclude*()andorderBy*()attribute-specific methods.- See Also:
QuestionnaireRepository.find(Criteria)
-
-
Field Summary
Fields Modifier and Type Field Description protected org.immutables.mongo.repository.Repositories.Repository<T>repository
-
Method Summary
-
Methods inherited from class org.immutables.mongo.repository.Repositories.FinderWithDelete
deleteAll, deleteFirst
-
-
-
-
Field Detail
-
repository
protected final org.immutables.mongo.repository.Repositories.Repository<T extends Object> repository
-
-
Method Detail
-
orderById
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder 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
public QuestionnaireRepository.Finder excludeAnswers()
Exclude theanswersattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeContext
public QuestionnaireRepository.Finder excludeContext()
Exclude thecontextattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeErrors
public QuestionnaireRepository.Finder excludeErrors()
Exclude theerrorsattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeVariableValues
public QuestionnaireRepository.Finder excludeVariableValues()
Exclude thevariableValuesattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeValueSets
public QuestionnaireRepository.Finder excludeValueSets()
Exclude thevalueSetsattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
andModifyFirst
@CheckReturnValue public QuestionnaireRepository.Modifier 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
@CheckReturnValue public QuestionnaireRepository.Replacer andReplaceFirst(Questionnaire document)
Used to replace in-place existing version of the document
-
-