public class MappedDeleteCollection<T,ID> extends BaseMappedStatement<T,ID>
argFieldTypes, clazz, connectionSource, dao, idField, logger, statement, tableInfo
Modifier and Type | Method and Description |
---|---|
static <T,ID> int |
deleteIds(Dao<T,ID> dao,
TableInfo<T,ID> tableInfo,
DatabaseConnection databaseConnection,
Collection<ID> ids,
ObjectCache objectCache)
Delete all of the objects in the collection.
|
static <T,ID> int |
deleteObjects(Dao<T,ID> dao,
TableInfo<T,ID> tableInfo,
DatabaseConnection databaseConnection,
Collection<T> datas,
ObjectCache objectCache)
Delete all of the objects in the collection.
|
convertIdToFieldObject, getFieldObjects, toString
public static <T,ID> int deleteObjects(Dao<T,ID> dao, TableInfo<T,ID> tableInfo, DatabaseConnection databaseConnection, Collection<T> datas, ObjectCache objectCache) throws SQLException
MappedDeleteCollection
on the fly because the
datas could be variable sized.SQLException
public static <T,ID> int deleteIds(Dao<T,ID> dao, TableInfo<T,ID> tableInfo, DatabaseConnection databaseConnection, Collection<ID> ids, ObjectCache objectCache) throws SQLException
MappedDeleteCollection
on the fly because the
ids could be variable sized.SQLException
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.