public class LoginInformationHibernateDao extends BambooHibernateObjectDao<LoginInformation> implements LoginInformationDao
Constructor and Description |
---|
LoginInformationHibernateDao() |
Modifier and Type | Method and Description |
---|---|
LoginInformation |
getLoginInformationByUserName(String userName) |
Class |
getPersistentClass() |
void |
save(LoginInformation loginInformation)
Saves the given entity.
|
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, saveAll
public Class getPersistentClass()
public LoginInformation getLoginInformationByUserName(@NotNull String userName)
getLoginInformationByUserName
in interface LoginInformationDao
public void save(@NotNull LoginInformation loginInformation)
BambooObjectDao
EntityObject
this method will:
- update EntityObject.getLastModificationDate()
- set EntityObject.getCreationDate()
if the object has not been savedsave
in interface BambooObjectDao<LoginInformation>
save
in interface LoginInformationDao
save
in class BambooHibernateObjectDao<LoginInformation>
loginInformation
- entity to be savedCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.