Class LinkedJiraIssueHibernateDao

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

public class LinkedJiraIssueHibernateDao extends BambooHibernateObjectDao<LinkedJiraIssue> implements LinkedJiraIssueDao
  • Constructor Details

    • LinkedJiraIssueHibernateDao

      public LinkedJiraIssueHibernateDao()
  • Method Details

    • scrollJiraIssuesForExport

      public long scrollJiraIssuesForExport(@NotNull @NotNull Consumer<LinkedJiraIssue> consumer)
      Description copied from interface: LinkedJiraIssueDao
      Scroll through and execute function for each of LinkedJiraIssue Objects passed to function are not fully initialized. Collections are empty and related objects have only id set.
      Specified by:
      scrollJiraIssuesForExport in interface LinkedJiraIssueDao
      Parameters:
      consumer - consumer that will consume each of the LinkedJiraIssues
      Returns:
      number of traversed rows
    • getLinkedJiraIssuesForBuildNumberRange

      public Collection<LinkedJiraIssue> getLinkedJiraIssuesForBuildNumberRange(@NotNull @NotNull PlanKey planKey, int firstBuildNumber, int lastBuildNumber)
      Description copied from interface: LinkedJiraIssueDao
      Find and retrieve all jira issues related to build results from specified range. Once off results are skipped.
      Specified by:
      getLinkedJiraIssuesForBuildNumberRange in interface LinkedJiraIssueDao
      Returns: