Uses of Class
ch.autumo.beetroot.Model
Packages that use Model
Package
Description
Main classes for the beetRoot framework, web server and servlet (when running in a web-container).
CRUD event handler for create, update and delete events.
All base handlers for different purposes.
Handler an entity for properties (aka settings) generated by PLANT.
System handlers.
Task handlers for demonstration purposes.
User handlers; covers all necessary handlers including password reset, user settings and 2FA.
User-Role model only.
Bean processing.
Database access and tools.
-
Uses of Model in ch.autumo.beetroot
Methods in ch.autumo.beetroot 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.beetroot 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.beetroot with parameters of type Model -
Uses of Model in ch.autumo.beetroot.crud
Methods in ch.autumo.beetroot.crud with parameters of type ModelModifier and TypeMethodDescriptionvoidCreateListener.afterCreate(Model bean) Called after DB create.voidUpdateListener.afterUpdate(Model bean) Called after DB update.booleanDeleteListener.beforeDelete(Model bean) Called before DB delete.booleanUpdateListener.beforeUpdate(Model bean) Called before DB update. -
Uses of Model in ch.autumo.beetroot.handler
Method parameters in ch.autumo.beetroot.handler with type arguments of type ModelModifier and TypeMethodDescriptionprotected voidBaseHandler.parseAssociatedEntities(StringBuilder snippet, List<Model> list, BeetRootHTTPSession session) Parse associated list.protected voidBaseHandler.parseUnassociatedEntities(StringBuilder snippet, List<Model> list, BeetRootHTTPSession session) Parse un-associated list. -
Uses of Model in ch.autumo.beetroot.handler.properties
Subclasses of Model in ch.autumo.beetroot.handler.properties -
Uses of Model in ch.autumo.beetroot.handler.roles
Subclasses of Model in ch.autumo.beetroot.handler.roles -
Uses of Model in ch.autumo.beetroot.handler.tasks
Subclasses of Model in ch.autumo.beetroot.handler.tasks -
Uses of Model in ch.autumo.beetroot.handler.users
Subclasses of Model in ch.autumo.beetroot.handler.users -
Uses of Model in ch.autumo.beetroot.handler.usersroles
Subclasses of Model in ch.autumo.beetroot.handler.usersroles -
Uses of Model in ch.autumo.beetroot.utils.bean
Methods in ch.autumo.beetroot.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.beetroot.utils.database
Methods in ch.autumo.beetroot.utils.database that return ModelModifier and TypeMethodDescriptionstatic ModelDB.selectRecord(Class<?> entityClass, int id) Select a record of type clz (entity class).Methods in ch.autumo.beetroot.utils.database that return types with arguments of type ModelModifier and TypeMethodDescriptionSelect a records of type entityClass (entity class).DB.selectRecords(Class<?> entityClass) Select a records of type entityClass (entity class).DB.selectRecords(Class<?> entityClass, int amount) Select a records of type entityClass (entity class).DB.selectRecords(Class<?> entityClass, int amount, int sortType) Select a records of type entityClass (entity class).DB.selectRecords(Class<?> entityClass, String condition, Object[] values) Select a records of type entityClass (entity class).DB.selectRecords(Class<?> entityClass, String condition, Object[] values, int amount) Select a records of type entityClass (entity class).DB.selectRecords(Class<?> entityClass, String condition, Object[] values, int amount, int sortType) Select a records of type entityClass (entity class).Methods in ch.autumo.beetroot.utils.database with parameters of type ModelModifier and TypeMethodDescriptionstatic voidDelete a record.static voidDelete a many-to-many-relation record.static voidDB.delete(Connection conn, Model model, Set<String> foreignDbKeys) Delete a many-to-many-relation record.