public class LicensedUserDaoHibernate extends HibernateDao<LicensedUser> implements LicensedUserDao
batchFinder, batchProcessor, logger, statelessSessionBatchProcessor, timeSource
sessionFactory
Constructor and Description |
---|
LicensedUserDaoHibernate() |
Modifier and Type | Method and Description |
---|---|
Long |
countLicensedUsers(LicensedUsersQuery query) |
LicensedUser |
findById(long id) |
List<LicensedUser> |
findLicensedUsers(LicensedUsersQuery query) |
Class<LicensedUser> |
getPersistentClass()
All subclasses of HibernateDao must implement this method for
HibernateDao.load(Serializable) to work
correctly. |
void |
remove(LicensedUser licensedUser) |
void |
removeAll(LicensingSummary licensingSummary) |
void |
removeByDirectoryId(Long id) |
void |
save(List<LicensedUser> licensedUsers) |
void |
update(LicensedUser licensedUser) |
createDeleteQuery, createDeleteQuery, createQuery, createQuery, 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 LicensedUser findById(long id) throws ObjectNotFoundException
findById
in interface LicensedUserDao
ObjectNotFoundException
public void update(LicensedUser licensedUser)
update
in interface LicensedUserDao
public void save(List<LicensedUser> licensedUsers)
save
in interface LicensedUserDao
public void remove(LicensedUser licensedUser)
remove
in interface LicensedUserDao
public List<LicensedUser> findLicensedUsers(LicensedUsersQuery query)
findLicensedUsers
in interface LicensedUserDao
public Long countLicensedUsers(LicensedUsersQuery query)
countLicensedUsers
in interface LicensedUserDao
public void removeByDirectoryId(Long id)
removeByDirectoryId
in interface LicensedUserDao
public void removeAll(LicensingSummary licensingSummary)
removeAll
in interface LicensedUserDao
public Class<LicensedUser> getPersistentClass()
HibernateDao
HibernateDao.load(Serializable)
to work
correctly.getPersistentClass
in class HibernateDao<LicensedUser>
Copyright © 2021 Atlassian. All rights reserved.