Class HibernateTrustedApplicationDao
- java.lang.Object
-
- com.atlassian.confluence.security.persistence.dao.hibernate.HibernateTrustedApplicationDao
-
- All Implemented Interfaces:
TrustedApplicationDao
public class HibernateTrustedApplicationDao extends Object implements TrustedApplicationDao
Hibernate implementation of theTrustedApplicationDao
.
-
-
Constructor Summary
Constructors Constructor Description HibernateTrustedApplicationDao(org.hibernate.SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteHibernateTrustedApplication(ConfluenceTrustedApplication trustedApplication)
Collection<ConfluenceTrustedApplication>
findAll()
ConfluenceTrustedApplication
findById(long id)
ConfluenceTrustedApplication
findByKeyAlias(String keyAlias)
ConfluenceTrustedApplication
findByName(String applicationName)
void
saveHibernateTrustedApplication(ConfluenceTrustedApplication trustedApplication)
-
-
-
Method Detail
-
findById
public ConfluenceTrustedApplication findById(long id)
- Specified by:
findById
in interfaceTrustedApplicationDao
-
findByKeyAlias
public ConfluenceTrustedApplication findByKeyAlias(String keyAlias)
- Specified by:
findByKeyAlias
in interfaceTrustedApplicationDao
-
findByName
public ConfluenceTrustedApplication findByName(String applicationName)
- Specified by:
findByName
in interfaceTrustedApplicationDao
-
findAll
public Collection<ConfluenceTrustedApplication> findAll()
- Specified by:
findAll
in interfaceTrustedApplicationDao
-
saveHibernateTrustedApplication
@Transactional public void saveHibernateTrustedApplication(ConfluenceTrustedApplication trustedApplication)
- Specified by:
saveHibernateTrustedApplication
in interfaceTrustedApplicationDao
-
deleteHibernateTrustedApplication
public void deleteHibernateTrustedApplication(ConfluenceTrustedApplication trustedApplication)
- Specified by:
deleteHibernateTrustedApplication
in interfaceTrustedApplicationDao
-
-