パッケージ org.nkjmlab.sorm4j.typed
インタフェース TypedOrmUpdater<T>
- 既知のサブインタフェースのリスト:
TypedOrm<T>,TypedOrmConnection<T>,TypedOrmTransaction<T>
public interface TypedOrmUpdater<T>
A typed interface for updating database.
- 作成者:
- nkjm
-
メソッドの概要
修飾子とタイプメソッド説明int[]Deletes objects from the table corresponding to the class of the given objects.intDeletes an object from the table corresponding to the class of the given objects.int[]Deletes objects.intDeletes all objects on the table corresponding to the given class.intdeleteAllOn(String tableName) Deletes all objects on the table corresponding to the given table name.int[]Deletes objects on the table of the given table name.intDeletes object on the table of the given table name.int[]Deletes objects on the table of the given table name.int[]Inserts objects on the table corresponding to the class of the given objects.intInserts object on the table corresponding to the class of the given object.int[]Insert objects on the table corresponding to the class of the given objects.insertAndGet(List<T> objects) Inserts objects and get the last insert result.insertAndGet(T object) Inserts an object and get the result.insertAndGet(T... objects) Inserts objects and get the last insert result.insertAndGetOn(String tableName, List<T> objects) Inserts objects and get the last insert result.insertAndGetOn(String tableName, T object) Inserts an object and get the insert result.insertAndGetOn(String tableName, T... objects) Inserts objects and get the last insert result.int[]Inserts objects and get the last insert result.intInserts an object and get the insert result.int[]Inserts objects and get the last insert result.int[]Merges by objects on the table corresponding to the class of the given objects.intMerges by an object on the table corresponding to the class of the given object.int[]Merges by objects on the table corresponding to the class of the given objects.int[]Merges by objects on the table corresponding to the given table name.intMerges by an object on the table corresponding to the given table name.int[]Merges by objects on the table corresponding to the given table name.int[]Updates by objects on the table corresponding to the class of the given objects.intUpdates by an object on the table corresponding to the class of the given object.int[]Updates by objects on the table corresponding to the class of the given objects.int[]Updates by objects on the table corresponding to the given table name.intUpdates by an object on the table corresponding to the given table name.int[]Updates by objects on the table corresponding to the given table name.
-
メソッドの詳細
-
delete
Deletes objects from the table corresponding to the class of the given objects.- パラメータ:
objects-- 戻り値:
-
delete
Deletes an object from the table corresponding to the class of the given objects.- パラメータ:
object-- 戻り値:
-
delete
Deletes objects.- パラメータ:
objects-- 戻り値:
-
deleteOn
Deletes objects on the table of the given table name.- パラメータ:
tableName-objects-- 戻り値:
-
deleteOn
Deletes object on the table of the given table name.- パラメータ:
tableName-object-- 戻り値:
-
deleteOn
Deletes objects on the table of the given table name.- パラメータ:
tableName-objects-- 戻り値:
-
deleteAll
int deleteAll()Deletes all objects on the table corresponding to the given class.- 戻り値:
-
deleteAllOn
Deletes all objects on the table corresponding to the given table name.- パラメータ:
tableName-- 戻り値:
-
insert
Inserts objects on the table corresponding to the class of the given objects.- パラメータ:
objects-- 戻り値:
-
insert
Inserts object on the table corresponding to the class of the given object.- パラメータ:
object-- 戻り値:
-
insert
Insert objects on the table corresponding to the class of the given objects.- パラメータ:
objects-- 戻り値:
-
insertAndGet
Inserts objects and get the last insert result.- パラメータ:
objects-- 戻り値:
-
insertAndGet
Inserts an object and get the result.- パラメータ:
object-- 戻り値:
-
insertAndGet
Inserts objects and get the last insert result.- パラメータ:
objects-- 戻り値:
-
insertAndGetOn
Inserts objects and get the last insert result.- パラメータ:
tableName-objects-- 戻り値:
-
insertAndGetOn
Inserts an object and get the insert result.- パラメータ:
tableName-object-- 戻り値:
-
insertAndGetOn
Inserts objects and get the last insert result.- パラメータ:
tableName-objects-- 戻り値:
-
insertOn
Inserts objects and get the last insert result.- パラメータ:
tableName-objects-- 戻り値:
-
insertOn
Inserts an object and get the insert result.- パラメータ:
tableName-object-- 戻り値:
-
insertOn
Inserts objects and get the last insert result.- パラメータ:
tableName-objects-- 戻り値:
-
merge
Merges by objects on the table corresponding to the class of the given objects.- パラメータ:
objects-- 戻り値:
-
merge
Merges by an object on the table corresponding to the class of the given object.- パラメータ:
object-- 戻り値:
-
merge
Merges by objects on the table corresponding to the class of the given objects.- パラメータ:
objects-- 戻り値:
-
mergeOn
Merges by objects on the table corresponding to the given table name.- パラメータ:
tableName-objects-- 戻り値:
-
mergeOn
Merges by an object on the table corresponding to the given table name.- パラメータ:
tableName-object-- 戻り値:
-
mergeOn
Merges by objects on the table corresponding to the given table name.- パラメータ:
tableName-objects-- 戻り値:
-
update
Updates by objects on the table corresponding to the class of the given objects.- パラメータ:
objects-- 戻り値:
-
update
Updates by an object on the table corresponding to the class of the given object.- パラメータ:
object-- 戻り値:
-
update
Updates by objects on the table corresponding to the class of the given objects.- パラメータ:
objects-- 戻り値:
-
updateOn
Updates by objects on the table corresponding to the given table name.- パラメータ:
tableName-objects-- 戻り値:
-
updateOn
Updates by an object on the table corresponding to the given table name.- パラメータ:
tableName-object-- 戻り値:
-
updateOn
Updates by objects on the table corresponding to the given table name.- パラメータ:
tableName-objects-- 戻り値:
-