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 Details

    • repository

      protected final org.immutables.mongo.repository.Repositories.Repository<Questionnaire> repository
  • Method Details

    • orderById

      public QuestionnaireRepository.Finder orderById()
      Order by id in the ascending direction. Specify that the next attribute to sort will be the id attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByIdDesceding

      public QuestionnaireRepository.Finder orderByIdDesceding()
      Order by id in the descending direction. Specify that the next attribute to sort will be the id attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByRev

      public QuestionnaireRepository.Finder orderByRev()
      Order by rev in the ascending direction. Specify that the next attribute to sort will be the rev attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByRevDesceding

      public QuestionnaireRepository.Finder orderByRevDesceding()
      Order by rev in the descending direction. Specify that the next attribute to sort will be the rev attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByAnswers

      public QuestionnaireRepository.Finder orderByAnswers()
      Order by answers in the ascending direction. Specify that the next attribute to sort will be the answers attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByAnswersDesceding

      public QuestionnaireRepository.Finder orderByAnswersDesceding()
      Order by answers in the descending direction. Specify that the next attribute to sort will be the answers attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByContext

      public QuestionnaireRepository.Finder orderByContext()
      Order by context in the ascending direction. Specify that the next attribute to sort will be the context attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByContextDesceding

      public QuestionnaireRepository.Finder orderByContextDesceding()
      Order by context in the descending direction. Specify that the next attribute to sort will be the context attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByActiveItem

      public QuestionnaireRepository.Finder orderByActiveItem()
      Order by activeItem in the ascending direction. Specify that the next attribute to sort will be the activeItem attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByActiveItemDesceding

      public QuestionnaireRepository.Finder orderByActiveItemDesceding()
      Order by activeItem in the descending direction. Specify that the next attribute to sort will be the activeItem attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByErrors

      public QuestionnaireRepository.Finder orderByErrors()
      Order by errors in the ascending direction. Specify that the next attribute to sort will be the errors attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByErrorsDesceding

      public QuestionnaireRepository.Finder orderByErrorsDesceding()
      Order by errors in the descending direction. Specify that the next attribute to sort will be the errors attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByVariableValues

      public QuestionnaireRepository.Finder orderByVariableValues()
      Order by variableValues in the ascending direction. Specify that the next attribute to sort will be the variableValues attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByVariableValuesDesceding

      public QuestionnaireRepository.Finder orderByVariableValuesDesceding()
      Order by variableValues in the descending direction. Specify that the next attribute to sort will be the variableValues attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByValueSets

      public QuestionnaireRepository.Finder orderByValueSets()
      Order by valueSets in the ascending direction. Specify that the next attribute to sort will be the valueSets attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByValueSetsDesceding

      public QuestionnaireRepository.Finder orderByValueSetsDesceding()
      Order by valueSets in the descending direction. Specify that the next attribute to sort will be the valueSets attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByMetadata

      public QuestionnaireRepository.Finder orderByMetadata()
      Order by metadata in the ascending direction. Specify that the next attribute to sort will be the metadata attribute using ascending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • orderByMetadataDesceding

      public QuestionnaireRepository.Finder orderByMetadataDesceding()
      Order by metadata in the descending direction. Specify that the next attribute to sort will be the metadata attribute using descending order in the the chain of comparisons performed to sort results.
      Returns:
      this finder for use in a chained invocation
    • excludeAnswers

      public QuestionnaireRepository.Finder excludeAnswers()
      Exclude the answers attribute from each document in the results.
      Returns:
      this finder for use in a chained invocation
    • excludeContext

      public QuestionnaireRepository.Finder excludeContext()
      Exclude the context attribute from each document in the results.
      Returns:
      this finder for use in a chained invocation
    • excludeErrors

      public QuestionnaireRepository.Finder excludeErrors()
      Exclude the errors attribute from each document in the results.
      Returns:
      this finder for use in a chained invocation
    • excludeVariableValues

      public QuestionnaireRepository.Finder excludeVariableValues()
      Exclude the variableValues attribute from each document in the results.
      Returns:
      this finder for use in a chained invocation
    • excludeValueSets

      public QuestionnaireRepository.Finder excludeValueSets()
      Exclude the valueSets attribute from each document in the results.
      Returns:
      this finder for use in a chained invocation
    • andModifyFirst

      @CheckReturnValue public QuestionnaireRepository.Modifier andModifyFirst()
      Turn a find operation into an atomic findAndModify operation. Use the family of set*(), unset*(), add*(), remove*(), put*()m and init*() (and other attribute-specific) methods to describe the modification.
      Returns:
      A modifier object to complete the findAndModify operation
    • andReplaceFirst

      @CheckReturnValue public QuestionnaireRepository.Replacer andReplaceFirst(Questionnaire document)
      Used to replace in-place existing version of the document