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:
-
Field Summary
Fields inherited from class org.europa.together.application.GenericHbmDAO
mainEntityManagerFactory
Fields inherited from interface org.europa.together.business.GenericDAO
FEATURE_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
deactivateAccount
(String email) org.europa.together.domain.acl.AccountDO
findAccountByVerificationCode
(String verificationCode) List<org.europa.together.domain.acl.AccountDO>
listAccountsOfRole
(String roleName) List<org.europa.together.domain.acl.AccountDO>
List<org.europa.together.domain.acl.AccountDO>
List<org.europa.together.domain.acl.AccountDO>
List<org.europa.together.domain.acl.AccountDO>
List<org.europa.together.domain.acl.AccountDO>
boolean
verifyAccount
(String email) Methods inherited from class org.europa.together.application.GenericHbmDAO
countAllElements, create, delete, deserializeJsonAsList, deserializeJsonAsObject, find, getPrimaryKeyOfObject, listAllElements, serializeAsJson, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.europa.together.business.GenericDAO
countAllElements, create, delete, deserializeJsonAsList, deserializeJsonAsObject, find, getPrimaryKeyOfObject, listAllElements, serializeAsJson, update
-
Constructor Details
-
AccountHbmDAO
public AccountHbmDAO()Default Constructor.
-
-
Method Details
-
findAccountByVerificationCode
public org.europa.together.domain.acl.AccountDO findAccountByVerificationCode(String verificationCode) - Specified by:
findAccountByVerificationCode
in interfaceorg.europa.together.business.acl.AccountDAO
-
deactivateAccount
- Specified by:
deactivateAccount
in interfaceorg.europa.together.business.acl.AccountDAO
-
verifyAccount
- Specified by:
verifyAccount
in interfaceorg.europa.together.business.acl.AccountDAO
-
listActivatedAccounts
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listActivatedAccounts()- Specified by:
listActivatedAccounts
in interfaceorg.europa.together.business.acl.AccountDAO
-
listDeactivatedAccounts
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listDeactivatedAccounts()- Specified by:
listDeactivatedAccounts
in interfaceorg.europa.together.business.acl.AccountDAO
-
listNotConfirmedAccounts
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listNotConfirmedAccounts()- Specified by:
listNotConfirmedAccounts
in interfaceorg.europa.together.business.acl.AccountDAO
-
listAccountsOfRole
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listAccountsOfRole(String roleName) - Specified by:
listAccountsOfRole
in interfaceorg.europa.together.business.acl.AccountDAO
-
listRegisterdAcountsBeforeDate
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listRegisterdAcountsBeforeDate(Timestamp date) - Specified by:
listRegisterdAcountsBeforeDate
in interfaceorg.europa.together.business.acl.AccountDAO
-
listRegisterdAcountsAfterDate
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listRegisterdAcountsAfterDate(Timestamp date) - Specified by:
listRegisterdAcountsAfterDate
in interfaceorg.europa.together.business.acl.AccountDAO
-