Interface ArtifactLinkDao
-
- All Superinterfaces:
BambooObjectDao
,bucket.core.persistence.ObjectDao
- All Known Implementing Classes:
ArtifactLinkHibernateDao
public interface ArtifactLinkDao extends BambooObjectDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Collection<ArtifactLink>
findArtifactLinks(@NotNull String label, @NotNull ResultsSummary resultsSummary)
@NotNull Collection<ArtifactLink>
findArtifactsByChainResultKey(@NotNull PlanResultKey chainResultKey)
Gets all theArtifactLink
s for the givenPlanResultKey
@NotNull Collection<ArtifactLink>
getArtifactLinks(@NotNull ResultsSummary resultsSummary, @Nullable String linkType)
void
removeAll(@NotNull Collection<ArtifactLink> artifactLinkCollection)
Removes all ArtifactLink objects from the collection.void
removeById(long artifactLinkId)
Remove artifact link by its id.long
scrollArtifactLinksForExport(@NotNull Consumer<ArtifactLink> consumer)
Scroll through all ArtifactLink records and pass them to consumer-
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
-
-
-
-
Method Detail
-
removeAll
void removeAll(@NotNull @NotNull Collection<ArtifactLink> artifactLinkCollection)
Removes all ArtifactLink objects from the collection.- Parameters:
artifactLinkCollection
- ArtifactLink objects to be removed.
-
removeById
void removeById(long artifactLinkId)
Remove artifact link by its id.- Parameters:
artifactLinkId
-- Since:
- 9.3
-
findArtifactLinks
@NotNull @NotNull Collection<ArtifactLink> findArtifactLinks(@NotNull @NotNull String label, @NotNull @NotNull ResultsSummary resultsSummary)
-
getArtifactLinks
@NotNull @NotNull Collection<ArtifactLink> getArtifactLinks(@NotNull @NotNull ResultsSummary resultsSummary, @Nullable @Nullable String linkType)
- Parameters:
resultsSummary
-linkType
-- Returns:
- artifactLinks
-
findArtifactsByChainResultKey
@NotNull @NotNull Collection<ArtifactLink> findArtifactsByChainResultKey(@NotNull @NotNull PlanResultKey chainResultKey)
Gets all theArtifactLink
s for the givenPlanResultKey
- Parameters:
chainResultKey
-
-
scrollArtifactLinksForExport
long scrollArtifactLinksForExport(@NotNull @NotNull Consumer<ArtifactLink> consumer)
Scroll through all ArtifactLink records and pass them to consumer
-
-