Uses of Class
play.db.jpa.JPABase

Packages that use JPABase
play.db.jpa   
 

Uses of JPABase in play.db.jpa
 

Subclasses of JPABase in play.db.jpa
 class GenericModel
          A super class for JPA entities
 class JPASupport
          Deprecated. 
 class Model
          Base class for JPA model objects Automatically provide a @Id Long id field
 

Methods in play.db.jpa with type parameters of type JPABase
static
<T extends JPABase>
T
GenericModel.create(java.lang.Class<?> type, java.lang.String name, java.util.Map<java.lang.String,java.lang.String[]> params, java.lang.annotation.Annotation[] annotations)
           
static
<T extends JPABase>
T
GenericModel.create(java.lang.String name, Scope.Params params)
           
<T extends JPABase>
T
GenericModel.delete()
          Delete the entity.
static
<T extends JPABase>
T
GenericModel.edit(java.lang.Object o, java.lang.String name, java.util.Map<java.lang.String,java.lang.String[]> params, java.lang.annotation.Annotation[] annotations)
           
static
<T extends JPABase>
java.util.List<T>
GenericModel.findAll()
          Find all entities of this type
static
<T extends JPABase>
T
GenericModel.findById(java.lang.Object id)
          Find the entity with the corresponding id.
<T extends JPABase>
T
GenericModel.merge()
          Merge this object to obtain a managed entity (usefull when the object comes from the Cache).
<T extends JPABase>
T
GenericModel.refresh()
          Refresh the entity state.
<T extends JPABase>
T
GenericModel.save()
          store (ie insert) the entity.
 

Methods in play.db.jpa that return JPABase
 JPABase JPQL.create(java.lang.String entity, java.lang.String name, Scope.Params params)
           
 JPABase JPQL.findById(java.lang.String entity, java.lang.Object id)
           
 JPABase JPQL.findOneBy(java.lang.String entity, java.lang.String query, java.lang.Object[] params)
           
 



Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly