Uses of Interface
ch.autumo.commons.generic.Entity
Package
Description
Database management.
Generic and base classes.
Bean processing.
-
Uses of Entity in ch.autumo.commons.database
-
Uses of Entity in ch.autumo.commons.generic
-
Uses of Entity in ch.autumo.commons.utils.bean
Modifier and TypeMethodDescriptionBeanProcessor.populateBean
(ResultSet rs, Entity entity) Initializes the fields of the provided bean from the ResultSet.Convert aResultSet
row into a JavaBean.Modifier and TypeMethodDescriptionBeanProcessor.toBeanList
(ResultSet rs, Class<?> type) Convert aResultSet
into aList
of JavaBeans.Modifier and TypeMethodDescriptionstatic String
Beans.getDisplayField
(Entity emptyBean) Get display field name of bean.Beans.getForeignReferences
(Entity emptyBean) Get foreign references map if any or null.BeanProcessor.populateBean
(ResultSet rs, Entity entity) Initializes the fields of the provided bean from the ResultSet.static void
Update the given model with entity from bean/model annotations, if it hasn't been updated yet. -
Uses of Entity in ch.autumo.commons.utils.database
Modifier and TypeMethodDescriptionstatic void
Delete a record.static void
DBUtils.delete
(Connection conn, Entity entity) Delete a record.static Integer
DBUtils.insert
(Connection conn, Entity entity, String columns, String values) Insert new entity.static void
Update entity.static void
DBUtils.update
(Connection conn, Entity entity, String columns, String values) Update entity.static void
Update the given model with entity from database, if it hasn't been updated yet.