Uses of Class
ch.autumo.commons.database.Model
Packages that use Model
Package
Description
Database management.
Bean processing.
Database utilities.
-
Uses of Model in ch.autumo.commons.database
Methods in ch.autumo.commons.database that return ModelModifier and TypeMethodDescriptionModel.deserialize(String json) De-serialize a JSON string to an entity.static ModelGet first entity of the given entity bean with specific condition, e.g.static ModelGet first entity of the given entity bean with specific condition, e.g.Model.getAssociatedReference(Class<?> referenceClass) Get associated (parent) entity.Model.getAssociatedReference(String referenceBeanPropertyName) Get associated (parent) entity.static ModelRead an entity with given ID.Methods in ch.autumo.commons.database that return types with arguments of type ModelModifier and TypeMethodDescriptionList all entities of the given entity bean.Model.listReferences(Class<?> referenceClass) List referenced entities of the referenced class type.List all entities of the given entity bean with specific condition, e.g.List all entities of the given entity bean with specific condition, e.g.List all entities of the given entity bean with specific condition, e.g.List all entities of the given entity bean with specific condition, e.g.Methods in ch.autumo.commons.database with parameters of type Model -
Uses of Model in ch.autumo.commons.utils.bean
Methods in ch.autumo.commons.utils.bean that return ModelModifier and TypeMethodDescriptionstatic ModelBeans.createBean(Class<?> beanClass) Create empty bean.static ModelBeans.createBean(Class<?> beanClass, ResultSet set) Create bean.static ModelBeans.createBean(Class<?> beanClass, ResultSet set, BeanProcessor processor) Create bean. -
Uses of Model in ch.autumo.commons.utils.database
Methods in ch.autumo.commons.utils.database that return ModelModifier and TypeMethodDescriptionstatic ModelDBUtils.selectRecord(Class<?> entityClass, int id) Select a record of type clz (entity class).Methods in ch.autumo.commons.utils.database that return types with arguments of type ModelModifier and TypeMethodDescriptionSelect a records of type entityClass (entity class).DBUtils.selectRecords(Class<?> entityClass) Select a records of type entityClass (entity class).DBUtils.selectRecords(Class<?> entityClass, int amount) Select a records of type entityClass (entity class).DBUtils.selectRecords(Class<?> entityClass, int amount, int sortType) Select a records of type entityClass (entity class).DBUtils.selectRecords(Class<?> entityClass, String condition, Object[] values) Select a records of type entityClass (entity class).DBUtils.selectRecords(Class<?> entityClass, String condition, Object[] values, int amount) Select a records of type entityClass (entity class).DBUtils.selectRecords(Class<?> entityClass, String condition, Object[] values, int amount, int sortType) Select a records of type entityClass (entity class).Methods in ch.autumo.commons.utils.database with parameters of type Model