java.lang.Object
org.activiti.cloud.services.query.app.repository.EntityFinder

public class EntityFinder extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)