Interface ArtifactLinkDao

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

public interface ArtifactLinkDao extends BambooObjectDao
  • Method Details

    • 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)
      Gets all the ArtifactLinks for the given ResultsSummary and optionally Artifact.getLinkType()
      Parameters:
      resultsSummary -
      linkType -
      Returns:
      artifactLinks
    • findArtifactsByChainResultKey

      @NotNull @NotNull Collection<ArtifactLink> findArtifactsByChainResultKey(@NotNull @NotNull PlanResultKey chainResultKey)
      Gets all the ArtifactLinks for the given PlanResultKey
      Parameters:
      chainResultKey -
    • scrollArtifactLinksForExport

      long scrollArtifactLinksForExport(@NotNull @NotNull Consumer<ArtifactLink> consumer)
      Scroll through all ArtifactLink records and pass them to consumer