Class VcsTagDaoImpl

java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate5.support.HibernateDaoSupport
All Implemented Interfaces:
BambooObjectDao<VcsTag>, VcsTagDao, org.springframework.beans.factory.InitializingBean

public class VcsTagDaoImpl extends BambooHibernateObjectDao<VcsTag> implements VcsTagDao
  • Constructor Details

    • VcsTagDaoImpl

      public VcsTagDaoImpl()
  • Method Details

    • getAllActiveRepositoryIds

      public List<Long> getAllActiveRepositoryIds()
      Description copied from interface: VcsTagDao
      returns id values of all repositories for which tag detection is initialized
      Specified by:
      getAllActiveRepositoryIds in interface VcsTagDao
    • findByRepositoryDataId

      public List<VcsTag> findByRepositoryDataId(long repositoryDataId)
      Description copied from interface: VcsTagDao
      returns all saved tags for given repository
      Specified by:
      findByRepositoryDataId in interface VcsTagDao
    • saveAllByRepositoryDataId

      public void saveAllByRepositoryDataId(List<VcsTag> tags, long repositoryDataId, boolean replaceMode)
      Description copied from interface: VcsTagDao
      Saves new tags for a given repository. If replaceMode is true then it removes all old rows.
      Specified by:
      saveAllByRepositoryDataId in interface VcsTagDao