public class QuerydslRepositoryInvokerAdapter extends ObjectSE implements RepositoryInvoker
findAll(…) のすべてのフレーバーに対して実行される QuerydslPredicateExecutor および Predicate を認識する RepositoryInvoker。他のすべてのコールは、設定されたデリゲートに転送されます。| コンストラクターと説明 |
|---|
QuerydslRepositoryInvokerAdapter(RepositoryInvoker delegate, QuerydslPredicateExecutor<ObjectSE> executor, com.querydsl.core.types.Predicate predicate) 指定されたデリゲート RepositoryInvoker、QuerydslPredicateExecutor、Querydsl Predicate の新しい QuerydslRepositoryInvokerAdapter を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | hasDeleteMethod() リポジトリにオブジェクトを削除するメソッドがあるかどうかを返します。 |
boolean | hasFindAllMethod() リポジトリにすべてのオブジェクトを検索するメソッドがあるかどうかを返します。 |
boolean | hasFindOneMethod() リポジトリに単一のオブジェクトを検索するメソッドがあるかどうかを返します。 |
boolean | hasSaveMethod() リポジトリにオブジェクトを保存するメソッドがあるかどうかを返します。 |
void | invokeDeleteById(ObjectSE id)CrudRepository.deleteById(Object) と同等のメソッドを呼び出します。 |
IterableSE<ObjectSE> | invokeFindAll(Pageable pageable) 利用可能な場合は Pageable をパラメーターとして使用する方法(つまり PagingAndSortingRepository.findAll(Pageable) と同等)を使用し、利用可能な場合は Sort を使用する方法(つまり、指定されたものに含まれる Sort を抽出することにより PagingAndSortingRepository.findAll(Sort) と同等)を使用して、基になるリポジトリのすべて検索メソッドを呼び出します。Pageable)または CrudRepository.findAll() と同等のプレーン。 |
IterableSE<ObjectSE> | invokeFindAll(Sort sort) 可能な場合は Sort(つまり PagingAndSortingRepository.findAll(Sort) と同等)をパラメーターとして取るメソッド、または CrudRepository.findAll() と同等のプレーンを使用するメソッドを使用して、基礎となるリポジトリの find-all メソッドを呼び出します。 |
<T> OptionalSE<T> | invokeFindById(ObjectSE id)CrudRepository.findById(Object) と同等のメソッドを呼び出します。 |
OptionalSE<ObjectSE> | invokeQueryMethod(MethodSE method, MultiValueMap<StringSE,? extends ObjectSE> parameters, Pageable pageable, Sort sort) |
<T> T | invokeSave(T object) リポジトリで CrudRepository.save(Object) と同等のメソッドを呼び出します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic QuerydslRepositoryInvokerAdapter(RepositoryInvoker delegate, QuerydslPredicateExecutor<ObjectSE> executor, com.querydsl.core.types.Predicate predicate)
RepositoryInvoker、QuerydslPredicateExecutor、Querydsl Predicate の新しい QuerydslRepositoryInvokerAdapter を作成します。delegate - null であってはなりません。executor - null であってはなりません。predicate - null でもかまいません。public IterableSE<ObjectSE> invokeFindAll(Pageable pageable)
RepositoryInvokerPageable をパラメーターとして使用する方法(つまり PagingAndSortingRepository.findAll(Pageable) と同等)を使用し、利用可能な場合は Sort を使用する方法(つまり、指定されたものに含まれる Sort を抽出することにより PagingAndSortingRepository.findAll(Sort) と同等)を使用して、基になるリポジトリのすべて検索メソッドを呼び出します。Pageable)または CrudRepository.findAll() と同等のプレーン。RepositoryInvoker 内の invokeFindAll pageable - null でもかまいません。public IterableSE<ObjectSE> invokeFindAll(Sort sort)
RepositoryInvokerSort(つまり PagingAndSortingRepository.findAll(Sort) と同等)をパラメーターとして取るメソッド、または CrudRepository.findAll() と同等のプレーンを使用するメソッドを使用して、基礎となるリポジトリの find-all メソッドを呼び出します。RepositoryInvoker 内の invokeFindAll public boolean hasDeleteMethod()
RepositoryInvocationInformationRepositoryInvocationInformation 内の hasDeleteMethod public boolean hasFindAllMethod()
RepositoryInvocationInformationRepositoryInvocationInformation 内の hasFindAllMethod public boolean hasFindOneMethod()
RepositoryInvocationInformationRepositoryInvocationInformation 内の hasFindOneMethod public boolean hasSaveMethod()
RepositoryInvocationInformationRepositoryInvocationInformation 内の hasSaveMethod public void invokeDeleteById(ObjectSE id)
RepositoryInvokerCrudRepository.deleteById(Object) と同等のメソッドを呼び出します。指定された ID は、バッキングリポジトリの実際の識別子型に変換可能な型であると見なされます。RepositoryInvoker 内の invokeDeleteById id - null であってはなりません。public <T> OptionalSE<T> invokeFindById(ObjectSE id)
RepositoryInvokerCrudRepository.findById(Object) と同等のメソッドを呼び出します。RepositoryInvoker 内の invokeFindById id - null であってはなりません。public OptionalSE<ObjectSE> invokeQueryMethod(MethodSE method, MultiValueMap<StringSE,? extends ObjectSE> parameters, Pageable pageable, Sort sort)
RepositoryInvokerRepositoryInvoker 内の invokeQueryMethod method - null であってはなりません。parameters - null であってはなりません。pageable - null であってはなりません。sort - null であってはなりません。public <T> T invokeSave(T object)
RepositoryInvokerCrudRepository.save(Object) と同等のメソッドを呼び出します。RepositoryInvoker 内の invokeSave Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.