com.khubla.pragmatach.plugin.mongodb
Class MongoDBObjectPersister
java.lang.Object
com.khubla.pragmatach.plugin.mongodb.MongoDBObjectPersister
public class MongoDBObjectPersister
- extends Object
- Author:
- tom
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MongoDBObjectPersister
public MongoDBObjectPersister(Class<?> typeClazz)
find
public com.mongodb.DBObject find(String id)
throws PragmatachException
- find an instance by an id
- Returns:
-
- Throws:
PragmatachException
load
public Object load(com.mongodb.DBObject dbObject)
throws PragmatachException
- Throws:
PragmatachException
save
public void save(Object object)
throws PragmatachException
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.