com.atlassian.bamboo.deployments.versions.persistence.issues
Class DeploymentVersionLinkedJiraIssueDaoImpl

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.versions.persistence.issues.DeploymentVersionLinkedJiraIssueDaoImpl
All Implemented Interfaces:
DeploymentVersionLinkedJiraIssueDao, org.springframework.beans.factory.InitializingBean

public class DeploymentVersionLinkedJiraIssueDaoImpl
extends StatelessSessionHibernateDaoSupport
implements DeploymentVersionLinkedJiraIssueDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
DeploymentVersionLinkedJiraIssueDaoImpl()
           
 
Method Summary
 int delete(DeploymentVersionDeletionAdapter deletionAdapter)
          Delete DeploymentVersionLinkedJiraIssue records limited by DeletionSQLAdapter.getInClause().
 java.util.List<MutableDeploymentVersionLinkedJiraIssue> findJiraIssueLinksForDeploymentVersion(long deploymentVersionId)
           
 int getJiraIssueCountForDeploymentVersion(long deploymentVersionId)
           
 void saveAll(java.util.Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues)
          Save all records in the collection.
 
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

DeploymentVersionLinkedJiraIssueDaoImpl

public DeploymentVersionLinkedJiraIssueDaoImpl()
Method Detail

saveAll

public void saveAll(@NotNull
                    java.util.Collection<MutableDeploymentVersionLinkedJiraIssue> linkedJiraIssues)
Description copied from interface: DeploymentVersionLinkedJiraIssueDao
Save all records in the collection.

Specified by:
saveAll in interface DeploymentVersionLinkedJiraIssueDao

delete

public int delete(@NotNull
                  DeploymentVersionDeletionAdapter deletionAdapter)
Description copied from interface: DeploymentVersionLinkedJiraIssueDao
Delete DeploymentVersionLinkedJiraIssue records limited by DeletionSQLAdapter.getInClause().

Specified by:
delete in interface DeploymentVersionLinkedJiraIssueDao
Parameters:
deletionAdapter - DeletionSQLAdapter.getInClause() should provide range of DeploymentVersionLinkedJiraIssue to remove
Returns:
number of deleted DeploymentVersionLinkedJiraIssue records

findJiraIssueLinksForDeploymentVersion

@NotNull
public java.util.List<MutableDeploymentVersionLinkedJiraIssue> findJiraIssueLinksForDeploymentVersion(long deploymentVersionId)
Specified by:
findJiraIssueLinksForDeploymentVersion in interface DeploymentVersionLinkedJiraIssueDao
Returns:
list of all JIRA issues associated with a deployment version

getJiraIssueCountForDeploymentVersion

public int getJiraIssueCountForDeploymentVersion(long deploymentVersionId)
Specified by:
getJiraIssueCountForDeploymentVersion in interface DeploymentVersionLinkedJiraIssueDao
Returns:
count of all JIRA issues associated with a deployment version


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