Untitled
unknown
java
4 years ago
963 B
7
Indexable
@RepositoryScaffoldingDefinition(generationName = "OGYREV.SZEKALSO")
public interface AlsohaziUlohelyNextNRepository extends UlohelyNextNRepository {
default List<AlsohaziUlohely> findNextNAlsohaziUlohely(
final AlsohaziUlohely starterSeat, final Integer numberOfSeats) {
return findNextNSeatsGeneral(
QDSLAlsohaziUlohely.alsohaziUlohely,
List.of(c -> c.szektor, c -> c.sor, c -> c.szek),
starterSeat,
numberOfSeats,
Optional.empty());
}
default List<AlsohaziUlohely> findNextNAlsohaziUlohelyFiltered(
final AlsohaziUlohely starterSeat, final Integer numberOfSeats, final Function<QDSLAlsohaziUlohely, BooleanExpression> filter) {
return findNextNSeatsGeneral(
QDSLAlsohaziUlohely.alsohaziUlohely,
List.of(c -> c.szektor, c -> c.sor, c -> c.szek),
starterSeat,
numberOfSeats,
Optional.of(filter));
}
}Editor is loading...