public interface QueryInvocationContext
Modifier and Type | Method and Description |
---|---|
Class<?> |
getEntityClass()
The class of the Entity related to the invoked Repository.
|
javax.persistence.EntityManager |
getEntityManager()
Entity Manager used for the query.
|
Method |
getMethod()
The repository method currently executed.
|
Class<?> |
getRepositoryClass()
The type of the repository currently accessed.
|
boolean |
isNew(Object entity)
Given the object parameter is an entity, checks if the entity is
persisted or not.
|
javax.persistence.EntityManager getEntityManager()
Class<?> getEntityClass()
boolean isNew(Object entity)
entity
- Entity object, non nullable.Class<?> getRepositoryClass()
Method getMethod()
Copyright © 2015 The Apache Software Foundation. All rights reserved.