public class BasicCrudProvider extends java.lang.Object implements CrudProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SQLITE_LAST_INSERT_ROWID |
| Constructor and Description |
|---|
BasicCrudProvider() |
| Modifier and Type | Method and Description |
|---|---|
<T extends TableRow> |
create(java.sql.Connection c,
UpdateContext<T> ctx) |
<T extends TableRow> |
delete(java.sql.Connection c,
UpdateContext<T> ctx) |
<T extends TableRow> |
readMany(QueryContext<T> ctx) |
<T extends TableRow> |
readOne(QueryContext<T> ctx) |
<T extends TableRow> |
update(java.sql.Connection c,
UpdateContext<T> ctx) |
public static final java.lang.String SQLITE_LAST_INSERT_ROWID
public <T extends TableRow> void create(java.sql.Connection c, UpdateContext<T> ctx)
create in interface CrudProviderpublic <T extends TableRow> T readOne(QueryContext<T> ctx)
readOne in interface CrudProviderpublic <T extends TableRow> java.util.List<T> readMany(QueryContext<T> ctx)
readMany in interface CrudProviderpublic <T extends TableRow> void update(java.sql.Connection c, UpdateContext<T> ctx)
update in interface CrudProviderpublic <T extends TableRow> void delete(java.sql.Connection c, UpdateContext<T> ctx)
delete in interface CrudProviderCopyright © 2023. All rights reserved.