T - the entity typeK - the key type@Deprecated public class DAO<T,K> extends BasicDAO<T,K>
ds, entityClazz| Constructor and Description |
|---|
DAO(Class<T> entityClass,
Datastore ds)
Deprecated.
|
DAO(Class<T> entityClass,
MongoClient mongoClient,
Morphia morphia,
String dbName)
Deprecated.
|
count, count, count, createQuery, createUpdateOperations, delete, delete, deleteById, deleteByQuery, ensureIndexes, exists, exists, find, find, findIds, findIds, findIds, findOne, findOne, findOneId, findOneId, findOneId, get, getCollection, getDatastore, getDs, getEntityClass, getEntityClazz, initDS, initType, keysToIds, save, save, update, updateFirstpublic DAO(Class<T> entityClass, MongoClient mongoClient, Morphia morphia, String dbName)
entityClass - the type to use with this DAOmongoClient - the client to use to talk to the databasemorphia - the morphia instance to usedbName - the database to connect to