Package | Description |
---|---|
play | |
play.db | |
play.db.jpa | |
play.plugins | |
play.test |
Modifier and Type | Method and Description |
---|---|
Model.Factory |
PlayPlugin.modelFactory(java.lang.Class<? extends Model> modelClass) |
Modifier and Type | Method and Description |
---|---|
Model |
Model.Factory.findById(java.lang.Object id) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Model> |
Model.Factory.fetch(int offset,
int length,
java.lang.String orderBy,
java.lang.String orderDirection,
java.util.List<java.lang.String> properties,
java.lang.String keywords,
java.lang.String where) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
Model.Factory.keyValue(Model m) |
Modifier and Type | Method and Description |
---|---|
static Model.Factory |
Model.Manager.factoryFor(java.lang.Class<? extends Model> clazz) |
Modifier and Type | Class and Description |
---|---|
class |
GenericModel
A super class for JPA entities
|
class |
JPABase
A super class for JPA entities
|
class |
JPASupport
Deprecated.
|
class |
Model
Base class for JPA model objects
Automatically provide a @Id Long id field
|
Modifier and Type | Method and Description |
---|---|
Model |
JPAModelLoader.findById(java.lang.Object id)
Find object by ID
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Model> |
JPAModelLoader.fetch(int offset,
int size,
java.lang.String orderBy,
java.lang.String order,
java.util.List<java.lang.String> searchFields,
java.lang.String keywords,
java.lang.String where)
Retrieve a list of result
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
JPAModelLoader.keyValue(Model m) |
Modifier and Type | Method and Description |
---|---|
Model.Factory |
JPAPlugin.modelFactory(java.lang.Class<? extends Model> modelClass) |
Constructor and Description |
---|
JPAModelLoader(java.lang.Class<? extends Model> clazz) |
Modifier and Type | Method and Description |
---|---|
Model.Factory |
PluginCollection.modelFactory(java.lang.Class<? extends Model> modelClass) |
Modifier and Type | Method and Description |
---|---|
static void |
Fixtures.delete(java.util.List<java.lang.Class<? extends Model>> classes)
Delete all Model instances for the given types using the underlying persistence mechanisms
|
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly