Package com.atlassian.bamboo.tag
Interface VcsTagDao
- All Superinterfaces:
BambooObjectDao<VcsTag>
- All Known Implementing Classes:
VcsTagDaoImpl
Dao for VcsTag entity (VCS_TAG table)
-
Method Summary
Modifier and TypeMethodDescriptionfindByRepositoryDataId
(long repositoryDataId) returns all saved tags for given repositoryreturns id values of all repositories for which tag detection is initializedvoid
saveAllByRepositoryDataId
(List<VcsTag> tags, long repositoryDataId, boolean replaceMode) Saves new tags for a given repository.Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Method Details
-
getAllActiveRepositoryIds
returns id values of all repositories for which tag detection is initialized -
findByRepositoryDataId
returns all saved tags for given repository -
saveAllByRepositoryDataId
Saves new tags for a given repository. If replaceMode is true then it removes all old rows.- Parameters:
tags
-repositoryDataId
-replaceMode
-
-