Package ch.autumo.beetroot.handler.users
Class ExtUsersViewHandler
- All Implemented Interfaces:
Handler,RouterNanoHTTPD.UriResponder
Users view handler for extended roles.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.autumo.beetroot.handler.BaseHandler
BaseHandler.IfSectionHandler -
Field Summary
Fields inherited from class ch.autumo.beetroot.handler.users.UsersViewHandler
userNameFields inherited from class ch.autumo.beetroot.handler.BaseHandler
action, columns, emptyBean, entity, htmlData, htmlHead, initialValues, insertServletNameInTemplateRefs, MSG_TYPE_ERR, MSG_TYPE_INFO, MSG_TYPE_WARN, PRECISION_INPUT_TYPES, servletName, TAG_PREFIX_LANG, transientFields, uniqueFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) Extract one single table data field from result set standing at current row.Class<?>Overwrite to get the right re-route/redirect index handler after modifying data.Methods inherited from class ch.autumo.beetroot.handler.users.UsersViewHandler
get2FAQRImage, getBeanClass, getTitle, renderMethods inherited from class ch.autumo.beetroot.handler.DefaultViewHandler
extractCustomSingleTableData, getResource, prepare, readDataMethods inherited from class ch.autumo.beetroot.handler.BaseHandler
addCheckBox, addErrorMessage, addHtmlDataLine, addHtmlHeadLine, addSuccessMessage, addWarningMessage, columns, columnsSize, deleteData, formatSingleValueForDB, get, getColumn, getColumnsForSql, getColumnsForSql, getCurrentEntityDbId, getCurrentSession, getCustomizedExceptionInformation, getData, getEmptyBean, getEntity, getHandlerClass, getHtmlData, getHtmlHead, getInsertValues, getLayout, getMessageType, getMimeType, getNewScanner, getNewScanner, getPaginator, getSimpleManagementUserRoles, getStatus, getTableExport, getTemplateEngineErrorMessage, getTemplateEngineErrorTitle, getText, getText, getTransientFields, getUpdateSetClause, getUpdateSetClause, hasAccess, hasExternalLinks, hasNoColumnsConfig, initialize, initialValue, initValuesSize, isCurrentUserUpdate, isCustomResponse, isNoContentResponse, isNoContentResponseButRoute, isPrecisionInputType, isRetryCall, loginMarker, parseAssociatedEntities, parseUnassociatedEntities, patchInputValue, readSnippetResource, redirectedMarker, refreshUserRoles, registerDisplayField, registerRoutes, renderAll, saveData, setCurrentEntityDbId, setMessageType, setVar, setVarAll, showLangMenu, showMenu, uniqueFields, uniqueTest, updateDataMethods inherited from class org.nanohttpd.router.RouterNanoHTTPD.DefaultStreamHandler
delete, other, post, put
-
Constructor Details
-
ExtUsersViewHandler
-
-
Method Details
-
extractSingleTableData
public String extractSingleTableData(BeetRootHTTPSession session, ResultSet set, String columnName, int idx, Entity entity) throws Exception Description copied from class:DefaultViewHandlerExtract one single table data field from result set standing at current row. NOTE: Never call "set.next()" !- Overrides:
extractSingleTableDatain classUsersViewHandler- Parameters:
session- HTTP sessionset- database result set pointing to current recordcolumnName- column name as configured in 'web/<entity>/columns.cfg'idx- SQL result set column indexentity- whole entity bean- Returns:
- html data extract <td>...</td>
- Throws:
Exception- exception
-
getRedirectHandler
Description copied from class:BaseHandlerOverwrite to get the right re-route/redirect index handler after modifying data. It must be of the same entity as the last executing handler!- Overrides:
getRedirectHandlerin classBaseHandler- Returns:
- redirect index handler
-