public class ArtifactLinkHibernateDao extends BambooHibernateObjectDao implements ArtifactLinkDao
Constructor and Description |
---|
ArtifactLinkHibernateDao() |
Modifier and Type | Method and Description |
---|---|
Collection<ArtifactLink> |
findArtifactLinks(String label,
ResultsSummary resultsSummary) |
Collection<ArtifactLink> |
findArtifactsByChainResultKey(PlanResultKey chainResultKey)
Gets all the
ArtifactLink s for the given PlanResultKey |
Collection<ArtifactLink> |
getArtifactLinks(ResultsSummary resultsSummary,
String linkType)
|
Class |
getPersistentClass() |
void |
removeAll(Collection<ArtifactLink> artifactLinkCollection)
Removes all ArtifactLink objects from the collection.
|
long |
scrollArtifactLinksForExport(Consumer<ArtifactLink> consumer)
Scroll through all ArtifactLink records and pass them to consumer
|
findAll, findAllSorted, findById, findById, refresh, remove, replicate, save, saveRaw, setIndexer, 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 Collection<ArtifactLink> artifactLinkCollection)
ArtifactLinkDao
removeAll
in interface ArtifactLinkDao
artifactLinkCollection
- ArtifactLink objects to be removed.@NotNull public Collection<ArtifactLink> findArtifactLinks(@NotNull String label, @NotNull ResultsSummary resultsSummary)
findArtifactLinks
in interface ArtifactLinkDao
@NotNull public Collection<ArtifactLink> getArtifactLinks(@NotNull ResultsSummary resultsSummary, @Nullable String linkType)
ArtifactLinkDao
getArtifactLinks
in interface ArtifactLinkDao
@NotNull public Collection<ArtifactLink> findArtifactsByChainResultKey(@NotNull PlanResultKey chainResultKey)
ArtifactLinkDao
ArtifactLink
s for the given PlanResultKey
findArtifactsByChainResultKey
in interface ArtifactLinkDao
public long scrollArtifactLinksForExport(@NotNull Consumer<ArtifactLink> consumer)
ArtifactLinkDao
scrollArtifactLinksForExport
in interface ArtifactLinkDao
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.