com.atlassian.bamboo.build.artifact
Class ArtifactLinkHibernateDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.hibernate.HibernateObjectDao
              extended by com.atlassian.bamboo.persistence.BambooHibernateObjectDao
                  extended by com.atlassian.bamboo.build.artifact.ArtifactLinkHibernateDao
All Implemented Interfaces:
bucket.core.persistence.ObjectDao, ArtifactLinkDao, BambooObjectDao, org.springframework.beans.factory.InitializingBean

public class ArtifactLinkHibernateDao
extends BambooHibernateObjectDao
implements ArtifactLinkDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ArtifactLinkHibernateDao()
           
 
Method Summary
 ArtifactLink findArtifactLink(java.lang.String label, ResultsSummary resultsSummary)
           
 java.util.Collection<ArtifactLink> findArtifactLinks(java.lang.String label, ResultsSummary resultsSummary)
           
 java.util.Collection<ArtifactLink> getArtifactLinks(ResultsSummary resultsSummary, java.lang.String linkType)
          Gets all the ArtifactLinks for the given ResultsSummary and optionally ArtifactLink.getLinkType()
 java.lang.Class getPersistentClass()
           
 void removeAll(java.util.Collection<ArtifactLink> artifactLinkCollection)
          Removes all ArtifactLink objects from the collection.
 
Methods inherited from class com.atlassian.bamboo.persistence.BambooHibernateObjectDao
executeReturnLong, findById, findById
 
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, updateModificationData
 
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
 
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, refresh, remove, replicate, save, saveRaw
 

Constructor Detail

ArtifactLinkHibernateDao

public ArtifactLinkHibernateDao()
Method Detail

getPersistentClass

public java.lang.Class getPersistentClass()
Specified by:
getPersistentClass in interface bucket.core.persistence.ObjectDao

removeAll

public void removeAll(@NotNull
                      java.util.Collection<ArtifactLink> artifactLinkCollection)
Description copied from interface: ArtifactLinkDao
Removes all ArtifactLink objects from the collection.

Specified by:
removeAll in interface ArtifactLinkDao
Parameters:
artifactLinkCollection - ArtifactLink objects to be removed.

findArtifactLinks

@NotNull
public java.util.Collection<ArtifactLink> findArtifactLinks(@NotNull
                                                                    java.lang.String label,
                                                                    @NotNull
                                                                    ResultsSummary resultsSummary)
Specified by:
findArtifactLinks in interface ArtifactLinkDao

findArtifactLink

public ArtifactLink findArtifactLink(@NotNull
                                     java.lang.String label,
                                     @NotNull
                                     ResultsSummary resultsSummary)
Specified by:
findArtifactLink in interface ArtifactLinkDao

getArtifactLinks

@NotNull
public java.util.Collection<ArtifactLink> getArtifactLinks(@NotNull
                                                                   ResultsSummary resultsSummary,
                                                                   @Nullable
                                                                   java.lang.String linkType)
Description copied from interface: ArtifactLinkDao
Gets all the ArtifactLinks for the given ResultsSummary and optionally ArtifactLink.getLinkType()

Specified by:
getArtifactLinks in interface ArtifactLinkDao
Returns:
artifactLinks


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