corda / net.corda.core.node.services.vault / QueryCriteria / LinearStateQueryCriteria

LinearStateQueryCriteria

data class LinearStateQueryCriteria : CommonQueryCriteria

LinearStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultLinearState

Constructors

<init>

LinearStateQueryCriteria(participants: List<AbstractParty>? = null, uuid: List<UUID>? = null, externalId: List<String>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, relevancyStatus: RelevancyStatus = Vault.RelevancyStatus.ALL)
LinearStateQueryCriteria(participants: List<AbstractParty>? = null, uuid: List<UUID>? = null, externalId: List<String>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null)
LinearStateQueryCriteria(participants: List<AbstractParty>? = null, linearId: List<UniqueIdentifier>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, relevancyStatus: RelevancyStatus = Vault.RelevancyStatus.ALL)
LinearStateQueryCriteria(participants: List<AbstractParty>? = null, linearId: List<UniqueIdentifier>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null)

LinearStateQueryCriteria: provides query by attributes defined in VaultSchema.VaultLinearState

LinearStateQueryCriteria(participants: List<AbstractParty>? = null, uuid: List<UUID>? = null, externalId: List<String>? = null, status: StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes: Set<Class<out ContractState>>? = null, relevancyStatus: RelevancyStatus = Vault.RelevancyStatus.ALL, exactParticipants: List<AbstractParty>?)

Properties

contractStateTypes

val contractStateTypes: Set<Class<out ContractState>>?

exactParticipants

val exactParticipants: List<AbstractParty>?

externalId

val externalId: List<String>?

participants

val participants: List<AbstractParty>?

relevancyStatus

val relevancyStatus: RelevancyStatus

status

val status: StateStatus

uuid

val uuid: List<UUID>?

Functions

copy

fun copy(participants: List<AbstractParty>? = this.participants, uuid: List<UUID>? = this.uuid, externalId: List<String>? = this.externalId, status: StateStatus = this.status, contractStateTypes: Set<Class<out ContractState>>? = this.contractStateTypes): LinearStateQueryCriteria
fun copy(participants: List<AbstractParty>? = this.participants, uuid: List<UUID>? = this.uuid, externalId: List<String>? = this.externalId, status: StateStatus = this.status, contractStateTypes: Set<Class<out ContractState>>? = this.contractStateTypes, relevancyStatus: RelevancyStatus = this.relevancyStatus): LinearStateQueryCriteria

visit

fun visit(parser: IQueryCriteriaParser): Collection<Predicate>

withContractStateTypes

fun withContractStateTypes(contractStateTypes: Set<Class<out ContractState>>): LinearStateQueryCriteria

withExactParticipants

fun withExactParticipants(exactParticipants: List<AbstractParty>): LinearStateQueryCriteria

withExternalId

fun withExternalId(externalId: List<String>): LinearStateQueryCriteria

withParticipants

fun withParticipants(participants: List<AbstractParty>): LinearStateQueryCriteria

withRelevancyStatus

fun withRelevancyStatus(relevancyStatus: RelevancyStatus): LinearStateQueryCriteria

withStatus

fun withStatus(status: StateStatus): LinearStateQueryCriteria

withUuid

fun withUuid(uuid: List<UUID>): LinearStateQueryCriteria