Uses of Class
io.github.blyznytsiaorg.bibernate.dao.method.MethodMetadata
Package
Description
-
Uses of MethodMetadata in io.github.blyznytsiaorg.bibernate.dao.method
Modifier and TypeFieldDescriptionprivate final Map
<String, MethodMetadata> RepositoryDetails.methodsMetadata
The field for themethodsMetadata
record component.Modifier and TypeMethodDescriptionRepositoryDetails.methodsMetadata()
Returns the value of themethodsMetadata
record component.ModifierConstructorDescriptionRepositoryDetails
(String repositoryName, Type primaryKeyType, Type entityType, List<String> interfaces, Map<String, MethodMetadata> methodsMetadata) Creates an instance of aRepositoryDetails
record class. -
Uses of MethodMetadata in io.github.blyznytsiaorg.bibernate.dao.method.handler
Modifier and TypeMethodDescriptionprivate MethodMetadata
SimpleRepositoryFactory.getMethodMetadata
(Method method) Retrieves method metadata, including return type and parameters, for the provided method.private MethodMetadata
SimpleRepositoryFactory.getMethodMetadata
(Method method, Type genericReturnType) Creates aMethodMetadata
instance based on the providedMethod
and its generic return type.Modifier and TypeMethodDescriptionprivate <T> Map
<String, MethodMetadata> SimpleRepositoryFactory.getMethodMetadataMap
(Class<T> repositoryInterface) Retrieves method metadata for all methods in the provided repository interface.Modifier and TypeMethodDescriptionSimpleRepositoryFindByIdMethodHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the "findById" method, querying the entity by its primary key.SimpleRepositoryFindOneMethodHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the "findOne" method, querying the entity by its primary key.SimpleRepositoryMethodCustomImplHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the custom method in the custom repository implementation.SimpleRepositoryMethodDeleteAllHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the deleteAll method in the simple repository.SimpleRepositoryMethodDeleteHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the delete method in the simple repository.SimpleRepositoryMethodFindAllHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the findAll method in the simple repository.SimpleRepositoryMethodFindByHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the findBy method in the simple repository.SimpleRepositoryMethodHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the given repository method using the provided parameters, repository details, and method metadata.SimpleRepositoryMethodHqlQueryHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the given repository method using the provided parameters, repository details, and method metadata.SimpleRepositoryMethodNativeQueryHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the given repository method using the provided parameters, repository details, and method metadata.SimpleRepositoryMethodSaveAllHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the given repository method using the provided parameters, repository details, and method metadata.SimpleRepositoryMethodSaveHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the given repository method using the provided parameters, repository details, and method metadata.SimpleRepositoryMethodUpdateHandler.execute
(Method method, Object[] parameters, RepositoryDetails repositoryDetails, MethodMetadata methodMetadata) Executes the given repository method using the provided parameters, repository details, and method metadata.