public class VcsTagDaoImpl extends BambooHibernateObjectDao<VcsTag> implements VcsTagDao
Constructor and Description |
---|
VcsTagDaoImpl() |
Modifier and Type | Method and Description |
---|---|
List<VcsTag> |
findByRepositoryDataId(long repositoryDataId)
returns all saved tags for given repository
|
List<Long> |
getAllActiveRepositoryIds()
returns id values of all repositories for which tag detection is initialized
|
void |
saveAllByRepositoryDataId(List<VcsTag> tags,
long repositoryDataId,
boolean replaceMode)
Saves new tags for a given repository.
|
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
public List<Long> getAllActiveRepositoryIds()
VcsTagDao
getAllActiveRepositoryIds
in interface VcsTagDao
public List<VcsTag> findByRepositoryDataId(long repositoryDataId)
VcsTagDao
findByRepositoryDataId
in interface VcsTagDao
public void saveAllByRepositoryDataId(List<VcsTag> tags, long repositoryDataId, boolean replaceMode)
VcsTagDao
saveAllByRepositoryDataId
in interface VcsTagDao
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.