接口 play.db.Model
的使用

使用 Model 的软件包
play   
play.db   
play.db.jpa   
play.plugins   
play.test   
 

playModel 的使用
 

类型变量类型为 Modelplay 中的方法参数
 Model.Factory PlayPlugin.modelFactory(java.lang.Class<? extends Model> modelClass)
           
 

play.dbModel 的使用
 

返回 Modelplay.db 中的方法
 Model Model.Factory.findById(java.lang.Object id)
           
 

返回变量类型为 Model 的类型的 play.db 中的方法
 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)
           
 

参数类型为 Modelplay.db 中的方法
 java.lang.Object Model.Factory.keyValue(Model m)
           
 

类型变量类型为 Modelplay.db 中的方法参数
static Model.Factory Model.Manager.factoryFor(java.lang.Class<? extends Model> clazz)
           
 

play.db.jpaModel 的使用
 

实现 Modelplay.db.jpa 中的类
 class GenericModel
          A super class for JPA entities
 class JPABase
          A super class for JPA entities
 class JPASupport
          已过时。 
 class Model
          Base class for JPA model objects Automatically provide a @Id Long id field
 

返回 Modelplay.db.jpa 中的方法
 Model JPAPlugin.JPAModelLoader.findById(java.lang.Object id)
           
 

返回变量类型为 Model 的类型的 play.db.jpa 中的方法
 java.util.List<Model> JPAPlugin.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)
           
 

参数类型为 Modelplay.db.jpa 中的方法
 java.lang.Object JPAPlugin.JPAModelLoader.keyValue(Model m)
           
 

类型变量类型为 Modelplay.db.jpa 中的方法参数
 Model.Factory JPAPlugin.modelFactory(java.lang.Class<? extends Model> modelClass)
           
 

类型变量类型为 Modelplay.db.jpa 中的构造方法参数
JPAPlugin.JPAModelLoader(java.lang.Class<? extends Model> clazz)
           
 

play.pluginsModel 的使用
 

类型变量类型为 Modelplay.plugins 中的方法参数
 Model.Factory PluginCollection.modelFactory(java.lang.Class<? extends Model> modelClass)
           
 

play.testModel 的使用
 

类型变量类型为 Modelplay.test 中的方法参数
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