Class AgentCipherHibernateDao
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
- com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
-
- com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<AgentCipher>
-
- com.atlassian.bamboo.crypto.agent.AgentCipherHibernateDao
-
- All Implemented Interfaces:
AgentCipherDao
,BambooObjectDao<AgentCipher>
,org.springframework.beans.factory.InitializingBean
public class AgentCipherHibernateDao extends BambooHibernateObjectDao<AgentCipher> implements AgentCipherDao
-
-
Constructor Summary
Constructors Constructor Description AgentCipherHibernateDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable AgentCipher
findByAgentId(long agentId)
AgentCipher
saveCipher(PipelineDefinition agent, String key, String iv)
-
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
convertSearchTermToLikeExpression, countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
-
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
-
Methods inherited from class org.springframework.orm.hibernate5.support.HibernateDaoSupport
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
-
-
-
Method Detail
-
findByAgentId
@Nullable public @Nullable AgentCipher findByAgentId(long agentId)
- Specified by:
findByAgentId
in interfaceAgentCipherDao
-
saveCipher
public AgentCipher saveCipher(PipelineDefinition agent, String key, String iv)
- Specified by:
saveCipher
in interfaceAgentCipherDao
-
-