Package io.dialob.api.form
Class FormRepository.Finder
java.lang.Object
org.immutables.mongo.repository.Repositories.Finder<T,F>
org.immutables.mongo.repository.Repositories.FinderWithDelete<Form,FormRepository.Finder>
io.dialob.api.form.FormRepository.Finder
- Enclosing class:
- FormRepository
@NotThreadSafe
public static final class FormRepository.Finder
extends org.immutables.mongo.repository.Repositories.FinderWithDelete<Form,FormRepository.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<Form>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(Form document) Used to replace in-place existing version of the documentExclude thedataattribute from each document in the results.Exclude thenamespacesattribute from each document in the results.Exclude therequiredErrorTextattribute from each document in the results.Exclude thevalueSetsattribute from each document in the results.Exclude thevariablesattribute from each document in the results.Order bydatain the ascending direction.Order bydatain the descending direction.Order byidin the ascending direction.Order byidin the descending direction.Order bymetadatain the ascending direction.Order bymetadatain the descending direction.Order bynamein the ascending direction.Order bynamein the descending direction.Order bynamespacesin the ascending direction.Order bynamespacesin the descending direction.Order byrequiredErrorTextin the ascending direction.Order byrequiredErrorTextin the descending direction.Order byrevin the ascending direction.Order byrevin the descending direction.Order byvalueSetsin the ascending direction.Order byvalueSetsin the descending direction.Order byvariablesin the ascending direction.Order byvariablesin 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
-
orderByName
Order bynamein the ascending direction. Specify that the next attribute to sort will be thenameattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByNameDesceding
Order bynamein the descending direction. Specify that the next attribute to sort will be thenameattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByData
Order bydatain the ascending direction. Specify that the next attribute to sort will be thedataattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByDataDesceding
Order bydatain the descending direction. Specify that the next attribute to sort will be thedataattribute 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
-
orderByVariables
Order byvariablesin the ascending direction. Specify that the next attribute to sort will be thevariablesattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByVariablesDesceding
Order byvariablesin the descending direction. Specify that the next attribute to sort will be thevariablesattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByNamespaces
Order bynamespacesin the ascending direction. Specify that the next attribute to sort will be thenamespacesattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByNamespacesDesceding
Order bynamespacesin the descending direction. Specify that the next attribute to sort will be thenamespacesattribute 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
-
orderByRequiredErrorText
Order byrequiredErrorTextin the ascending direction. Specify that the next attribute to sort will be therequiredErrorTextattribute using ascending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
orderByRequiredErrorTextDesceding
Order byrequiredErrorTextin the descending direction. Specify that the next attribute to sort will be therequiredErrorTextattribute using descending order in the the chain of comparisons performed to sort results.- Returns:
thisfinder for use in a chained invocation
-
excludeData
Exclude thedataattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeVariables
Exclude thevariablesattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeNamespaces
Exclude thenamespacesattribute 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
-
excludeRequiredErrorText
Exclude therequiredErrorTextattribute 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
-