public abstract class Model<M extends Model>
extends com.jfinal.plugin.activerecord.Model<M>
| 构造器和说明 |
|---|
Model() |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
countAll() |
long |
countBy(String where,
Object... paras) |
boolean |
deleteAll() |
boolean |
deleteBy(String where,
Object... paras) |
boolean |
dropAll() |
boolean |
dropBy(String where,
Object... paras) |
List<M> |
findAll() |
List<M> |
findBy(String where,
Object... paras) |
M |
findFirstBy(String where,
Object... paras) |
List<M> |
findTopBy(int topNumber,
String where,
Object... paras) |
String |
getCountSql() |
String |
getDeleteSql() |
String |
getDropSql() |
String |
getExceptSelectSql() |
String |
getModelName() |
String |
getNextSql(String where) |
String |
getPreviousSql(String where) |
String |
getPrimaryKey() |
String |
getSelectSql() |
protected String |
getSet(String set) |
com.jfinal.plugin.activerecord.Table |
getTable() |
String |
getTableName() |
String |
getUpdateSql() |
protected String |
getWhere(String where) |
com.jfinal.plugin.activerecord.Page<M> |
paginateAll(int pageNumber,
int pageSize) |
com.jfinal.plugin.activerecord.Page<M> |
paginateBy(int pageNumber,
int pageSize,
String where,
Object... paras) |
boolean |
updateAll(String set,
Object... paras) |
boolean |
updateBy(String set,
String where,
Object... paras) |
clear, delete, deleteById, equals, find, find, findByCache, findByCache, findById, findById, findFirst, findFirst, get, get, getAttrNames, getAttrs, getAttrsEntrySet, getAttrValues, getBigDecimal, getBigInteger, getBoolean, getBytes, getDate, getDouble, getFloat, getInt, getLong, getNumber, getStr, getTime, getTimestamp, hashCode, keep, keep, paginate, paginate, paginateByCache, paginateByCache, put, remove, remove, removeNullValueAttrs, save, set, setAttrs, setAttrs, toJson, toString, updateprotected static String blank
public com.jfinal.plugin.activerecord.Page<M> paginateAll(int pageNumber, int pageSize)
public com.jfinal.plugin.activerecord.Page<M> paginateBy(int pageNumber, int pageSize, String where, Object... paras)
public boolean deleteAll()
public boolean dropAll()
public long countAll()
public com.jfinal.plugin.activerecord.Table getTable()
public String getPrimaryKey()
public String getTableName()
public String getModelName()
public String getSelectSql()
public String getExceptSelectSql()
public String getUpdateSql()
public String getDeleteSql()
public String getDropSql()
public String getCountSql()
Copyright © 2014. All rights reserved.