Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arsy786/springboot-best-practices
/ functions
Functions
24 in github.com/arsy786/springboot-best-practices
⨍
Functions
24
◇
Types & classes
21
↓ 10 callers
Method
jsonAsString
(Object obj)
src/main/java/com/javatechie/util/ValueMapper.java:37
↓ 3 callers
Method
convertToDTO
(Product product)
src/main/java/com/javatechie/util/ValueMapper.java:23
↓ 1 callers
Method
convertToEntity
(ProductRequestDTO productRequestDTO)
src/main/java/com/javatechie/util/ValueMapper.java:11
↓ 1 callers
Method
getProductById
this method will fetch product from DB by ID @param productId @return product response from DB
src/main/java/com/javatechie/service/ProductService.java:80
↓ 1 callers
Method
getProductsByTypes
()
src/main/java/com/javatechie/service/ProductService.java:113
Method
CommonUtils
()
src/main/java/com/jt/demo/CommonUtils.java:8
Method
ProductNotFoundException
(String message)
src/main/java/com/javatechie/exception/ProductNotFoundException.java:5
Method
ProductServiceBusinessException
(String message)
src/main/java/com/javatechie/exception/ProductServiceBusinessException.java:5
Method
createNewProduct
(@RequestBody @Valid ProductRequestDTO productRequestDTO)
src/main/java/com/javatechie/controller/ProductController.java:27
Method
createNewProduct
(ProductRequestDTO productRequestDTO)
src/main/java/com/javatechie/service/ProductService.java:26
Method
createNewProductTest
()
src/test/java/com/javatechie/ProductServiceApplicationTests.java:55
Method
getProduct
(@PathVariable long productId)
src/main/java/com/javatechie/controller/ProductController.java:62
Method
getProducts
()
src/main/java/com/javatechie/controller/ProductController.java:46
Method
getProducts
()
src/main/java/com/javatechie/service/ProductService.java:46
Method
getProductsByTypesBeforeJava8
()
src/main/java/com/javatechie/service/ProductService.java:133
Method
getProductsGroupByType
()
src/main/java/com/javatechie/controller/ProductController.java:80
Method
getSensitiveInfoEncryptor
()
src/test/java/com/javatechie/EncryptKeyGeneratorTest.java:10
Method
getSensitiveInfoEncryptor
()
src/main/java/com/javatechie/config/ApplicationConfig.java:12
Method
handleMethodArgumentException
(MethodArgumentNotValidException exception)
src/main/java/com/javatechie/handler/ProductServiceExceptionHandler.java:20
Method
handleProductNotFoundException
(ProductNotFoundException exception)
src/main/java/com/javatechie/handler/ProductServiceExceptionHandler.java:43
Method
handleServiceException
(ProductServiceBusinessException exception)
src/main/java/com/javatechie/handler/ProductServiceExceptionHandler.java:35
Method
main
(String[] args)
src/main/java/com/javatechie/ProductServiceApplication.java:13
Method
setup
()
src/test/java/com/javatechie/ProductServiceApplicationTests.java:50
Method
shouldReturnAllProductsFromDB
()
src/test/java/com/javatechie/ProductServiceApplicationTests.java:68