Uses of Interface
ch.autumo.commons.generic.Entity
Packages that use Entity
Package
Description
Database management.
Generic and base classes.
Bean processing.
Database utilities.
-
Uses of Entity in ch.autumo.commons.database
Classes in ch.autumo.commons.database that implement Entity -
Uses of Entity in ch.autumo.commons.generic
Classes in ch.autumo.commons.generic that implement Entity -
Uses of Entity in ch.autumo.commons.utils.bean
Methods in ch.autumo.commons.utils.bean that return EntityModifier and TypeMethodDescriptionBeanProcessor.populateBean
(ResultSet rs, Entity entity) Initializes the fields of the provided bean from the ResultSet.Convert aResultSet
row into a JavaBean.Methods in ch.autumo.commons.utils.bean that return types with arguments of type EntityModifier and TypeMethodDescriptionBeanProcessor.toBeanList
(ResultSet rs, Class<?> type) Convert aResultSet
into aList
of JavaBeans.Methods in ch.autumo.commons.utils.bean with parameters of type EntityModifier 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
Methods in ch.autumo.commons.utils.database with parameters of type EntityModifier 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.