QueryCriteria.SoftLockingCondition.<init> - corda

corda / net.corda.core.node.services.vault / QueryCriteria / SoftLockingCondition / <init>

# <init>

`SoftLockingCondition(type: SoftLockingType, lockIds: List<UUID> = emptyList())`

Select states based on their locks.

### Parameters

`type` - Whether to select all locked states, all unlocked states, specific locked states, or all unlocked states plus specific locked states.

`lockIds` - The specific locked states to select (if applicable).