Class UserRepositoryImpl

java.lang.Object
it.unimib.unimibmodules.repository.UserRepositoryImpl
All Implemented Interfaces:
UserRepository, UserRepositoryReadOnly

@Component("userRepository") public class UserRepositoryImpl extends Object implements UserRepository, UserRepositoryReadOnly
Repository for the User. Adds business logic to User instances before actually accessing the database via DAO.
Version:
0.4.1
Author:
Gianlorenzo Martini
  • Field Details

    • userDAO

      private final UserDAO userDAO
      The instance of UserDAO that will be used to perform actions to the DB
  • Constructor Details

    • UserRepositoryImpl

      @Autowired public UserRepositoryImpl(UserDAO userDAO)
  • Method Details