Class EntityFinder
java.lang.Object
org.activiti.cloud.services.query.app.repository.EntityFinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,ID> T findById(org.springframework.data.repository.CrudRepository<T, ID> repository, ID id, String notFoundMessage) <T> TfindOne(org.springframework.data.querydsl.QuerydslPredicateExecutor<T> predicateExecutor, com.querydsl.core.types.Predicate predicate, String notFoundMessage)
-
Constructor Details
-
EntityFinder
public EntityFinder()
-
-
Method Details
-
findById
public <T,ID> T findById(org.springframework.data.repository.CrudRepository<T, ID> repository, ID id, String notFoundMessage) -
findOne
public <T> T findOne(org.springframework.data.querydsl.QuerydslPredicateExecutor<T> predicateExecutor, com.querydsl.core.types.Predicate predicate, String notFoundMessage)
-