Package | Description |
---|---|
org.mongodb.morphia | |
org.mongodb.morphia.converters | |
org.mongodb.morphia.ext.guice | |
org.mongodb.morphia.mapping | |
org.mongodb.morphia.query |
Modifier and Type | Method and Description |
---|---|
Mapper |
Morphia.getMapper() |
Mapper |
DatastoreImpl.getMapper() |
Modifier and Type | Method and Description |
---|---|
Object |
ObjectFactory.createInstance(Mapper mapper,
MappedField mf,
com.mongodb.DBObject dbObj) |
static <T> List<com.mongodb.DBRef> |
DatastoreImpl.keysAsRefs(List<Key<T>> keys,
Mapper mapper)
Converts a list of keys to refs
|
void |
EntityInterceptor.postLoad(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper)
see
PostLoad |
void |
AbstractEntityInterceptor.postLoad(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
EntityInterceptor.postPersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper)
see
PostPersist |
void |
AbstractEntityInterceptor.postPersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
EntityInterceptor.preLoad(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper)
see
PreLoad |
void |
AbstractEntityInterceptor.preLoad(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
ValidationExtension.prePersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
EntityInterceptor.prePersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper)
see
PrePersist |
void |
AbstractEntityInterceptor.prePersist(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
void |
EntityInterceptor.preSave(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper)
see
PreSave |
void |
AbstractEntityInterceptor.preSave(Object ent,
com.mongodb.DBObject dbObj,
Mapper mapper) |
static <T> List<Key<T>> |
DatastoreImpl.refsToKeys(Mapper mapper,
List<com.mongodb.DBRef> refs,
Class<T> c)
Converts a list of refs to keys
|
void |
MapreduceResults.setInlineRequiredOptions(Class<T> clazz,
Mapper mapper,
EntityCache cache) |
Constructor and Description |
---|
DatastoreImpl(Mapper mapper,
com.mongodb.Mongo mongo,
String dbName) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultConverters.setMapper(Mapper mapper) |
void |
TypeConverter.setMapper(Mapper mapper) |
Modifier and Type | Method and Description |
---|---|
Object |
GuiceObjectFactory.createInstance(Mapper mapper,
MappedField mf,
com.mongodb.DBObject dbObj) |
Modifier and Type | Method and Description |
---|---|
Mapper |
MappedClass.getMapper() |
Modifier and Type | Method and Description |
---|---|
com.mongodb.DBObject |
MappedClass.callLifecycleMethods(Class<? extends Annotation> event,
Object entity,
com.mongodb.DBObject dbObj,
Mapper mapper)
Call the lifecycle methods
|
Object |
DefaultCreator.createInstance(Mapper mapper,
MappedField mf,
com.mongodb.DBObject dbObj) |
void |
CustomMapper.fromDBObject(com.mongodb.DBObject dbObject,
MappedField mf,
Object entity,
EntityCache cache,
Mapper mapper) |
void |
CustomMapper.toDBObject(Object entity,
MappedField mf,
com.mongodb.DBObject dbObject,
Map<Object,com.mongodb.DBObject> involvedObjects,
Mapper mapper) |
static MappedField |
Mapper.validate(Class clazz,
Mapper mapper,
StringBuffer origProp,
FilterOperator op,
Object val,
boolean validateNames,
boolean validateTypes)
Validate the path, and value type, returning the mapped field for the field at the path
|
Constructor and Description |
---|
MappedClass(Class<?> clazz,
Mapper mapper)
constructor
|
Modifier and Type | Method and Description |
---|---|
static com.mongodb.BasicDBObject |
QueryImpl.parseFieldsString(String str,
Class clazz,
Mapper mapper,
boolean validate)
parses the string and validates each part
|
Constructor and Description |
---|
MorphiaIterator(Iterator<com.mongodb.DBObject> it,
Mapper m,
Class<T> clazz,
String kind,
EntityCache cache) |
MorphiaKeyIterator(com.mongodb.DBCursor cursor,
Mapper m,
Class<T> clazz,
String kind) |
UpdateOpsImpl(Class<T> type,
Mapper mapper) |
Copyright © 2015. All rights reserved.