@Component public class EntityFinder extends Object
| Constructor and Description |
|---|
EntityFinder() |
| Modifier and Type | Method and Description |
|---|---|
<T,ID> T |
findById(org.springframework.data.repository.CrudRepository<T,ID> repository,
ID id,
String notFoundMessage) |
<T> T |
findOne(org.springframework.data.querydsl.QuerydslPredicateExecutor<T> predicateExecutor,
com.querydsl.core.types.Predicate predicate,
String notFoundMessage) |
public <T,ID> T findById(org.springframework.data.repository.CrudRepository<T,ID> repository,
ID id,
String notFoundMessage)
public <T> T findOne(org.springframework.data.querydsl.QuerydslPredicateExecutor<T> predicateExecutor,
com.querydsl.core.types.Predicate predicate,
String notFoundMessage)
Copyright © 2010–2017 Alfresco. All rights reserved.