public interface MongoBaseDao<T extends MongoEntity>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
dropTable() |
void |
dropTable(String tableName) |
List<T> |
findAll() |
List<T> |
findAll(String tableName) |
com.lorne.core.framework.model.Page<T> |
pageForBeanList(org.springframework.data.mongodb.core.query.Query query,
int nowPage,
int pageSize) |
com.lorne.core.framework.model.Page<T> |
pageForBeanList(org.springframework.data.mongodb.core.query.Query query,
int nowPage,
int pageSize,
String tableName) |
void |
remove(T t) |
void |
remove(T t,
String tableName) |
void |
saveOrUpdate(T t) |
void |
saveOrUpdate(T t,
String tableName) |
void saveOrUpdate(T t)
com.lorne.core.framework.model.Page<T> pageForBeanList(org.springframework.data.mongodb.core.query.Query query, int nowPage, int pageSize)
com.lorne.core.framework.model.Page<T> pageForBeanList(org.springframework.data.mongodb.core.query.Query query, int nowPage, int pageSize, String tableName)
void remove(T t)
void dropTable()
void dropTable(String tableName)
Copyright © 2017. All rights reserved.