Uses of Interface
ch.autumo.beetroot.Entity
Packages that use Entity
Package
Description
Main classes for the beetRoot framework, web server and servlet (when running in a web-container).
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 Entity in ch.autumo.beetroot
Classes in ch.autumo.beetroot that implement Entity -
Uses of Entity in ch.autumo.beetroot.handler
Fields in ch.autumo.beetroot.handler declared as EntityMethods in ch.autumo.beetroot.handler that return EntityModifier and TypeMethodDescriptionfinal EntityBaseHandler.getEmptyBean()Get an ampty bean of the entity type that is processed in this handler.Methods in ch.autumo.beetroot.handler with parameters of type EntityModifier and TypeMethodDescriptionDefaultIndexHandler.extractCustomSingleTableData(BeetRootHTTPSession session, ResultSet rsmd, String columnName, int idx, Entity entity) Overwrite this method, if you need to add a custom data; e.g. when multiple user roles are used; in this case it is more likely that you combine more values that just one field value or use it for any custom value.DefaultViewHandler.extractCustomSingleTableData(BeetRootHTTPSession session, ResultSet rsmd, String columnName, int idx, Entity entity) Overwrite this method, if you need to add a custom data; e.g. when multiple user roles are used; in this case it is more likely that you combine more values that just one field value or use it for any custom value.protected StringDefaultEditHandler.extractSingleInputDiv(BeetRootHTTPSession session, ResultSet set, Entity entity, String columnName, String guiColName, int sqlType, int idx) Extract one single input div with label and input tags from result set standing at current row.DefaultIndexHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) Extract one single table data field from result set standing at current row.DefaultRESTIndexHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, String guiColumnName, int idx, Entity entity) Extract one single table data field from result set standing at current row.DefaultViewHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) Extract one single table data field from result set standing at current row.DefaultEditHandler.formatSingleValueForGUI(BeetRootHTTPSession session, Object dbObject, String preformattedValue, String columnName, int sqlType, int dbIdx, Entity entity) Format value for GUI.DefaultIndexHandler.generateActionsTableData(Session userSession, String entity, Entity entityObj, String modifyID, int dbId, String lang) Create actions table data.DefaultIndexHandler.getDeleteName(Entity entityObj) Get the name/id that should be shown in the delete confirmation dialog.voidDefaultEditHandler.prepare(BeetRootHTTPSession session, Entity entity) Prepare call to to something with the entity bean if necessary.voidDefaultIndexHandler.prepare(BeetRootHTTPSession session, Entity entity) Prepare call to to something with the current entity bean processed in the list if necessary.voidDefaultRESTIndexHandler.prepare(BeetRootHTTPSession session, Entity entity) Prepare call to to something with the current entity bean processed in the list if necessary.voidDefaultViewHandler.prepare(BeetRootHTTPSession session, Entity entity) Prepare call to to something with the entity bean if necessary. -
Uses of Entity in ch.autumo.beetroot.handler.properties
Classes in ch.autumo.beetroot.handler.properties that implement EntityMethods in ch.autumo.beetroot.handler.properties with parameters of type EntityModifier and TypeMethodDescriptionPropertiesIndexHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) PropertiesViewHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) -
Uses of Entity in ch.autumo.beetroot.handler.roles
Classes in ch.autumo.beetroot.handler.roles that implement EntityMethods in ch.autumo.beetroot.handler.roles with parameters of type EntityModifier and TypeMethodDescriptionRolesIndexHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) RolesViewHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) -
Uses of Entity in ch.autumo.beetroot.handler.tasks
Classes in ch.autumo.beetroot.handler.tasks that implement EntityMethods in ch.autumo.beetroot.handler.tasks with parameters of type EntityModifier and TypeMethodDescriptionTasksIndexHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) TasksViewHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) -
Uses of Entity in ch.autumo.beetroot.handler.users
Classes in ch.autumo.beetroot.handler.users that implement EntityMethods in ch.autumo.beetroot.handler.users with parameters of type EntityModifier and TypeMethodDescriptionExtUsersIndexHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) ExtUsersViewHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) UsersIndexHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) UsersViewHandler.extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) -
Uses of Entity in ch.autumo.beetroot.handler.usersroles
Classes in ch.autumo.beetroot.handler.usersroles that implement Entity -
Uses of Entity in ch.autumo.beetroot.utils.bean
Methods in ch.autumo.beetroot.utils.bean that return EntityModifier and TypeMethodDescriptionBeanProcessor.populateBean(ResultSet rs, Entity entity) Initializes the fields of the provided bean from the ResultSet.Convert aResultSetrow into a JavaBean.Methods in ch.autumo.beetroot.utils.bean that return types with arguments of type EntityModifier and TypeMethodDescriptionBeanProcessor.toBeanList(ResultSet rs, Class<?> type) Convert aResultSetinto aListof JavaBeans.Methods in ch.autumo.beetroot.utils.bean with parameters of type EntityModifier and TypeMethodDescriptionstatic StringBeans.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 voidUpdate the given model with entity from bean/model annotations, if it hasn't been updated yet. -
Uses of Entity in ch.autumo.beetroot.utils.database
Methods in ch.autumo.beetroot.utils.database with parameters of type EntityModifier and TypeMethodDescriptionstatic voidDelete a record.static voidDB.delete(Connection conn, Entity entity) Delete a record.static IntegerInsert new entity.static IntegerDB.insert(Connection conn, Entity entity, String columns, String values) Insert new entity.static voidUpdate entity.static voidDB.update(Connection conn, Entity entity, String columns, String values) Update entity.static voidUpdate the given model with entity from database, if it hasn't been updated yet.