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)
          Deprecated. since 4.4 use #findArtifactLinks
 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()
 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.

findArtifactLinks

@NotNull
java.util.Collection<ArtifactLink> findArtifactLinks(@NotNull
                                                             java.lang.String label,
                                                             @NotNull
                                                             ResultsSummary resultsSummary)

findArtifactLink

@Deprecated
@Nullable
ArtifactLink findArtifactLink(@NotNull
                                                  java.lang.String label,
                                                  @NotNull
                                                  ResultsSummary resultsSummary)
Deprecated. since 4.4 use #findArtifactLinks


getArtifactLinks

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

Parameters:
resultsSummary -
linkType -
Returns:
artifactLinks


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