Package | Description |
---|---|
play | |
play.db | |
play.db.jpa | |
play.plugins | |
play.test |
Modifier and Type | Method and Description |
---|---|
Model.Factory |
PlayPlugin.modelFactory(Class<? extends Model> modelClass) |
Modifier and Type | Method and Description |
---|---|
Model |
Model.Factory.findById(Object id) |
Modifier and Type | Method and Description |
---|---|
List<Model> |
Model.Factory.fetch(int offset,
int length,
String orderBy,
String orderDirection,
List<String> properties,
String keywords,
String where) |
Modifier and Type | Method and Description |
---|---|
Object |
Model.Factory.keyValue(Model m) |
Modifier and Type | Method and Description |
---|---|
static Model.Factory |
Model.Manager.factoryFor(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(Object id)
Find object by ID
|
Modifier and Type | Method and Description |
---|---|
List<Model> |
JPAModelLoader.fetch(int offset,
int size,
String orderBy,
String order,
List<String> searchFields,
String keywords,
String where)
Retrieve a list of result
|
Modifier and Type | Method and Description |
---|---|
Object |
JPAModelLoader.keyValue(Model m) |
Modifier and Type | Method and Description |
---|---|
Model.Factory |
JPAPlugin.modelFactory(Class<? extends Model> modelClass) |
Constructor and Description |
---|
JPAModelLoader(Class<? extends Model> clazz) |
Modifier and Type | Method and Description |
---|---|
Model.Factory |
PluginCollection.modelFactory(Class<? extends Model> modelClass) |
Modifier and Type | Method and Description |
---|---|
static void |
Fixtures.delete(List<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