com.atlassian.bamboo.build.artifact
Interface ArtifactLinkDao

All Superinterfaces:
BambooObjectDao, bucket.core.persistence.ObjectDao
All Known Implementing Classes:
ArtifactLinkHibernateDao

public interface ArtifactLinkDao
extends BambooObjectDao


Method Summary
 ArtifactLink findArtifactLink(java.lang.String label, ResultsSummary resultsSummary)
           
 java.util.Collection<ArtifactLink> getArtifactLinksForLinkType(ResultsSummary resultsSummary, java.lang.String linkType)
          Gets all the ArtifactLinks for the given ResultsSummary and ArtifactLink.getLinkType()
 void removeAll(java.util.Collection<ArtifactLink> artifactLinkCollection)
          Removes all ArtifactLink objects from the collection.
 
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

removeAll

void removeAll(@NotNull
               java.util.Collection<ArtifactLink> artifactLinkCollection)
Removes all ArtifactLink objects from the collection.

Parameters:
artifactLinkCollection - ArtifactLink objects to be removed.

findArtifactLink

ArtifactLink findArtifactLink(@NotNull
                              java.lang.String label,
                              @NotNull
                              ResultsSummary resultsSummary)

getArtifactLinksForLinkType

@NotNull
java.util.Collection<ArtifactLink> getArtifactLinksForLinkType(@NotNull
                                                                       ResultsSummary resultsSummary,
                                                                       @NotNull
                                                                       java.lang.String linkType)
Gets all the ArtifactLinks for the given ResultsSummary and ArtifactLink.getLinkType()

Parameters:
resultsSummary -
linkType -
Returns:
artifactLinks


Copyright © 2012 Atlassian. All Rights Reserved.