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
mainEntityManagerFactoryFields inherited from interface org.europa.together.business.GenericDAO
FEATURE_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandeactivateAccount(String email) org.europa.together.domain.acl.AccountDOfindAccountByVerificationCode(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>booleanverifyAccount(String email) Methods inherited from class org.europa.together.application.GenericHbmDAO
countAllElements, create, delete, deserializeJsonAsList, deserializeJsonAsObject, find, getPrimaryKeyOfObject, listAllElements, serializeAsJson, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
findAccountByVerificationCodein interfaceorg.europa.together.business.acl.AccountDAO
-
deactivateAccount
- Specified by:
deactivateAccountin interfaceorg.europa.together.business.acl.AccountDAO
-
verifyAccount
- Specified by:
verifyAccountin interfaceorg.europa.together.business.acl.AccountDAO
-
listActivatedAccounts
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listActivatedAccounts()- Specified by:
listActivatedAccountsin interfaceorg.europa.together.business.acl.AccountDAO
-
listDeactivatedAccounts
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listDeactivatedAccounts()- Specified by:
listDeactivatedAccountsin interfaceorg.europa.together.business.acl.AccountDAO
-
listNotConfirmedAccounts
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listNotConfirmedAccounts()- Specified by:
listNotConfirmedAccountsin interfaceorg.europa.together.business.acl.AccountDAO
-
listAccountsOfRole
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listAccountsOfRole(String roleName) - Specified by:
listAccountsOfRolein interfaceorg.europa.together.business.acl.AccountDAO
-
listRegisterdAcountsBeforeDate
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listRegisterdAcountsBeforeDate(Timestamp date) - Specified by:
listRegisterdAcountsBeforeDatein interfaceorg.europa.together.business.acl.AccountDAO
-
listRegisterdAcountsAfterDate
@Transactional(readOnly=true) public List<org.europa.together.domain.acl.AccountDO> listRegisterdAcountsAfterDate(Timestamp date) - Specified by:
listRegisterdAcountsAfterDatein interfaceorg.europa.together.business.acl.AccountDAO
-