Uses of Class
play.modules.morphia.Model

Packages that use Model
play.modules.morphia   
play.modules.morphia.utils   
play.test   
 

Uses of Model in play.modules.morphia
 

Methods in play.modules.morphia with type parameters of type Model
static
<T extends Model>
Model.MorphiaQuery
Model.all()
           
<T extends Model>
CriteriaContainer
Model.MorphiaQuery.and(Criteria... criteria)
           
<T extends Model>
List<Key<T>>
Model.MorphiaQuery.asKeyList()
           
<T extends Model>
List<T>
Model.MorphiaQuery.asList()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.batchSize(int value)
           
static
<T extends Model>
T
Model.create(Class<?> type, String name, Map<String,String[]> params, Annotation[] annotations)
           
static
<T extends Model>
Model.MorphiaQuery
Model.createQuery()
           
static
<T extends Model>
Model.MorphiaUpdateOperations
Model.createUpdateOperations()
           
<T extends Model>
FieldEnd<? extends CriteriaContainerImpl>
Model.MorphiaQuery.criteria(String field)
           
<T extends Model>
T
Model.delete()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.disableCursorTimeout()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.disableSnapshotMode()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.disableTimeout()
          Deprecated. 
static
<T extends Model>
Model.MorphiaQuery
Model.disableValidation()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.disableValidation()
           
static
<T extends Model>
T
Model.edit(Object o, String name, Map<String,String[]> params, Annotation[] annotations)
           
<T extends Model>
T
Model.edit(String name, Map<String,String[]> params)
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.enableCursorTimeout()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.enableSnapshotMode()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.enableTimeout()
          Deprecated. 
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.enableValidation()
           
<T extends Model>
Iterable<T>
Model.MorphiaQuery.fetch()
           
<T extends Model>
List<T>
Model.MorphiaQuery.fetch(int max)
          Retrieve results of the query
<T extends Model>
List<T>
Model.MorphiaQuery.fetch(int page, int length)
          Retrieve a page of result
<T extends Model>
List<T>
Model.MorphiaQuery.fetchAll()
          Retrieve all results of the query This is a correspondence to JPAQuery's fetch(), which however, used as another method signature of Morphia Query
<T extends Model>
Iterable<T>
Model.MorphiaQuery.fetchEmptyEntities()
           
<T extends Model>
Iterable<Key<T>>
Model.MorphiaQuery.fetchKeys()
           
<T extends Model>
FieldEnd<? extends Query<T>>
Model.MorphiaQuery.field(String field)
           
static
<T extends Model>
Model.MorphiaQuery
Model.filter(String property, Object value)
          Morphia style filter method.
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.filter(String condition, Object value)
           
static
<T extends Model>
Model.MorphiaQuery
Model.find()
          Shortcut to createQuery()
static
<T extends Model>
Model.MorphiaQuery
Model.find(String keys, Object... params)
          JPA style find method
static
<T extends Model>
T
Model.findById(Object id)
           
static
<T extends Model>
T
Model.get()
          Return the first element in the data storage.
<T extends Model>
T
Model.MorphiaQuery.get()
           
<T extends Model>
Key<T>
Model.MorphiaQuery.getKey()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.hintIndex(String idxName)
           
<T extends Model>
Iterator<T>
Model.MorphiaQuery.iterator()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.limit(int value)
           
<T extends Model>
T
Model.merge()
          This method has no effect at all
static
<T extends Model>
Model.MorphiaUpdateOperations
Model.o()
          Alias of #updateOperations()
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.offset(int value)
           
<T extends Model>
CriteriaContainer
Model.MorphiaQuery.or(Criteria... criteria)
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.order(String condition)
           
static
<T extends Model>
Model.MorphiaQuery
Model.q()
          Shortcut to createQuery
static
<T extends Model>
Model.MorphiaQuery
Model.q(String keys, Object value)
          Shortcut to find(String, Object...)
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.queryNonPrimary()
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.queryPrimaryOnly()
           
<T extends Model>
T
Model.refresh()
          Refresh the entity state.
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.retrievedFields(boolean include, String... fields)
           
<T extends Model>
T
Model.save()
          Save and return this entity
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.skip(int value)
          Deprecated. 
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.where(CodeWScope js)
           
