public class DirectoryInfoDaoHibernate extends HibernateDao<DirectoryInfo> implements DirectoryInfoDao
batchFinder, batchProcessor, logger, statelessSessionBatchProcessor, timeSource
sessionFactory
Constructor and Description |
---|
DirectoryInfoDaoHibernate() |
Modifier and Type | Method and Description |
---|---|
DirectoryInfo |
findById(long id) |
List<DirectoryInfo> |
findDirectories(LicensingSummary licensingSummary) |
Class<DirectoryInfo> |
getPersistentClass()
All subclasses of HibernateDao must implement this method for
HibernateDao.load(Serializable) to work
correctly. |
void |
removeAll(LicensingSummary licensingSummary) |
void |
removeByDirectoryId(Long id) |
void |
saveOrUpdate(DirectoryInfo directoryInfo) |
void |
setLicensedUserDao(LicensedUserDao licensedUserDao) |
createDeleteQuery, createDeleteQuery, createQuery, createQuery, executeHQLQuery, executeHQLQuery, findAllInternal, findByProperties, findByPropertiesOptional, findByProperty, findByProperty, findByPropertyOptional, findByPropertyOrThrow, getCountByProperties, load, load, loadOptional, loadReference, loadReference, remove, removeByIdIfPresent, save, saveOrUpdate, session, setBatchFinder, setBatchProcessor, setClock, setStatelessSessionBatchProcessor, toPredicates, update
setSessionFactory, withStatelessSession
public DirectoryInfo findById(long id) throws ObjectNotFoundException
findById
in interface DirectoryInfoDao
ObjectNotFoundException
public void saveOrUpdate(DirectoryInfo directoryInfo)
saveOrUpdate
in interface DirectoryInfoDao
public List<DirectoryInfo> findDirectories(LicensingSummary licensingSummary)
findDirectories
in interface DirectoryInfoDao
public void removeAll(LicensingSummary licensingSummary)
removeAll
in interface DirectoryInfoDao
public void removeByDirectoryId(Long id)
removeByDirectoryId
in interface DirectoryInfoDao
@Autowired public void setLicensedUserDao(LicensedUserDao licensedUserDao)
public Class<DirectoryInfo> getPersistentClass()
HibernateDao
HibernateDao.load(Serializable)
to work
correctly.getPersistentClass
in class HibernateDao<DirectoryInfo>
Copyright © 2020 Atlassian. All rights reserved.