Class LoginHbmDAO

java.lang.Object
org.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.LoginDO,String>
org.europa.together.application.acl.LoginHbmDAO
All Implemented Interfaces:
Serializable, org.europa.together.business.acl.LoginDAO, org.europa.together.business.GenericDAO<org.europa.together.domain.acl.LoginDO,String>

@Repository @Transactional public class LoginHbmDAO extends org.europa.together.application.GenericHbmDAO<org.europa.together.domain.acl.LoginDO,String> implements org.europa.together.business.acl.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
    Constructor
    Description
    Default Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doLogout(String account)
     
    List<org.europa.together.domain.acl.LoginDO>
     

    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

      @Transactional(readOnly=true) public List<org.europa.together.domain.acl.LoginDO> getLoginsFromAccount(String account)
      Specified by:
      getLoginsFromAccount in interface org.europa.together.business.acl.LoginDAO
    • doLogout

      public void doLogout(String account) throws org.europa.together.exceptions.DAOException
      Specified by:
      doLogout in interface org.europa.together.business.acl.LoginDAO
      Throws:
      org.europa.together.exceptions.DAOException