SerenaSessionpublic class DefaultSession extends SessionSupport implements SerenaSession
sqliteTemplate| Constructor | Description |
|---|---|
DefaultSession(android.content.Context mCntext) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
checkTableExist(Class clz) |
|
void |
delete(Class clz,
long theId) |
|
void |
deleteList(Class clz,
long[] theIds) |
|
Object |
find(Class clz,
long theid) |
|
Object |
find(Class clz,
long theid,
boolean forceReload) |
|
ResultHelp<Object> |
find(Class clz,
MyQueryCondition condition) |
|
Object[] |
findByIds(Class clz,
long[] theId) |
|
long[] |
findIDs(Class clz,
MyQueryCondition condition) |
|
long |
getCount(Class clz) |
|
long |
halfUpdate(Object obj,
String colums) |
|
long |
halfUpdate(Object obj,
String[] colums) |
|
long[] |
halfUpdates(Object[] objs,
String colums) |
|
long[] |
halfUpdates(Object[] objs,
String[] colums) |
|
long |
save(Object object) |
|
long[] |
saveList(Object[] objects) |
|
long |
update(Object obj) |
|
long[] |
updates(Object[] entities) |
public long getCount(Class clz)
getCount in interface SerenaSessionpublic long[] saveList(Object[] objects)
saveList in interface SerenaSessionpublic long save(Object object)
save in interface SerenaSessionpublic void delete(Class clz, long theId)
delete in interface SerenaSessionpublic void deleteList(Class clz, long[] theIds)
deleteList in interface SerenaSessionpublic Object find(Class clz, long theid, boolean forceReload)
find in interface SerenaSessionpublic Object find(Class clz, long theid)
find in interface SerenaSessionpublic ResultHelp<Object> find(Class clz, MyQueryCondition condition)
find in interface SerenaSessionpublic long update(Object obj)
update in interface SerenaSessionpublic long[] updates(Object[] entities)
updates in interface SerenaSessionpublic long halfUpdate(Object obj, String[] colums)
halfUpdate in interface SerenaSessionpublic long[] halfUpdates(Object[] objs, String[] colums)
halfUpdates in interface SerenaSessionpublic void checkTableExist(Class clz)
checkTableExist in interface SerenaSessionpublic long halfUpdate(Object obj, String colums)
halfUpdate in interface SerenaSessionpublic long[] halfUpdates(Object[] objs, String colums)
halfUpdates in interface SerenaSessionpublic long[] findIDs(Class clz, MyQueryCondition condition)
findIDs in interface SerenaSessionpublic Object[] findByIds(Class clz, long[] theId)
findByIds in interface SerenaSessionCopyright © 2025. All rights reserved.