com.atlassian.bamboo.deployments.results.variable
Class DeploymentVariableSubstitutionDaoImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
              extended by com.atlassian.bamboo.deployments.results.variable.DeploymentVariableSubstitutionDaoImpl
All Implemented Interfaces:
DeploymentVariableSubstitutionDao, org.springframework.beans.factory.InitializingBean

public class DeploymentVariableSubstitutionDaoImpl
extends StatelessSessionHibernateDaoSupport
implements DeploymentVariableSubstitutionDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
DeploymentVariableSubstitutionDaoImpl()
           
 
Method Summary
 int delete(DeploymentResultDeletionAdapter deletionAdapter)
          Delete DeploymentVariableSubstitution records related to DeploymentResults limited by DeletionSQLAdapter.getInClause()
 java.util.List<DeploymentVariableSubstitution> getVariableSubstitutionsForDeploymentResult(long deploymentResultId)
           
 void save(DeploymentVariableSubstitution deploymentVariableSubstitution)
           
 
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentVariableSubstitutionDaoImpl

public DeploymentVariableSubstitutionDaoImpl()
Method Detail

delete

public int delete(@NotNull
                  DeploymentResultDeletionAdapter deletionAdapter)
Description copied from interface: DeploymentVariableSubstitutionDao
Delete DeploymentVariableSubstitution records related to DeploymentResults limited by DeletionSQLAdapter.getInClause()

Specified by:
delete in interface DeploymentVariableSubstitutionDao
Parameters:
deletionAdapter - DeletionSQLAdapter.getInClause() should provide range of DeploymentResults
Returns:
number of deleted records

getVariableSubstitutionsForDeploymentResult

@NotNull
public java.util.List<DeploymentVariableSubstitution> getVariableSubstitutionsForDeploymentResult(long deploymentResultId)
Specified by:
getVariableSubstitutionsForDeploymentResult in interface DeploymentVariableSubstitutionDao

save

public void save(DeploymentVariableSubstitution deploymentVariableSubstitution)
Specified by:
save in interface DeploymentVariableSubstitutionDao


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.