<T extends Model>
Model.MorphiaQuery
Model.MorphiaQuery.where(String js)
           
 

Methods in play.modules.morphia that return Model
 Model Model.MorphiaQuery._get()
           
static Model Model.create(String name, Scope.Params params)
           
 Model MorphiaPlugin.MorphiaModelLoader.findById(Object id)
           
 

Methods in play.modules.morphia that return types with arguments of type Model
 Class<? extends Model> Model.MorphiaQuery.getEntityClass()
           
 Query<? extends Model> Model.MorphiaQuery.getMorphiaQuery()
           
 UpdateOperations<? extends Model> Model.MorphiaUpdateOperations.getMorphiaUpdateOperations()
           
 Key<? extends Model> Model.save2()
          Save and return Morphia Key
 

Methods in play.modules.morphia with parameters of type Model
 void MorphiaEvent.IMorphiaEventHandler.added(Model context)
           
 void MorphiaEvent.MorphiaEventHandlerAdaptor.added(Model context)
           
 void MorphiaEvent.IMorphiaEventHandler.deleted(Model context)
           
 void MorphiaEvent.MorphiaEventHandlerAdaptor.deleted(Model context)
           
 void MorphiaEvent.IMorphiaEventHandler.loaded(Model context)
           
 void MorphiaEvent.MorphiaEventHandlerAdaptor.loaded(Model context)
           
 void MorphiaEvent.IMorphiaEventHandler.onAdd(Model context)
           
 void MorphiaEvent.MorphiaEventHandlerAdaptor.onAdd(Model context)
           
 void MorphiaEvent.IMorphiaEventHandler.onDelete(Model context)
           
 void MorphiaEvent.MorphiaEventHandlerAdaptor.onDelete(Model context)
           
 void MorphiaEvent.IMorphiaEventHandler.onLoad(Model context)
           
 void MorphiaEvent.MorphiaEventHandlerAdaptor.onLoad(Model context)
           
 void MorphiaEvent.IMorphiaEventHandler.onUpdate(Model context)
           
 void MorphiaEvent.MorphiaEventHandlerAdaptor.onUpdate(Model context)
           
 void MorphiaEvent.IMorphiaEventHandler.updated(Model context)
           
 void MorphiaEvent.MorphiaEventHandlerAdaptor.updated(Model context)
           
 

Method parameters in play.modules.morphia with type arguments of type Model
static void MorphiaPlugin.clearModelEventHandler(Class<? extends Model> model)
           
static Model.Factory MorphiaPlugin.MorphiaModelLoader.getFactory(Class<? extends Model> clazz)
           
static void MorphiaPlugin.registerModelEventHandler(Class<? extends Model> model, MorphiaEvent.IMorphiaEventHandler handler)
           
static void MorphiaPlugin.unregisterModelEventHandler(Class<? extends Model> model, MorphiaEvent.IMorphiaEventHandler handler)
           
 

Constructor parameters in play.modules.morphia with type arguments of type Model
Model.MorphiaQuery(Class<? extends Model> clazz)
           
Model.MorphiaQuery(Class<? extends Model> clazz, DBCollection coll, Datastore ds)
           
Model.MorphiaQuery(Class<? extends Model> clazz, DBCollection coll, Datastore ds, int offset, int limit)
           
Model.MorphiaUpdateOperations(Class<? extends Model> clazz)
           
 

Uses of Model in play.modules.morphia.utils
 

Methods in play.modules.morphia.utils with type parameters of type Model
static
<T extends Model>
Long
IdGenerator.generateLongId(Class<T> clazz)
           
static
<T extends Model>
Long
IdGenerator.generateLongId(T entity)
           
static
<T extends Model>
ObjectId
IdGenerator.generateObjectIdId(Class<T> clazz)
           
static
<T extends Model>
ObjectId
IdGenerator.generateObjectIdId(T entity)
           
 

Methods in play.modules.morphia.utils with parameters of type Model
static Object IdGenerator.generateId(Model entity)
           
 

Uses of Model in play.test
 

Method parameters in play.test with type arguments of type Model
static void MorphiaFixtures.delete(List<Class<? extends Model>> classes)
           
 



Copyright © 2012. All Rights Reserved.