Class ZduAwareArchivingDao

java.lang.Object
com.atlassian.jira.issue.managers.ZduAwareArchivingDao
All Implemented Interfaces:
ArchivingDao

public class ZduAwareArchivingDao extends Object implements ArchivingDao
  • Constructor Details

  • Method Details

    • getActiveIssueCount

      public long getActiveIssueCount()
      Description copied from interface: ArchivingDao
      Counts all active (not archived) issues .
      Specified by:
      getActiveIssueCount in interface ArchivingDao
      Returns:
      the number of active issues
    • archiveIssuesInProject

      public long archiveIssuesInProject(Project project)
      Description copied from interface: ArchivingDao
      Marks all issues in the specified project as archived in the jiraissue table
      Specified by:
      archiveIssuesInProject in interface ArchivingDao
      Returns:
      thr number of archived issues
    • restoreIssuesInProject

      public long restoreIssuesInProject(Project project)
      Description copied from interface: ArchivingDao
      Marks all issues in the specified project as active, except the ones that had been individually marked as archived (the ones that have archivedby and archiveddate set).
      Specified by:
      restoreIssuesInProject in interface ArchivingDao
      Returns:
      the number of restored issues