Skip to content

Commit 3824996

Browse files
Updated v2 changelog.
1 parent 2e3562f commit 3824996

File tree

1 file changed

+19
-23
lines changed

1 file changed

+19
-23
lines changed

docs/CHANGELOG-2.0.0.md

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -361,18 +361,10 @@ Creates a `QueryCriteria` using the Query DSL.
361361
```kotlin
362362
fun <T : ContractState> vaultQuery(
363363
contractStateType: Class<T>,
364-
stateStatus: Vault.StateStatus,
365-
relevancyStatus: Vault.RelevancyStatus,
366-
page: PageSpecification,
367-
sort: Sort,
368364
action: QueryDsl<T>.() -> Unit
369365
): QueryCriteria
370366

371367
inline fun <reified T : ContractState> vaultQuery(
372-
stateStatus: Vault.StateStatus,
373-
relevancyStatus: Vault.RelevancyStatus,
374-
page: PageSpecification,
375-
sort: Sort,
376368
noinline action: QueryDsl<T>.() -> Unit
377369
): QueryCriteria
378370
```
@@ -389,7 +381,9 @@ Determines whether the sequence contains any elements.
389381

390382
```kotlin
391383
fun <T : ContractState> VaultService<T>.any(
392-
criteria: QueryCriteria
384+
criteria: QueryCriteria,
385+
paging: PageSpecification,
386+
sorting: Sort
393387
): Boolean
394388

395389
fun <T : ContractState> VaultService<T>.any(
@@ -409,7 +403,9 @@ Counts the number of elements in a sequence.
409403

410404
```kotlin
411405
fun <T : ContractState> VaultService<T>.count(
412-
criteria: QueryCriteria
406+
criteria: QueryCriteria,
407+
paging: PageSpecification,
408+
sorting: Sort
413409
): Int
414410

415411
fun <T : ContractState> VaultService<T>.count(
@@ -637,7 +633,7 @@ fun <T : ContractState> VaultService<T>.subscribe(
637633
Builds a query criterion for a property with null value.
638634

639635
```kotlin
640-
fun <T : StatePersistable, P> KProperty1<T, P?>.isNull(): QueryCriteria
636+
fun <T : StatePersistable, P> KProperty1<T, P?>.isNull() : ColumnPredicateExpression<T, P>
641637
```
642638

643639
---
@@ -651,7 +647,7 @@ fun <T : StatePersistable, P> KProperty1<T, P?>.isNull(): QueryCriteria
651647
Builds a query criterion for a property with a non-null value.
652648

653649
```kotlin
654-
fun <T : StatePersistable, P> KProperty1<T, P?>.isNotNull(): QueryCriteria
650+
fun <T : StatePersistable, P> KProperty1<T, P?>.isNotNull() : ColumnPredicateExpression<T, P>
655651
```
656652

657653
---
@@ -665,7 +661,7 @@ fun <T : StatePersistable, P> KProperty1<T, P?>.isNotNull(): QueryCriteria
665661
Builds a query criterion for a property with a value equal to the specified value.
666662

667663
```kotlin
668-
infix fun <T : StatePersistable, P> KProperty1<T, P?>.equalTo(value: P): QueryCriteria
664+
infix fun <T : StatePersistable, P> KProperty1<T, P?>.equalTo(value: P) : ColumnPredicateExpression<T, P>
669665
```
670666

671667
---
@@ -679,7 +675,7 @@ infix fun <T : StatePersistable, P> KProperty1<T, P?>.equalTo(value: P): QueryCr
679675
Builds a query criterion for a property with a value not equal to the specified value.
680676

681677
```kotlin
682-
infix fun <T : StatePersistable, P> KProperty1<T, P?>.notEqualTo(value: P): QueryCriteria
678+
infix fun <T : StatePersistable, P> KProperty1<T, P?>.notEqualTo(value: P) : ColumnPredicateExpression<T, P>
683679
```
684680

685681
---
@@ -693,7 +689,7 @@ infix fun <T : StatePersistable, P> KProperty1<T, P?>.notEqualTo(value: P): Quer
693689
Builds a query criterion for a property with a value greater than to the specified value.
694690

695691
```kotlin
696-
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.greaterThan(value: P): QueryCriteria
692+
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.greaterThan(value: P) : ColumnPredicateExpression<T, P>
697693
```
698694

699695
---
@@ -707,7 +703,7 @@ infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.greaterTha
707703
Builds a query criterion for a property with a value greater than or equal to to the specified value.
708704

709705
```kotlin
710-
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.greaterThanOrEqualTo(value: P): QueryCriteria
706+
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.greaterThanOrEqualTo(value: P) : ColumnPredicateExpression<T, P>
711707
```
712708

713709
---
@@ -721,7 +717,7 @@ infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.greaterTha
721717
Builds a query criterion for a property with a value less than to the specified value.
722718

723719
```kotlin
724-
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.lessThan(value: P): QueryCriteria
720+
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.lessThan(value: P) : ColumnPredicateExpression<T, P>
725721
```
726722

727723
---
@@ -735,7 +731,7 @@ infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.lessThan(v
735731
Builds a query criterion for a property with a value less than or equal to to the specified value.
736732

737733
```kotlin
738-
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.lessThanOrEqualTo(value: P): QueryCriteria
734+
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.lessThanOrEqualTo(value: P) : ColumnPredicateExpression<T, P>
739735
```
740736

741737
---
@@ -749,7 +745,7 @@ infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.lessThanOr
749745
Builds a query criterion for a property with a value between the specified minimum and maximum values.
750746

751747
```kotlin
752-
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.between(range: ClosedRange<P>): QueryCriteria
748+
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.between(range: ClosedRange<P>) : ColumnPredicateExpression<T, P>
753749
```
754750

755751
---
@@ -763,7 +759,7 @@ infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.between(ra
763759
Builds a query criterion for a property with a value like the specified value.
764760

765761
```kotlin
766-
infix fun <T : StatePersistable> KProperty1<T, String?>.like(value: String): QueryCriteria
762+
infix fun <T : StatePersistable> KProperty1<T, String?>.like(value: String) : ColumnPredicateExpression<T, String>
767763
```
768764

769765
---
@@ -777,7 +773,7 @@ infix fun <T : StatePersistable> KProperty1<T, String?>.like(value: String): Que
777773
Builds a query criterion for a property with a value not like the specified value.
778774

779775
```kotlin
780-
infix fun <T : StatePersistable> KProperty1<T, String?>.notLike(value: String): QueryCriteria
776+
infix fun <T : StatePersistable> KProperty1<T, String?>.notLike(value: String) : ColumnPredicateExpression<T, String>
781777
```
782778

783779
---
@@ -791,7 +787,7 @@ infix fun <T : StatePersistable> KProperty1<T, String?>.notLike(value: String):
791787
Builds a query criterion for a property with a value within the specified collection.
792788

793789
```kotlin
794-
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.within(value: Collection<P>): QueryCriteria
790+
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.within(value: Collection<P>) : ColumnPredicateExpression<T, P>
795791
```
796792

797793
---
@@ -805,7 +801,7 @@ infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.within(val
805801
Builds a query criterion for a property with a value not within the specified collection.
806802

807803
```kotlin
808-
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.notWithin(value: Collection<P>): QueryCriteria
804+
infix fun <T : StatePersistable, P : Comparable<P>> KProperty1<T, P?>.notWithin(value: Collection<P>) : ColumnPredicateExpression<T, P>
809805
```
810806

811807
---

0 commit comments

Comments
 (0)