public interface ActiveEntity
extends com.github.drinkjava2.jsqlbox.ActiveRecordSupport
| Modifier and Type | Method and Description |
|---|---|
default com.github.drinkjava2.jsqlbox.ActiveRecordSupport |
alias(String alias) |
default com.github.drinkjava2.jdbpro.SqlItem |
bind(Object... parameters) |
default void |
bindBox(com.github.drinkjava2.jsqlbox.SqlBox box) |
default com.github.drinkjava2.jsqlbox.SqlBox |
bindedBox() |
default com.github.drinkjava2.jsqlbox.SqlBox |
box() |
default com.github.drinkjava2.jdialects.model.ColumnModel |
columnModel(String columnName) |
default com.github.drinkjava2.jsqlbox.SqlBoxContext |
ctx() |
default void |
delete(Object... optionalSqlItems) |
default <T> T |
guess(Object... params) |
default com.github.drinkjava2.jdbpro.PreparedSQL |
guessPreparedSQL(Object... params) |
default String |
guessSQL() |
default <T> T |
insert(Object... optionalSqlItems) |
default <T> T |
load(Object... optionalSqlItems) |
default <T> T |
loadById(Object idOrIdMap,
Object... optionalSqlItems) |
default <T> T |
loadByQuery(Object... sqlItems) |
default com.github.drinkjava2.jsqlbox.ActiveRecordSupport |
put(Object... fieldAndValues) |
default com.github.drinkjava2.jsqlbox.ActiveRecordSupport |
putFields(String... fieldNames) |
default com.github.drinkjava2.jsqlbox.ActiveRecordSupport |
putValues(Object... values) |
default String |
table() |
default com.github.drinkjava2.jdialects.model.TableModel |
tableModel() |
default void |
unbindBox() |
default <T> T |
update(Object... optionalSqlItems) |
default com.github.drinkjava2.jsqlbox.ActiveRecordSupport |
useContext(com.github.drinkjava2.jsqlbox.SqlBoxContext ctx) |
default com.github.drinkjava2.jsqlbox.SqlBox box()
box in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jsqlbox.SqlBox bindedBox()
bindedBox in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault void bindBox(com.github.drinkjava2.jsqlbox.SqlBox box)
bindBox in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault void unbindBox()
unbindBox in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jdialects.model.TableModel tableModel()
tableModel in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jdialects.model.ColumnModel columnModel(String columnName)
columnModel in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault String table()
table in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jsqlbox.ActiveRecordSupport alias(String alias)
alias in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jsqlbox.SqlBoxContext ctx()
ctx in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jsqlbox.ActiveRecordSupport useContext(com.github.drinkjava2.jsqlbox.SqlBoxContext ctx)
useContext in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault <T> T insert(Object... optionalSqlItems)
insert in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault <T> T update(Object... optionalSqlItems)
update in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault void delete(Object... optionalSqlItems)
delete in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault <T> T load(Object... optionalSqlItems)
load in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault <T> T loadById(Object idOrIdMap, Object... optionalSqlItems)
loadById in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault <T> T loadByQuery(Object... sqlItems)
loadByQuery in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jsqlbox.ActiveRecordSupport put(Object... fieldAndValues)
put in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jsqlbox.ActiveRecordSupport putFields(String... fieldNames)
putFields in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jsqlbox.ActiveRecordSupport putValues(Object... values)
putValues in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault <T> T guess(Object... params)
guess in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault String guessSQL()
guessSQL in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jdbpro.PreparedSQL guessPreparedSQL(Object... params)
guessPreparedSQL in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportdefault com.github.drinkjava2.jdbpro.SqlItem bind(Object... parameters)
bind in interface com.github.drinkjava2.jsqlbox.ActiveRecordSupportCopyright © 2018. All rights reserved.