Class LoginHbmDAO
- All Implemented Interfaces:
Serializable,LoginDAO,org.europa.together.business.GenericDAO<LoginDO,String>
@Repository
@Transactional
public class LoginHbmDAO
extends org.europa.together.application.GenericHbmDAO<LoginDO,String>
implements LoginDAO
Implementation of the LoginDAO.
- 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
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
-
LoginHbmDAO
public LoginHbmDAO()Default Constructor.
-
-
Method Details
-
getLoginsFromAccount
Description copied from interface:LoginDAOGet all Logins by a given account. The account identifier is the e-mail address.- Specified by:
getLoginsFromAccountin interfaceLoginDAO- Parameters:
account- as String- Returns:
- List of LoginDO
-
doLogout
Description copied from interface:LoginDAOFethc the last (newest) login object of an account to perform a logout. A logout means, that the logout timestamp will set to the datarow.
-