Class AccountHbmDAO

java.lang.Object
org.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.AccountDO,String>
org.europa.together.application.acl.AccountHbmDAO
All Implemented Interfaces:
Serializable, org.europa.together.business.acl.AccountDAO, org.europa.together.business.GenericDAO<org.europa.together.domain.acl.AccountDO,String>

@Repository @Transactional public class AccountHbmDAO extends org.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.AccountDO,String> implements org.europa.together.business.acl.AccountDAO
Implementation of the AccountDAO.
See Also:
  • Constructor Details

    • AccountHbmDAO

      public AccountHbmDAO()
      Default Constructor.
  • Method Details

    • findAccountByVerificationCode

      public org.europa.together.domain.acl.AccountDO findAccountByVerificationCode(String verificationCode)
      Specified by:
      findAccountByVerificationCode in interface org.europa.together.business.acl.AccountDAO
    • deactivateAccount

      public boolean deactivateAccount(String email)
      Specified by:
      deactivateAccount in interface org.europa.together.business.acl.AccountDAO
    • verifyAccount

      public boolean verifyAccount(String email)
      Specified by:
      verifyAccount in interface org.europa.together.business.acl.AccountDAO
    • listActivatedAccounts

      @Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listActivatedAccounts()
      Specified by:
      listActivatedAccounts in interface org.europa.together.business.acl.AccountDAO
    • listDeactivatedAccounts

      @Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listDeactivatedAccounts()
      Specified by:
      listDeactivatedAccounts in interface org.europa.together.business.acl.AccountDAO
    • listNotConfirmedAccounts

      @Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listNotConfirmedAccounts()
      Specified by:
      listNotConfirmedAccounts in interface org.europa.together.business.acl.AccountDAO
    • listAccountsOfRole

      @Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listAccountsOfRole(String roleName)
      Specified by:
      listAccountsOfRole in interface org.europa.together.business.acl.AccountDAO
    • listRegisterdAcountsBeforeDate

      @Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listRegisterdAcountsBeforeDate(Timestamp date)
      Specified by:
      listRegisterdAcountsBeforeDate in interface org.europa.together.business.acl.AccountDAO
    • listRegisterdAcountsAfterDate

      @Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listRegisterdAcountsAfterDate(Timestamp date)
      Specified by:
      listRegisterdAcountsAfterDate in interface org.europa.together.business.acl.AccountDAO