All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadeutils.mongo.MongoDao Maven / Gradle / Ivy

package jadeutils.mongo;

public interface MongoDao {
	public void close();

	public void insert(T obj) throws IllegalArgumentException,
			IllegalAccessException;

	public void insertOrUpdate(Condition cdt, Condition opt) throws IllegalArgumentException, IllegalAccessException;

	public void updateOne(Condition cdt, Condition opt) throws IllegalArgumentException, IllegalAccessException;

	public void updateAll(Condition cdt, Condition opt) throws IllegalArgumentException, IllegalAccessException;

	public T getByMongoId(String Id) throws InstantiationException,
			IllegalAccessException;

	public T findOneByCondition(Condition cdt) throws InstantiationException,
			IllegalAccessException;

	public MongoResultSet findByCondition(Condition cdt) throws IllegalArgumentException, IllegalAccessException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy