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
mainEntityManagerFactory
Fields 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, 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
-
LoginHbmDAO
public LoginHbmDAO()Default Constructor.
-
-
Method Details
-
getLoginsFromAccount
Description copied from interface:LoginDAO
Get all Logins by a given account. The account identifier is the e-mail address.- Specified by:
getLoginsFromAccount
in interfaceLoginDAO
- Parameters:
account
- as String- Returns:
- List of LoginDO
-
doLogout
Description copied from interface:LoginDAO
Fethc the last (newest) login object of an account to perform a logout. A logout means, that the logout timestamp will set to the datarow.
-