Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Application - Class in com.bayudwiyansatria.spring
-
Application
- Application() - Constructor for class com.bayudwiyansatria.spring.Application
C
- com.bayudwiyansatria.spring - package com.bayudwiyansatria.spring
-
This package contains the main classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.config - package com.bayudwiyansatria.spring.config
-
This package contains the configuration classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.controller - package com.bayudwiyansatria.spring.controller
-
This package contains the controller classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.exception - package com.bayudwiyansatria.spring.exception
-
This package contains the exception handling classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.model - package com.bayudwiyansatria.spring.model
-
This package contains the model classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.model.entity - package com.bayudwiyansatria.spring.model.entity
-
This package contains the entity classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.repository - package com.bayudwiyansatria.spring.repository
-
This package contains the repository layer classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.repository.jpa - package com.bayudwiyansatria.spring.repository.jpa
-
This package contains the JPA repository layer classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.repository.jpa.custom - package com.bayudwiyansatria.spring.repository.jpa.custom
-
This package contains custom JPA repository layer classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.repository.jpa.custom.impl - package com.bayudwiyansatria.spring.repository.jpa.custom.impl
-
This package contains the implementation classes for custom JPA repository methods in the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.repository.mongodb - package com.bayudwiyansatria.spring.repository.mongodb
-
This package contains the MongoDB repository layer classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.repository.mongodb.custom - package com.bayudwiyansatria.spring.repository.mongodb.custom
-
This package contains the custom MongoDB repository layer classes for the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.repository.mongodb.custom.impl - package com.bayudwiyansatria.spring.repository.mongodb.custom.impl
-
This package contains the implementation classes for custom MongoDB repository methods in the Spring Boot Boilerplate application.
- com.bayudwiyansatria.spring.service - package com.bayudwiyansatria.spring.service
-
This package contains the service layer classes for the Spring Boot Boilerplate application.
D
- dataSource() - Method in class com.bayudwiyansatria.spring.config.DataSourceConfig
-
Creates and configures a DataSource bean.
- DataSourceConfig - Class in com.bayudwiyansatria.spring.config
-
DataSourceConfig
- DataSourceConfig() - Constructor for class com.bayudwiyansatria.spring.config.DataSourceConfig
- DOCUMENT_NAME - Static variable in class com.bayudwiyansatria.spring.model.entity.HomeEntity
F
- filterChain(HttpSecurity) - Method in class com.bayudwiyansatria.spring.config.SecurityConfig
-
Configures the security filter chain.
- findOne(Long, String) - Method in interface com.bayudwiyansatria.spring.repository.jpa.custom.HomeEntityCustomRepository
-
Finds a HomeEntity by its id and message.
- findOne(Long, String) - Method in class com.bayudwiyansatria.spring.repository.jpa.custom.impl.HomeEntityCustomRepositoryImpl
-
HomeEntityCustomRepositoryImpl
- findOne(Long, String) - Method in interface com.bayudwiyansatria.spring.repository.mongodb.custom.HomeEntityCustomRepository
-
Finds a HomeEntity by its id and message.
- findOne(Long, String) - Method in class com.bayudwiyansatria.spring.repository.mongodb.custom.impl.HomeEntityCustomRepositoryImpl
-
Finds a HomeEntity by its id and message.
G
- getDatabaseName() - Method in class com.bayudwiyansatria.spring.config.MongoDBConfig
-
Returns the MongoDB database name.
- getHome() - Method in class com.bayudwiyansatria.spring.service.HomeService
-
Returns a response indicating the success of the operation.
- getUserById() - Method in class com.bayudwiyansatria.spring.controller.HomeController
-
Handles HTTP GET requests to the root endpoint.
- GlobalExceptionHandler - Class in com.bayudwiyansatria.spring.exception
-
GlobalExceptionHandler
- GlobalExceptionHandler() - Constructor for class com.bayudwiyansatria.spring.exception.GlobalExceptionHandler
H
- handleMongoConnectionException(MongoConfigurationException) - Method in class com.bayudwiyansatria.spring.exception.GlobalExceptionHandler
-
Handles
MongoConfigurationException
and returns a 500 Internal Server Error status. - handleNotFoundException(RuntimeException) - Method in class com.bayudwiyansatria.spring.exception.GlobalExceptionHandler
-
Handles
RuntimeException
and returns a 404 Not Found status. - HomeController - Class in com.bayudwiyansatria.spring.controller
-
HomeController
- HomeController(HomeService) - Constructor for class com.bayudwiyansatria.spring.controller.HomeController
-
Constructs a new HomeController with the specified HomeService.
- HomeEntity - Class in com.bayudwiyansatria.spring.model.entity
-
HomeEntity
- HomeEntity() - Constructor for class com.bayudwiyansatria.spring.model.entity.HomeEntity
- HomeEntityCustomRepository - Interface in com.bayudwiyansatria.spring.repository.jpa.custom
-
HomeEntityCustomRepository
- HomeEntityCustomRepository - Interface in com.bayudwiyansatria.spring.repository.mongodb.custom
-
HomeEntityCustomRepository
- HomeEntityCustomRepositoryImpl - Class in com.bayudwiyansatria.spring.repository.jpa.custom.impl
-
HomeEntityCustomRepositoryImpl
- HomeEntityCustomRepositoryImpl - Class in com.bayudwiyansatria.spring.repository.mongodb.custom.impl
-
HomeEntityCustomRepositoryImpl
- HomeEntityCustomRepositoryImpl() - Constructor for class com.bayudwiyansatria.spring.repository.jpa.custom.impl.HomeEntityCustomRepositoryImpl
- HomeEntityCustomRepositoryImpl() - Constructor for class com.bayudwiyansatria.spring.repository.mongodb.custom.impl.HomeEntityCustomRepositoryImpl
- HomeJpaRepository - Interface in com.bayudwiyansatria.spring.repository.jpa
-
HomeJpaRepository
- HomeMongoRepository - Interface in com.bayudwiyansatria.spring.repository.mongodb
-
HomeMongoRepository
- HomeService - Class in com.bayudwiyansatria.spring.service
-
HomeMongoRepository
- HomeService() - Constructor for class com.bayudwiyansatria.spring.service.HomeService
-
HomeMongoRepository
I
- Initializer - Class in com.bayudwiyansatria.spring
-
Initializer
- Initializer() - Constructor for class com.bayudwiyansatria.spring.Initializer
M
- main(String[]) - Static method in class com.bayudwiyansatria.spring.Application
-
Main Application Runner
- mongoClient() - Method in class com.bayudwiyansatria.spring.config.MongoDBConfig
-
Creates and configures a MongoClient instance.
- MongoConfigurationException - Exception in com.bayudwiyansatria.spring.exception
-
MongoConfigurationException
- MongoConfigurationException(String) - Constructor for exception com.bayudwiyansatria.spring.exception.MongoConfigurationException
-
Constructs a new MongoConfigurationException with the specified detail message.
- MongoConfigurationException(String, Throwable) - Constructor for exception com.bayudwiyansatria.spring.exception.MongoConfigurationException
-
Constructs a new MongoConfigurationException with the specified detail message and cause.
- MongoDBConfig - Class in com.bayudwiyansatria.spring.config
-
MongoDBConfig
- MongoDBConfig() - Constructor for class com.bayudwiyansatria.spring.config.MongoDBConfig
- mongoTemplate() - Method in class com.bayudwiyansatria.spring.config.MongoDBConfig
-
Creates and configures a MongoTemplate instance.
O
- onStartup(ServletContext) - Method in class com.bayudwiyansatria.spring.Initializer
-
Perform specific actions during initialization.
R
- Request - Class in com.bayudwiyansatria.spring.model
-
Request
- Request(Object) - Constructor for class com.bayudwiyansatria.spring.model.Request
-
Constructs a new Request with the specified request payload.
- Response<T> - Class in com.bayudwiyansatria.spring.model
-
Response
- Response(String, boolean, T) - Constructor for class com.bayudwiyansatria.spring.model.Response
-
Constructs a new Response with the specified message, status, and data.
S
- SecurityConfig - Class in com.bayudwiyansatria.spring.config
-
SecurityConfig
- SecurityConfig() - Constructor for class com.bayudwiyansatria.spring.config.SecurityConfig
T
- toString() - Method in class com.bayudwiyansatria.spring.model.entity.HomeEntity
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form