Class HomeService

java.lang.Object
com.bayudwiyansatria.spring.service.HomeService

@Service public class HomeService extends Object
HomeMongoRepository

This interface represents the repository for the Home entity. It extends MongoRepository to provide CRUD operations for the Home entity.

It is annotated with @Repository to indicate that it is a Spring Data repository.

Since:
0.0.1
Version:
0.0.1
Author:
Bayu Dwiyan Satria
  • Constructor Details

    • HomeService

      public HomeService()
      HomeMongoRepository

      This interface represents the repository for the Home entity. It extends MongoRepository to provide CRUD operations for the Home entity.

      It is annotated with @Repository to indicate that it is a Spring Data repository.

      Since:
      0.0.1
  • Method Details

    • getHome

      public Response getHome()
      Returns a response indicating the success of the operation.
      Returns:
      a Response object with a success message, status, and no data
      Since:
      0.0.1