public class SAMLTrustDAOHibernate extends HibernateDao<SAMLTrustEntity> implements SAMLTrustDAO
batchFinder, batchProcessor, logger, statelessSessionBatchProcessor, timeSource
sessionFactory
Constructor and Description |
---|
SAMLTrustDAOHibernate() |
Modifier and Type | Method and Description |
---|---|
SAMLTrustEntity |
addSamlTrustEntity(SAMLTrustEntity samlTrustEntity)
Store new certificate and private key
|
List<SAMLTrustEntity> |
findAll()
Returns all stored entities of type
SAMLTrustEntity . |
Optional<SAMLTrustEntity> |
findSamlTrustEntityById(long trustEntityId) |
Class<SAMLTrustEntity> |
getPersistentClass()
All subclasses of HibernateDao must implement this method for
HibernateDao.load(Serializable) to work
correctly. |
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 SAMLTrustEntity addSamlTrustEntity(SAMLTrustEntity samlTrustEntity)
SAMLTrustDAO
addSamlTrustEntity
in interface SAMLTrustDAO
samlTrustEntity
- trust entity (certificate and private key) to storepublic Optional<SAMLTrustEntity> findSamlTrustEntityById(long trustEntityId)
findSamlTrustEntityById
in interface SAMLTrustDAO
trustEntityId
- the id of the trust entity (certificate and private key) to findpublic List<SAMLTrustEntity> findAll()
SAMLTrustDAO
SAMLTrustEntity
.findAll
in interface SAMLTrustDAO
public Class<SAMLTrustEntity> getPersistentClass()
HibernateDao
HibernateDao.load(Serializable)
to work
correctly.getPersistentClass
in class HibernateDao<SAMLTrustEntity>
Copyright © 2020 Atlassian. All rights reserved.