Class ConfluenceServiceAccountDao
java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.StatelessDao
com.atlassian.crowd.util.persistence.hibernate.HibernateDao<com.atlassian.crowd.model.service.InternalServiceAccount>
com.atlassian.crowd.dao.service.ServiceAccountManagerDAOHibernate
com.atlassian.confluence.impl.user.crowd.serviceaccount.ConfluenceServiceAccountDao
- All Implemented Interfaces:
com.atlassian.crowd.dao.service.ServiceAccountManagerDAO
@Transactional
public class ConfluenceServiceAccountDao
extends com.atlassian.crowd.dao.service.ServiceAccountManagerDAOHibernate
-
Field Summary
Fields inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao
batchFinder, batchProcessor, logger, statelessSessionBatchProcessor, timeSourceFields inherited from class com.atlassian.crowd.util.persistence.hibernate.StatelessDao
sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAuth(com.atlassian.crowd.embedded.api.service.ServiceAccount serviceAccount, String authId, String authType) Override here as the platform's implementation has an issue with executing the statement due to transaction boundaries.booleanupdateServiceAccount(com.atlassian.crowd.model.service.InternalServiceAccount serviceAccountUpdate) Override here as the platform's implementation has an issue with saving the auth method.Methods inherited from class com.atlassian.crowd.dao.service.ServiceAccountManagerDAOHibernate
createServiceAccount, deleteServiceAccount, findAuthMethods, findServiceAccountByAuthMethod, findServiceAccounts, findServiceAccountsByAuthMethods, getPersistentClass, getServiceAccount, getServiceAccountByNameMethods inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao
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, updateMethods inherited from class com.atlassian.crowd.util.persistence.hibernate.StatelessDao
setSessionFactory, withStatelessSession
-
Constructor Details
-
ConfluenceServiceAccountDao
public ConfluenceServiceAccountDao(org.hibernate.SessionFactory sessionFactory)
-
-
Method Details
-
updateServiceAccount
public boolean updateServiceAccount(com.atlassian.crowd.model.service.InternalServiceAccount serviceAccountUpdate) Override here as the platform's implementation has an issue with saving the auth method. See CONFSRVDEV-43569 for details.- Specified by:
updateServiceAccountin interfacecom.atlassian.crowd.dao.service.ServiceAccountManagerDAO- Overrides:
updateServiceAccountin classcom.atlassian.crowd.dao.service.ServiceAccountManagerDAOHibernate
-
deleteAuth
public void deleteAuth(com.atlassian.crowd.embedded.api.service.ServiceAccount serviceAccount, String authId, String authType) Override here as the platform's implementation has an issue with executing the statement due to transaction boundaries.- Specified by:
deleteAuthin interfacecom.atlassian.crowd.dao.service.ServiceAccountManagerDAO- Overrides:
deleteAuthin classcom.atlassian.crowd.dao.service.ServiceAccountManagerDAOHibernate
-