Index
All Classes and Interfaces|All Packages|Serialized Form
A
- about(Model) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- addError(MappingError) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- addField(DbField) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Adds a field to this schema.
- AFTER - Enum constant in enum class tech.ailef.dbadmin.external.dto.CompareOperator
- attachManyToMany(DbObjectSchema, Object, Map<String, List<String>>) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Attaches multiple many to many relationships to an object, parsed from a multi -valued map.
- autocomplete(String, String) - Method in class tech.ailef.dbadmin.external.controller.rest.AutocompleteController
-
Returns a list of entities from a given table that match an input query.
- AutocompleteController - Class in tech.ailef.dbadmin.external.controller.rest
-
API controller for autocomplete results
- AutocompleteController() - Constructor for class tech.ailef.dbadmin.external.controller.rest.AutocompleteController
- AutocompleteSearchResult - Class in tech.ailef.dbadmin.external.dto
-
An object to hold autocomplete results returned from the AutocompleteController.
- AutocompleteSearchResult() - Constructor for class tech.ailef.dbadmin.external.dto.AutocompleteSearchResult
- AutocompleteSearchResult(DbObject) - Constructor for class tech.ailef.dbadmin.external.dto.AutocompleteSearchResult
B
- BEFORE - Enum constant in enum class tech.ailef.dbadmin.external.dto.CompareOperator
- BIG_DECIMAL - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- BIG_INTEGER - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- BOOLEAN - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- buildObject(Map<String, String>, Map<String, MultipartFile>) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- BYTE - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- BYTE_ARRAY - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
C
- camelToSnake(String) - Static method in interface tech.ailef.dbadmin.external.misc.Utils
-
Convers camel case to snake case
- CATEGORICAL - Enum constant in enum class tech.ailef.dbadmin.external.annotations.FilterableType
-
The categorical filter provides the full list of possible values for the field, rendered as a list of clickable items (that will filter for equality).
- CHAR - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- CompareOperator - Enum Class in tech.ailef.dbadmin.external.dto
-
A list of operators that are used in faceted search.
- compute(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- COMPUTED - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- ComputedColumn - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
This annotation marks a method as a "virtual" column whose value is computed by using the method itself rather than retrieving it from the database like a physical column.
- computeFilters(DbObjectSchema, MultiValueMap<String, String>) - Static method in interface tech.ailef.dbadmin.external.misc.Utils
-
Converts a multi value map of parameters containing query filters applied with the faceted search feature into a set of QueryFilter objects
- computeParams() - Method in class tech.ailef.dbadmin.external.dto.FacetedSearchRequest
- computeParams() - Method in interface tech.ailef.dbadmin.external.dto.FilterRequest
-
Converts the request to a MultiValue map that can be later converted into a query string
- computeParams() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
- CONTAINS - Enum constant in enum class tech.ailef.dbadmin.external.dto.CompareOperator
- count(String, Set<QueryFilter>) - Method in class tech.ailef.dbadmin.external.dbmapping.CustomJpaRepository
- count(DbObjectSchema) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
- count(DbObjectSchema, String, Set<QueryFilter>) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Counts the elements that match the fuzzy search
- countActions(String, String, String) - Method in interface tech.ailef.dbadmin.internal.repository.CustomActionRepository
- countActions(String, String, String) - Method in class tech.ailef.dbadmin.internal.repository.CustomActionRepositoryImpl
-
Returns the count that match the filtering parameters, used for pagination.
- create(Model, String, RedirectAttributes) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- create(DbObjectSchema, Map<String, String>, Map<String, MultipartFile>, String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Create a new object with the specific primary key and values, returns the primary key of the created object
- CSV - Enum constant in enum class tech.ailef.dbadmin.external.dto.DataExportFormat
- CustomActionRepository - Interface in tech.ailef.dbadmin.internal.repository
- CustomActionRepositoryImpl - Class in tech.ailef.dbadmin.internal.repository
-
A repository that provides custom queries for UserActions
- CustomActionRepositoryImpl() - Constructor for class tech.ailef.dbadmin.internal.repository.CustomActionRepositoryImpl
- CustomJpaRepository - Class in tech.ailef.dbadmin.external.dbmapping
- CustomJpaRepository(DbObjectSchema, EntityManager) - Constructor for class tech.ailef.dbadmin.external.dbmapping.CustomJpaRepository
D
- DataExportController - Class in tech.ailef.dbadmin.external.controller
- DataExportController() - Constructor for class tech.ailef.dbadmin.external.controller.DataExportController
- DataExportFormat - Enum Class in tech.ailef.dbadmin.external.dto
- DATE - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- DbAdmin - Class in tech.ailef.dbadmin.external
-
The main DbAdmin class responsible for the initialization phase.
- DbAdmin(EntityManager, DbAdminProperties) - Constructor for class tech.ailef.dbadmin.external.DbAdmin
-
Builds the DbAdmin instance by scanning the `@Entity` beans and loading the schemas.
- DbAdminAutoConfiguration - Class in tech.ailef.dbadmin.external
-
The configuration class for "internal" data source.
- DbAdminAutoConfiguration() - Constructor for class tech.ailef.dbadmin.external.DbAdminAutoConfiguration
- DbAdminException - Exception in tech.ailef.dbadmin.external.exceptions
-
Generic top-level exception for everything thrown by us
- DbAdminException() - Constructor for exception tech.ailef.dbadmin.external.exceptions.DbAdminException
- DbAdminException(String) - Constructor for exception tech.ailef.dbadmin.external.exceptions.DbAdminException
- DbAdminException(String, Throwable) - Constructor for exception tech.ailef.dbadmin.external.exceptions.DbAdminException
- DbAdminException(Throwable) - Constructor for exception tech.ailef.dbadmin.external.exceptions.DbAdminException
- DbAdminNotFoundException - Exception in tech.ailef.dbadmin.external.exceptions
- DbAdminNotFoundException(String) - Constructor for exception tech.ailef.dbadmin.external.exceptions.DbAdminNotFoundException
- DbAdminProperties - Class in tech.ailef.dbadmin.external
-
The 'dbadmin.*' properties that can be set in the properties file to configure the behaviour of Spring Boot Admin Panel.
- DbAdminProperties() - Constructor for class tech.ailef.dbadmin.external.DbAdminProperties
- DbAdminRepository - Class in tech.ailef.dbadmin.external.dbmapping
-
Implements the basic CRUD operations (and some more)
- DbAdminRepository() - Constructor for class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
- DbField - Class in tech.ailef.dbadmin.external.dbmapping
-
Represent a field on the database, generated from an Entity class instance variable.
- DbField(String, String, Field, DbFieldType, DbObjectSchema, String) - Constructor for class tech.ailef.dbadmin.external.dbmapping.DbField
- DbFieldType - Enum Class in tech.ailef.dbadmin.external.dbmapping
-
The enum for supported database field types.
- DbFieldValue - Class in tech.ailef.dbadmin.external.dbmapping
-
Wrapper for the value of a field
- DbFieldValue(Object, DbField) - Constructor for class tech.ailef.dbadmin.external.dbmapping.DbFieldValue
- dbName - Variable in class tech.ailef.dbadmin.external.dbmapping.DbField
-
The inferred name of this field on the database
- DbObject - Class in tech.ailef.dbadmin.external.dbmapping
-
Wrapper for all objects retrieved from the database.
- DbObject(Object, DbObjectSchema) - Constructor for class tech.ailef.dbadmin.external.dbmapping.DbObject
- DbObjectSchema - Class in tech.ailef.dbadmin.external.dbmapping
-
A class that represents a table/`@Entity` as reconstructed from the JPA annotations found on its fields.
- DbObjectSchema(Class<?>, DbAdmin) - Constructor for class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Initializes this schema for the specific `@Entity` class.
- DEFAULT - Enum constant in enum class tech.ailef.dbadmin.external.annotations.FilterableType
-
The default filter provides a list of standard operators customized to the field type (e.g.
- DefaultDbAdminController - Class in tech.ailef.dbadmin.external.controller
-
The main DbAdmin controller that register most of the routes of the web interface.
- DefaultDbAdminController() - Constructor for class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- delete(String, String[], RedirectAttributes) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- delete(String, String, RedirectAttributes) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- delete(DbObjectSchema, String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Delete a specific object
- DisableCreate - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Disables create actions on the Entity class.
- DisableDelete - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Disables delete actions on the Entity class.
- DisableEdit - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Disables edit actions on the Entity class.
- DisableExport - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Disables the export functionality on a specific class.
- DisplayFormat - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Specifies a format string for a field, which will be automatically applied when displaying its value.
- DisplayImage - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Marks a binary field as containing an image, which in turn enables its display in the interface.
- DisplayName - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Marks a method as returning a name that has to be used to display this item, in addition to its primary key.
- DOUBLE - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
E
- edit(Model, String, String, RedirectAttributes) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- empty() - Static method in interface tech.ailef.dbadmin.external.dto.FilterRequest
-
Empty filtering request
- enabled - Variable in class tech.ailef.dbadmin.external.DbAdminProperties
-
Whether Spring Boot Database Admin is enabled.
- EQ - Enum constant in enum class tech.ailef.dbadmin.external.dto.CompareOperator
- equals(Object) - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- equals(Object) - Method in class tech.ailef.dbadmin.external.dbmapping.DbFieldValue
- equals(Object) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- equals(Object) - Method in class tech.ailef.dbadmin.external.dto.QueryFilter
- export(String, String, String, Boolean, MultiValueMap<String, String>) - Method in class tech.ailef.dbadmin.external.controller.DataExportController
F
- FacetedSearchRequest - Class in tech.ailef.dbadmin.external.dto
-
The filter request for faceted search.
- FacetedSearchRequest(Set<QueryFilter>) - Constructor for class tech.ailef.dbadmin.external.dto.FacetedSearchRequest
- field - Variable in class tech.ailef.dbadmin.external.dbmapping.DbField
- FileDownloadController - Class in tech.ailef.dbadmin.external.controller
-
Controller to serve file or images (`@DisplayImage`)
- FileDownloadController() - Constructor for class tech.ailef.dbadmin.external.controller.FileDownloadController
- Filterable - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Marks a field as filterable and places it in the faceted search bar.
- FilterableType - Enum Class in tech.ailef.dbadmin.external.annotations
-
Type of filters that can be used in the faceted search.
- FilterRequest - Interface in tech.ailef.dbadmin.external.dto
-
Describes a request that contains parameters that are used to filter results.
- findActions(LogsSearchRequest) - Method in interface tech.ailef.dbadmin.internal.repository.CustomActionRepository
- findActions(LogsSearchRequest) - Method in class tech.ailef.dbadmin.internal.repository.CustomActionRepositoryImpl
-
Finds the UserAction that match the input search request.
- findActions(LogsSearchRequest) - Method in class tech.ailef.dbadmin.internal.service.UserActionService
-
Retruns a page of results of user actions that match the given input request.
- findAll() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns all the data in this schema, as `DbObject`s
- findAll(DbObjectSchema, int, int, String, String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Find all the objects in the schema.
- findAllByOnTableAndActionTypeAndPrimaryKey(String, String, String, PageRequest) - Method in interface tech.ailef.dbadmin.internal.repository.UserActionRepository
- findById(DbObjectSchema, Object) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Find an object by ID
- findGetter(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- findSchemaByClass(Class<?>) - Method in class tech.ailef.dbadmin.external.DbAdmin
-
Finds a schema by its class object
- findSchemaByClassName(String) - Method in class tech.ailef.dbadmin.external.DbAdmin
-
Finds a schema by its full class name
- findSchemaByTableName(String) - Method in class tech.ailef.dbadmin.external.DbAdmin
-
Finds a schema by its table name
- findSetter(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- FLOAT - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- forField(String) - Method in class tech.ailef.dbadmin.external.dto.ValidationErrorsContainer
- format() - Element in annotation interface tech.ailef.dbadmin.external.annotations.DisplayFormat
-
The format to apply to the field's value
- fromClass(Class<?>) - Static method in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
-
Returns the corresponding DbFieldType from a Class object.
G
- get(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- get(String) - Method in class tech.ailef.dbadmin.internal.UserConfiguration
-
Returns the value of the specific setting
- get(DbField) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- getActionType() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Returns the actionType specified in this search request.
- getActionType() - Method in class tech.ailef.dbadmin.internal.model.UserAction
- getAfterPages() - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns the pages after the current one
- getAllValues() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getBasePackage() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- getBaseUrl() - Method in class tech.ailef.dbadmin.external.controller.GlobalController
-
The baseUrl as specified in the properties file by the user
- getBaseUrl() - Method in class tech.ailef.dbadmin.external.DbAdminProperties
-
Returns the prefix that is prepended to all routes registered by Spring Boot Database Admin.
- getBeforePages() - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns the pages before the current one
- getClassName() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the name of the Java class for the underlying `@Entity` this schema corresponds to
- getCompareOperators() - Method in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
-
Returns a list of compare operators that can be used to compare two values for this field type.
- getComputedColumn(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the method for the given `@ComputedColumn` name
- getComputedColumnNames() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the names of the `@ComputedColumn`s in this schema
- getComputedColumns() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- getConnectedSchema() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getConnectedType() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getCreatedAt() - Method in class tech.ailef.dbadmin.internal.model.UserAction
- getCurrentPage() - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns the current requested page
- getDbAdmin() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the DbAdmin instance
- getDisplayName() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- getDisplayName() - Method in enum class tech.ailef.dbadmin.external.dto.CompareOperator
- getErrors() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- getField() - Method in class tech.ailef.dbadmin.external.dbmapping.DbFieldValue
- getField() - Method in class tech.ailef.dbadmin.external.dto.QueryFilter
-
Returns the field of the boolean condition
- getFieldByJavaName(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Get a field by its Java name, i.e.
- getFieldByName(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Get a field by its database name, i.e.
- getFields() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns an unmodifiable list of all the fields in the schema
- getFilterableFields() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the list of fields that are `@Filterable`
- getFormat() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getFormattedDate() - Method in class tech.ailef.dbadmin.internal.model.UserAction
- getFormattedValue() - Method in class tech.ailef.dbadmin.external.dbmapping.DbFieldValue
- getFragmentName() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
-
Returns the name of the Thymeleaf fragment used to render the input for this field.
- getFragmentName() - Method in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
-
Returns the name of the Thymeleaf fragments in the 'inputs.html' file, used to render an input field for this specific type.
- getId() - Method in class tech.ailef.dbadmin.external.dto.AutocompleteSearchResult
-
Returns the primary key for the object
- getId() - Method in class tech.ailef.dbadmin.internal.model.UserAction
- getId() - Method in class tech.ailef.dbadmin.internal.model.UserSetting
- getItemId() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Returns the itemId specified in this search request.
- getJavaClass() - Method in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
-
Returns the Java class corresponding to this field type.
- getJavaClass() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the Java class for the underlying `@Entity` this schema corresponds to
- getJavaClass() - Method in class tech.ailef.dbadmin.internal.model.UserAction
- getJavaName() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getJavaName() - Method in class tech.ailef.dbadmin.external.dbmapping.DbFieldValue
- getJpaRepository() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the underlying CustomJpaRepository
- getLink(int) - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns a link to the specified page by preserving all the other filtering parameters
- getManyToManyOwnedFields() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the list of ManyToMany fields owned by this class (i.e.
- getMaxElement() - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns the total count of elements for all pages
- getMaxPage() - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns the last page for which there are results available
- getMessage() - Method in class tech.ailef.dbadmin.external.dto.MappingError
- getMessage() - Method in exception tech.ailef.dbadmin.external.exceptions.DbAdminNotFoundException
- getModelsPackage() - Method in class tech.ailef.dbadmin.external.DbAdminProperties
-
Returns the path of the package that contains your JPA `@Entity` classes to be scanned.
- getName() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getNumberOfResults() - Method in class tech.ailef.dbadmin.external.dto.PaginatedResult
-
Returns the number of results for the current page
- getOnTable() - Method in class tech.ailef.dbadmin.internal.model.UserAction
- getOp() - Method in class tech.ailef.dbadmin.external.dto.QueryFilter
-
Returns the operator of the boolean condition
- getPage() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Returns the requested page number
- getPageSize() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Returns the requested number of elements per page
- getPageSize() - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns the current number of elements per page
- getPagination() - Method in class tech.ailef.dbadmin.external.dto.PaginatedResult
-
Returns the pagination settings used to produce this output
- getPrimaryKey() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the DbField which serves as the primary key for this schema
- getPrimaryKey() - Method in class tech.ailef.dbadmin.internal.model.UserAction
- getPrimaryKeyValue() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- getPrimitiveField() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getQueryParams(HttpServletRequest) - Method in class tech.ailef.dbadmin.external.controller.GlobalController
-
A multi valued map containing the query parameters.
- getQueryString(MultiValueMap<String, String>) - Static method in interface tech.ailef.dbadmin.external.misc.Utils
- getRelationshipFields() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the list of relationship fields
- getRequestUrl(HttpServletRequest) - Method in class tech.ailef.dbadmin.external.controller.GlobalController
-
The full request URL, not including the query string
- getResults() - Method in class tech.ailef.dbadmin.external.dto.PaginatedResult
-
Returns the list of results in the current page
- getSchema() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getSchema() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- getSchemas() - Method in class tech.ailef.dbadmin.external.DbAdmin
-
Returns all the loaded schemas (i.e.
- getSettingValue() - Method in class tech.ailef.dbadmin.internal.model.UserSetting
- getSortedFields() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- getSortedFields(boolean) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns a sorted list of physical fields (i.e., fields that correspond to a column in the table as opposed to fields that are just present as instance variables, like relationship fields).
- getSortedPageLink(String, String) - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns a link to the current page by preserving all the other filtering parameters but changing the sort order.
- getSortKey() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Returns the requested sort key, possibly null
- getSortOrder() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Returns the requested sort order, possibly null
- getSql() - Method in class tech.ailef.dbadmin.internal.model.UserAction
- getTable() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Returns the table specified in this search request.
- getTableName() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Returns the inferred table name for this schema
- getType() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- getUnderlyingInstance() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- getUserConf() - Method in class tech.ailef.dbadmin.external.controller.GlobalController
-
The UserConfiguration object used to retrieve values specified in the settings table.
- getValue() - Method in class tech.ailef.dbadmin.external.dbmapping.DbFieldValue
- getValue() - Method in class tech.ailef.dbadmin.external.dto.AutocompleteSearchResult
-
Returns the readable name for the object
- getValue() - Method in class tech.ailef.dbadmin.external.dto.QueryFilter
-
Returns the value of the boolean condition
- getValues(DbField) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- getVersion() - Method in class tech.ailef.dbadmin.external.controller.GlobalController
- getVersion() - Method in class tech.ailef.dbadmin.external.DbAdmin
-
Returns the current version
- GlobalController - Class in tech.ailef.dbadmin.external.controller
-
This class registers some global ModelAttributes and exception handlers.
- GlobalController() - Constructor for class tech.ailef.dbadmin.external.controller.GlobalController
- GT - Enum constant in enum class tech.ailef.dbadmin.external.dto.CompareOperator
H
- handleException(Exception, Model, HttpServletResponse) - Method in class tech.ailef.dbadmin.external.controller.GlobalController
- handleNotFound(Exception, Model, HttpServletResponse) - Method in class tech.ailef.dbadmin.external.controller.GlobalController
- has(DbField) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- hasErrors(String) - Method in class tech.ailef.dbadmin.external.dto.ValidationErrorsContainer
- hashCode() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- hashCode() - Method in class tech.ailef.dbadmin.external.dbmapping.DbFieldValue
- hashCode() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- hashCode() - Method in class tech.ailef.dbadmin.external.dto.QueryFilter
- HiddenColumn - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Marks a column as hidden.
I
- index(Model, String) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
-
Home page with list of schemas
- INTEGER - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- internalDataSource() - Method in class tech.ailef.dbadmin.external.DbAdminAutoConfiguration
-
Builds and returns the internal data source.
- InternalDbAdminConfiguration - Class in tech.ailef.dbadmin.internal
-
Configuration class for the "internal" data source.
- InternalDbAdminConfiguration() - Constructor for class tech.ailef.dbadmin.internal.InternalDbAdminConfiguration
- internalEntityManagerFactory() - Method in class tech.ailef.dbadmin.external.DbAdminAutoConfiguration
- internalTransactionManager() - Method in class tech.ailef.dbadmin.external.DbAdminAutoConfiguration
- InvalidPageException - Exception in tech.ailef.dbadmin.external.exceptions
-
Thrown during the computation of pagination if the requested page number is not valid within the current request (e.g.
- InvalidPageException() - Constructor for exception tech.ailef.dbadmin.external.exceptions.InvalidPageException
- InvalidPageException(String) - Constructor for exception tech.ailef.dbadmin.external.exceptions.InvalidPageException
- isBinary() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isCreateEnabled() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- isDeleteEnabled() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- isEditEnabled() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- isEmpty() - Method in class tech.ailef.dbadmin.external.dto.PaginatedResult
-
Returns whether the results are empty
- isEmpty() - Method in class tech.ailef.dbadmin.external.dto.ValidationErrorsContainer
- isEnabled() - Method in class tech.ailef.dbadmin.external.DbAdminProperties
-
Whether Spring Boot Database Admin is enabled
- isExportable() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
-
Returns whether this field is exportable into a CSV file.
- isExportEnabled() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- isFilterable() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isFilterableCategorical() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isForeignKey() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isGeneratedValue() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isImage() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isLastPage() - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
-
Returns whether the current page is the last one
- isNullable() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isPrimaryKey() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isReadOnly() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isRelationship() - Method in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- isSettable() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
-
Returns if this field is settable with a raw value, i.e.
- isTestMode() - Method in class tech.ailef.dbadmin.external.DbAdminProperties
- isText() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- isToOne() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
J
- javaName - Variable in class tech.ailef.dbadmin.external.dbmapping.DbField
-
The name of this field in the Java code (instance variable)
L
- list(Model, String, Integer, String, Integer, String, String, MultiValueMap<String, String>, HttpServletRequest, HttpServletResponse) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
-
Lists the items of a schema by applying a variety of filters: - query: fuzzy search - otherParams: filterable fields Includes pagination and sorting options.
- LOCAL_DATE - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- LOCAL_DATE_TIME - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- logs(Model, LogsSearchRequest) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- LogsSearchRequest - Class in tech.ailef.dbadmin.external.dto
-
A client request for the Action logs page where several filtering parameters are present
- LogsSearchRequest() - Constructor for class tech.ailef.dbadmin.external.dto.LogsSearchRequest
- LONG - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- LT - Enum constant in enum class tech.ailef.dbadmin.external.dto.CompareOperator
M
- MANY_TO_MANY - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- MappingError - Class in tech.ailef.dbadmin.external.dto
-
A wrapper class for information about mapping errors, i.e.
- MappingError(String) - Constructor for class tech.ailef.dbadmin.external.dto.MappingError
N
- name() - Element in annotation interface tech.ailef.dbadmin.external.annotations.ComputedColumn
O
- OFFSET_DATE_TIME - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- ONE_TO_MANY - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- ONE_TO_ONE - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
P
- PaginatedResult<T> - Class in tech.ailef.dbadmin.external.dto
-
A wrapper class that holds info about the current pagination and one page of returned result.
- PaginatedResult(PaginationInfo, List<T>) - Constructor for class tech.ailef.dbadmin.external.dto.PaginatedResult
- PaginationInfo - Class in tech.ailef.dbadmin.external.dto
-
Attached as output to requests that have a paginated response, holds information about the current pagination.
- PaginationInfo(int, int, int, long, String, FilterRequest) - Constructor for class tech.ailef.dbadmin.external.dto.PaginationInfo
- parseValue(Object) - Method in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
-
Parse the value received through an HTML form into a instance of an object of this specific type.
Q
- QueryFilter - Class in tech.ailef.dbadmin.external.dto
-
A single filter in a FacetedSearchRequest.
- QueryFilter(DbField, CompareOperator, String) - Constructor for class tech.ailef.dbadmin.external.dto.QueryFilter
R
- ReadOnly - Annotation Interface in tech.ailef.dbadmin.external.annotations
-
Marks a field as read-only.
S
- save(UserAction) - Method in class tech.ailef.dbadmin.internal.service.UserActionService
- schema(Model, String) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
-
Displays information about the schema
- search(String, int, int, String, String, Set<QueryFilter>) - Method in class tech.ailef.dbadmin.external.dbmapping.CustomJpaRepository
- search(String, Set<QueryFilter>) - Method in class tech.ailef.dbadmin.external.dbmapping.CustomJpaRepository
- search(DbObjectSchema, String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Fuzzy search on primary key value and display name
- search(DbObjectSchema, String, int, int, String, String, Set<QueryFilter>) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Fuzzy search on primary key value and display name
- search(DbObjectSchema, String, Set<QueryFilter>) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
- serveFile(String, String, String) - Method in class tech.ailef.dbadmin.external.controller.FileDownloadController
-
Serve a binary field as a file.
- serveImage(String, String, String) - Method in class tech.ailef.dbadmin.external.controller.FileDownloadController
-
Serve a binary field as an image
- set(String, Object) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- setActionType(String) - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
- setActionType(String) - Method in class tech.ailef.dbadmin.internal.model.UserAction
- setBaseUrl(String) - Method in class tech.ailef.dbadmin.external.DbAdminProperties
- setConnectedType(Class<?>) - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- setCreatedAt(LocalDateTime) - Method in class tech.ailef.dbadmin.internal.model.UserAction
- setCurrentPage(int) - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
- setEnabled(boolean) - Method in class tech.ailef.dbadmin.external.DbAdminProperties
- setField(Field) - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- setId(Integer) - Method in class tech.ailef.dbadmin.internal.model.UserAction
- setId(String) - Method in class tech.ailef.dbadmin.internal.model.UserSetting
- setItemId(String) - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
- setJavaClass(String) - Method in class tech.ailef.dbadmin.internal.model.UserAction
- setJpaRepository(CustomJpaRepository) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
-
Sets the underlying CustomJpaRepository
- setMaxPage(int) - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
- setModelsPackage(String) - Method in class tech.ailef.dbadmin.external.DbAdminProperties
- setName(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- setNullable(boolean) - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- setOnTable(String) - Method in class tech.ailef.dbadmin.internal.model.UserAction
- setPage(int) - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Sets the page for this request
- setPageSize(int) - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Sets the page size for this request
- setPageSize(int) - Method in class tech.ailef.dbadmin.external.dto.PaginationInfo
- setPrimaryKey(boolean) - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- setPrimaryKey(String) - Method in class tech.ailef.dbadmin.internal.model.UserAction
- setRelationship(String, Object) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- setSchema(DbObjectSchema) - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- setSettingValue(String) - Method in class tech.ailef.dbadmin.internal.model.UserSetting
- setSortKey(String) - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
- setSortOrder(String) - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Sets the sort order for this request
- setSql(String) - Method in class tech.ailef.dbadmin.internal.model.UserAction
- setTable(String) - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
- setTestMode(boolean) - Method in class tech.ailef.dbadmin.external.DbAdminProperties
- settings(Map<String, String>, Model) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- settings(Model) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- settingsAppearance(Model) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- setType(DbFieldType) - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- SHORT - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- show(Model, String, String) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
-
Shows a single item
- snakeToCamel(String) - Static method in interface tech.ailef.dbadmin.external.misc.Utils
-
Converts snake case to camel case
- store(String, MultiValueMap<String, String>, Map<String, MultipartFile>, RedirectAttributes) - Method in class tech.ailef.dbadmin.external.controller.DefaultDbAdminController
- STRING - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- STRING_EQ - Enum constant in enum class tech.ailef.dbadmin.external.dto.CompareOperator
T
- tech.ailef.dbadmin.external - package tech.ailef.dbadmin.external
-
Root package of Spring Boot Database Admin.
- tech.ailef.dbadmin.external.annotations - package tech.ailef.dbadmin.external.annotations
-
Annotations defined to allow user customization
- tech.ailef.dbadmin.external.controller - package tech.ailef.dbadmin.external.controller
-
Controllers registered for the web UI
- tech.ailef.dbadmin.external.controller.rest - package tech.ailef.dbadmin.external.controller.rest
-
Rest controllers
- tech.ailef.dbadmin.external.dbmapping - package tech.ailef.dbadmin.external.dbmapping
-
Representation of the user database and repository classes.
- tech.ailef.dbadmin.external.dto - package tech.ailef.dbadmin.external.dto
-
Data objects used in primarily in requests and responses
- tech.ailef.dbadmin.external.exceptions - package tech.ailef.dbadmin.external.exceptions
-
Exception classes
- tech.ailef.dbadmin.external.misc - package tech.ailef.dbadmin.external.misc
-
Miscellaneous utility classes.
- tech.ailef.dbadmin.internal - package tech.ailef.dbadmin.internal
-
This is the root package for the "internal" data source, i.e.
- tech.ailef.dbadmin.internal.model - package tech.ailef.dbadmin.internal.model
-
Entity classes for the internal data source (action logs and user settings).
- tech.ailef.dbadmin.internal.repository - package tech.ailef.dbadmin.internal.repository
-
Repositories for the internal data source.
- tech.ailef.dbadmin.internal.service - package tech.ailef.dbadmin.internal.service
-
Service classes for the internal data source.
- TEXT - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
- toMap() - Method in class tech.ailef.dbadmin.external.DbAdminProperties
- toPageRequest() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
-
Build a Spring PageRequest object from the parameters in this request
- toString() - Method in class tech.ailef.dbadmin.external.dbmapping.DbField
- toString() - Method in class tech.ailef.dbadmin.external.dbmapping.DbFieldValue
- toString() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- toString() - Method in class tech.ailef.dbadmin.external.dbmapping.DbObjectSchema
- toString() - Method in enum class tech.ailef.dbadmin.external.dto.CompareOperator
- toString() - Method in class tech.ailef.dbadmin.external.dto.LogsSearchRequest
- toString() - Method in class tech.ailef.dbadmin.external.dto.QueryFilter
-
Provides a readable version of this query filter, customized based on field type and/or operator.
- toString() - Method in class tech.ailef.dbadmin.external.dto.ValidationErrorsContainer
- traverse(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- traverse(DbField) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- traverseMany(String) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- traverseMany(DbField) - Method in class tech.ailef.dbadmin.external.dbmapping.DbObject
- type - Variable in class tech.ailef.dbadmin.external.dbmapping.DbField
-
The type of this field
- type() - Element in annotation interface tech.ailef.dbadmin.external.annotations.Filterable
-
The type of filter (DEFAULT or CATEGORICAL)
U
- UnsupportedFieldTypeException - Exception in tech.ailef.dbadmin.external.exceptions
-
Thrown when a field of an `@Entity` class has a type that is not supported.
- UnsupportedFieldTypeException() - Constructor for exception tech.ailef.dbadmin.external.exceptions.UnsupportedFieldTypeException
- UnsupportedFieldTypeException(String) - Constructor for exception tech.ailef.dbadmin.external.exceptions.UnsupportedFieldTypeException
- update(DbObjectSchema, Map<String, String>, Map<String, MultipartFile>) - Method in class tech.ailef.dbadmin.external.dbmapping.CustomJpaRepository
- update(DbObjectSchema, Map<String, String>, Map<String, MultipartFile>) - Method in class tech.ailef.dbadmin.external.dbmapping.DbAdminRepository
-
Update an existing object with new values.
- UserAction - Class in tech.ailef.dbadmin.internal.model
-
An write operation executed by a user from the web UI.
- UserAction() - Constructor for class tech.ailef.dbadmin.internal.model.UserAction
- UserAction(String, String, String, String) - Constructor for class tech.ailef.dbadmin.internal.model.UserAction
- UserActionRepository - Interface in tech.ailef.dbadmin.internal.repository
- UserActionService - Class in tech.ailef.dbadmin.internal.service
-
Service class to retrieve user actions through the
CustomActionRepositoryImpl
. - UserActionService() - Constructor for class tech.ailef.dbadmin.internal.service.UserActionService
- UserConfiguration - Class in tech.ailef.dbadmin.internal
-
Wrapper class for the UserSettingsRepository that provides a better way of handling user settings.
- UserConfiguration() - Constructor for class tech.ailef.dbadmin.internal.UserConfiguration
- UserSetting - Class in tech.ailef.dbadmin.internal.model
-
A single variable in the user settings.
- UserSetting() - Constructor for class tech.ailef.dbadmin.internal.model.UserSetting
- UserSetting(String, String) - Constructor for class tech.ailef.dbadmin.internal.model.UserSetting
- UserSettingsRepository - Interface in tech.ailef.dbadmin.internal.repository
- Utils - Interface in tech.ailef.dbadmin.external.misc
-
Collection of utility functions used across the project
- UUID - Enum constant in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
V
- ValidationErrorsContainer - Class in tech.ailef.dbadmin.external.dto
- ValidationErrorsContainer(ConstraintViolationException) - Constructor for class tech.ailef.dbadmin.external.dto.ValidationErrorsContainer
- valueOf(String) - Static method in enum class tech.ailef.dbadmin.external.annotations.FilterableType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tech.ailef.dbadmin.external.dto.CompareOperator
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class tech.ailef.dbadmin.external.dto.DataExportFormat
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class tech.ailef.dbadmin.external.annotations.FilterableType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tech.ailef.dbadmin.external.dbmapping.DbFieldType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tech.ailef.dbadmin.external.dto.CompareOperator
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class tech.ailef.dbadmin.external.dto.DataExportFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
X
- XLSX - Enum constant in enum class tech.ailef.dbadmin.external.dto.DataExportFormat
All Classes and Interfaces|All Packages|Serialized Form