public class ArtifactLinkHibernateDao extends BambooHibernateObjectDao implements ArtifactLinkDao
Constructor and Description |
---|
ArtifactLinkHibernateDao() |
Modifier and Type | Method and Description |
---|---|
@NotNull Collection<ArtifactLink> |
findArtifactLinks(@NotNull String label,
@NotNull ResultsSummary resultsSummary) |
@NotNull Collection<ArtifactLink> |
findArtifactsByChainResultKey(@NotNull PlanResultKey chainResultKey)
Gets all the
ArtifactLink s for the given PlanResultKey |
@NotNull Collection<ArtifactLink> |
getArtifactLinks(@NotNull ResultsSummary resultsSummary,
@Nullable String linkType)
|
Class |
getPersistentClass() |
void |
removeAll(@NotNull Collection<ArtifactLink> artifactLinkCollection)
Removes all ArtifactLink objects from the collection.
|
long |
scrollArtifactLinksForExport(@NotNull Consumer<ArtifactLink> consumer)
Scroll through all ArtifactLink records and pass them to consumer
|
findAll, findAllSorted, findById, findById, refresh, remove, replicate, save, saveRaw, updateModificationData
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findById
public Class getPersistentClass()
getPersistentClass
in interface bucket.core.persistence.ObjectDao
public void removeAll(@NotNull @NotNull Collection<ArtifactLink> artifactLinkCollection)
ArtifactLinkDao
removeAll
in interface ArtifactLinkDao
artifactLinkCollection
- ArtifactLink objects to be removed.@NotNull public @NotNull Collection<ArtifactLink> findArtifactLinks(@NotNull @NotNull String label, @NotNull @NotNull ResultsSummary resultsSummary)
findArtifactLinks
in interface ArtifactLinkDao
@NotNull public @NotNull Collection<ArtifactLink> getArtifactLinks(@NotNull @NotNull ResultsSummary resultsSummary, @Nullable @Nullable String linkType)
ArtifactLinkDao
getArtifactLinks
in interface ArtifactLinkDao
@NotNull public @NotNull Collection<ArtifactLink> findArtifactsByChainResultKey(@NotNull @NotNull PlanResultKey chainResultKey)
ArtifactLinkDao
ArtifactLink
s for the given PlanResultKey
findArtifactsByChainResultKey
in interface ArtifactLinkDao
public long scrollArtifactLinksForExport(@NotNull @NotNull Consumer<ArtifactLink> consumer)
ArtifactLinkDao
scrollArtifactLinksForExport
in interface ArtifactLinkDao
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.