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 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:
FormRepository.find(Criteria)
-
-
Field Summary
Fields Modifier and Type Field Description protected org.immutables.mongo.repository.Repositories.Repository<T>repository
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormRepository.ModifierandModifyFirst()Turn a find operation into an atomicfindAndModifyoperation.FormRepository.ReplacerandReplaceFirst(Form document)Used to replace in-place existing version of the documentFormRepository.FinderexcludeData()Exclude thedataattribute from each document in the results.FormRepository.FinderexcludeNamespaces()Exclude thenamespacesattribute from each document in the results.FormRepository.FinderexcludeRequiredErrorText()Exclude therequiredErrorTextattribute from each document in the results.FormRepository.FinderexcludeValueSets()Exclude thevalueSetsattribute from each document in the results.FormRepository.FinderexcludeVariables()Exclude thevariablesattribute from each document in the results.FormRepository.FinderorderByData()Order bydatain the ascending direction.FormRepository.FinderorderByDataDesceding()Order bydatain the descending direction.FormRepository.FinderorderById()Order byidin the ascending direction.FormRepository.FinderorderByIdDesceding()Order byidin the descending direction.FormRepository.FinderorderByMetadata()Order bymetadatain the ascending direction.FormRepository.FinderorderByMetadataDesceding()Order bymetadatain the descending direction.FormRepository.FinderorderByName()Order bynamein the ascending direction.FormRepository.FinderorderByNameDesceding()Order bynamein the descending direction.FormRepository.FinderorderByNamespaces()Order bynamespacesin the ascending direction.FormRepository.FinderorderByNamespacesDesceding()Order bynamespacesin the descending direction.FormRepository.FinderorderByRequiredErrorText()Order byrequiredErrorTextin the ascending direction.FormRepository.FinderorderByRequiredErrorTextDesceding()Order byrequiredErrorTextin the descending direction.FormRepository.FinderorderByRev()Order byrevin the ascending direction.FormRepository.FinderorderByRevDesceding()Order byrevin the descending direction.FormRepository.FinderorderByValueSets()Order byvalueSetsin the ascending direction.FormRepository.FinderorderByValueSetsDesceding()Order byvalueSetsin the descending direction.FormRepository.FinderorderByVariables()Order byvariablesin the ascending direction.FormRepository.FinderorderByVariablesDesceding()Order byvariablesin the descending direction.-
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 FormRepository.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 FormRepository.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 FormRepository.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 FormRepository.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
-
orderByName
public FormRepository.Finder 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
public FormRepository.Finder 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
public FormRepository.Finder 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
public FormRepository.Finder 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
public FormRepository.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 FormRepository.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
-
orderByVariables
public FormRepository.Finder 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
public FormRepository.Finder 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
public FormRepository.Finder 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
public FormRepository.Finder 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
public FormRepository.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 FormRepository.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
-
orderByRequiredErrorText
public FormRepository.Finder 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
public FormRepository.Finder 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
public FormRepository.Finder excludeData()
Exclude thedataattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeVariables
public FormRepository.Finder excludeVariables()
Exclude thevariablesattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeNamespaces
public FormRepository.Finder excludeNamespaces()
Exclude thenamespacesattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeValueSets
public FormRepository.Finder excludeValueSets()
Exclude thevalueSetsattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
excludeRequiredErrorText
public FormRepository.Finder excludeRequiredErrorText()
Exclude therequiredErrorTextattribute from each document in the results.- Returns:
thisfinder for use in a chained invocation
-
andModifyFirst
@CheckReturnValue public FormRepository.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 FormRepository.Replacer andReplaceFirst(Form document)
Used to replace in-place existing version of the document
-
-