@Transactional
public interface TrackingEntryDao
void saveTrackingEntry(@NotNull AOTrackingEntry trackingEntry)
trackingEntry
- to save@NotNull AOTrackingEntry createTrackingEntry(long planId, boolean active)
planId
- plan tracking entry belongs toactive
- whether the tracking entry currently active or not@Nullable AOTrackingEntry getTrackingEntryById(int id)
id
- of tracking entry to find@Nullable AOTrackingEntry getTrackingEntryForResult(Long resultId)
AOTrackingEntry addUser(AOTrackingEntry entry, String username, @Nullable String userWhoUpdated)
AOTrackingEntry addResult(AOTrackingEntry entry, long resultId, int buildNumber)
void removeUser(AOTrackingUser responsible)
void removeResult(AOTrackingResult result)
void removeTrackingEntry(AOTrackingEntry entry)
AOTrackingEntry getActiveTrackingEntryForPlan(long id) throws MultipleActiveTrackingEntryException
id
- of the planMultipleActiveTrackingEntryException
- if more than one active tracking entry is foundvoid removeTrackingForPlan(long idOfDeletedItem)
void removeTrackingForResult(long idOfDeletedItem)
void closeAllTrackingEntries(long planid)
List<AOTrackingEntry> getActiveTrackingEntries()
List<AOTrackingEntry> getActiveTrackingEntriesForUser(String username)
void removeAllUsers(AOTrackingEntry entry)
AOTrackingEntry getTrackingEntryWithBuildNumber(long planId, int buildNumber)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.