VaultQueryCriteria

data class VaultQueryCriteria(val status: Vault.StateStatus = Vault.StateStatus.UNCONSUMED, val contractStateTypes: Set<Class<out ContractState>>? = null, val stateRefs: List<StateRef>? = null, val notary: List<AbstractParty>? = null, val softLockingCondition: QueryCriteria.SoftLockingCondition? = null, val timeCondition: QueryCriteria.TimeCondition? = null, val relevancyStatus: Vault.RelevancyStatus = Vault.RelevancyStatus.ALL, val constraintTypes: Set<Vault.ConstraintInfo.Type> = emptySet(), val constraints: Set<Vault.ConstraintInfo> = emptySet(), val participants: List<AbstractParty>? = null, val externalIds: List<UUID> = emptyList(), val exactParticipants: List<AbstractParty>? = null) : QueryCriteria.CommonQueryCriteria

VaultQueryCriteria: provides query by attributes defined in VaultSchema.VaultStates

Constructors

Link copied to clipboard
constructor(status: Vault.StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, stateRefs: List<StateRef>? = null, notary: List<AbstractParty>? = null, softLockingCondition: QueryCriteria.SoftLockingCondition? = null, timeCondition: QueryCriteria.TimeCondition? = null, relevancyStatus: Vault.RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes: Set<Vault.ConstraintInfo.Type> = emptySet(), constraints: Set<Vault.ConstraintInfo> = emptySet(), participants: List<AbstractParty>? = null, externalIds: List<UUID> = emptyList())
constructor(status: Vault.StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, stateRefs: List<StateRef>? = null, notary: List<AbstractParty>? = null, softLockingCondition: QueryCriteria.SoftLockingCondition? = null, timeCondition: QueryCriteria.TimeCondition? = null, relevancyStatus: Vault.RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes: Set<Vault.ConstraintInfo.Type> = emptySet(), constraints: Set<Vault.ConstraintInfo> = emptySet(), participants: List<AbstractParty>? = null)
constructor(status: Vault.StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, stateRefs: List<StateRef>? = null, notary: List<AbstractParty>? = null, softLockingCondition: QueryCriteria.SoftLockingCondition? = null, timeCondition: QueryCriteria.TimeCondition? = null)
constructor(status: Vault.StateStatus)
constructor(status: Vault.StateStatus, contractStateTypes: Set<Class<out ContractState>>?)
constructor(status: Vault.StateStatus, contractStateTypes: Set<Class<out ContractState>>?, stateRefs: List<StateRef>?)
constructor(status: Vault.StateStatus, contractStateTypes: Set<Class<out ContractState>>?, stateRefs: List<StateRef>?, notary: List<AbstractParty>?)
constructor(status: Vault.StateStatus, contractStateTypes: Set<Class<out ContractState>>?, stateRefs: List<StateRef>?, notary: List<AbstractParty>?, softLockingCondition: QueryCriteria.SoftLockingCondition?)
constructor(status: Vault.StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, stateRefs: List<StateRef>? = null, notary: List<AbstractParty>? = null, softLockingCondition: QueryCriteria.SoftLockingCondition? = null, timeCondition: QueryCriteria.TimeCondition? = null, relevancyStatus: Vault.RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes: Set<Vault.ConstraintInfo.Type> = emptySet(), constraints: Set<Vault.ConstraintInfo> = emptySet(), participants: List<AbstractParty>? = null, externalIds: List<UUID> = emptyList(), exactParticipants: List<AbstractParty>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val contractStateTypes: Set<Class<out ContractState>>? = null
Link copied to clipboard
open override val exactParticipants: List<AbstractParty>? = null
Link copied to clipboard
open override val externalIds: List<UUID>
Link copied to clipboard
val notary: List<AbstractParty>? = null
Link copied to clipboard
open override val participants: List<AbstractParty>? = null
Link copied to clipboard
Link copied to clipboard
val stateRefs: List<StateRef>? = null
Link copied to clipboard
open override val status: Vault.StateStatus
Link copied to clipboard

Functions

Link copied to clipboard
open infix override fun and(criteria: QueryCriteria): QueryCriteria
Link copied to clipboard
fun copy(status: Vault.StateStatus = this.status, contractStateTypes: Set<Class<out ContractState>>? = this.contractStateTypes, stateRefs: List<StateRef>? = this.stateRefs, notary: List<AbstractParty>? = this.notary, softLockingCondition: QueryCriteria.SoftLockingCondition? = this.softLockingCondition, timeCondition: QueryCriteria.TimeCondition? = this.timeCondition): QueryCriteria.VaultQueryCriteria

This function copies this object.

fun copy(status: Vault.StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, stateRefs: List<StateRef>? = null, notary: List<AbstractParty>? = null, softLockingCondition: QueryCriteria.SoftLockingCondition? = null, timeCondition: QueryCriteria.TimeCondition? = null, relevancyStatus: Vault.RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes: Set<Vault.ConstraintInfo.Type> = emptySet(), constraints: Set<Vault.ConstraintInfo> = emptySet(), participants: List<AbstractParty>? = null): QueryCriteria.VaultQueryCriteria
fun copy(status: Vault.StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, stateRefs: List<StateRef>? = null, notary: List<AbstractParty>? = null, softLockingCondition: QueryCriteria.SoftLockingCondition? = null, timeCondition: QueryCriteria.TimeCondition? = null, relevancyStatus: Vault.RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes: Set<Vault.ConstraintInfo.Type> = emptySet(), constraints: Set<Vault.ConstraintInfo> = emptySet(), participants: List<AbstractParty>? = null, externalIds: List<UUID> = emptyList()): QueryCriteria.VaultQueryCriteria

This function creates a VaultQueryCriteria object with the given values. All other fields have the default values set.

Link copied to clipboard
open infix override fun or(criteria: QueryCriteria): QueryCriteria
Link copied to clipboard
open override fun visit(parser: IQueryCriteriaParser): Collection<<Error class: unknown class>>
Link copied to clipboard

This function creates a new VaultQueryCriteria object with default values, and sets the value of constraints. Please use only one function in this group at a time to make sure they are not overwriting each other.

Link copied to clipboard

This function creates a new VaultQueryCriteria object with default values, and sets the value of constraintTypes. Please use only one function in this group at a time to make sure they are not overwriting each other.

Link copied to clipboard

This function copies the existing VaultQueryCriteria object and sets the given value for contractStateTypes. You can use more than one of the functions in this group together. In case you are also using a function that creates a new VaultQueryCriteria object, make sure that you are calling that method first.

Link copied to clipboard

This function creates a new VaultQueryCriteria object with default values, and sets the value of exactParticipants. Please use only one function in this group at a time to make sure they are not overwriting each other.

Link copied to clipboard

This function creates a new VaultQueryCriteria object with default values, and sets the value of externalIds. Please use only one function in this group at a time to make sure they are not overwriting each other.

Link copied to clipboard

This function copies the existing VaultQueryCriteria object and sets the given value for notary. You can use more than one of the functions in this group together. In case you are also using a function that creates a new VaultQueryCriteria object, make sure that you are calling that method first.

Link copied to clipboard

This function creates a new VaultQueryCriteria object with default values, and sets the value of participants. Please use only one function in this group at a time to make sure they are not overwriting each other.

Link copied to clipboard

This function creates a new VaultQueryCriteria object with default values, and sets the value of relevancyStatus. Please use only one function in this group at a time to make sure they are not overwriting each other.

Link copied to clipboard

This function copies the existing VaultQueryCriteria object and sets the given value for softLockingCondition. You can use more than one of the functions in this group together. In case you are also using a function that creates a new VaultQueryCriteria object, make sure that you are calling that method first.

Link copied to clipboard

This function copies the existing VaultQueryCriteria object and sets the given value for stateRefs. You can use more than one of the functions in this group together. In case you are also using a function that creates a new VaultQueryCriteria object, make sure that you are calling that method first.

Link copied to clipboard

This function copies the existing VaultQueryCriteria object and sets the given value for status. You can use more than one of the functions in this group together. In case you are also using a function that creates a new VaultQueryCriteria object, make sure that you are calling that method first.

Link copied to clipboard

This function copies the existing VaultQueryCriteria object and sets the given value for timeCondition. You can use more than one of the functions in this group together. In case you are also using a function that creates a new VaultQueryCriteria object, make sure that you are calling that method first.