Interface ArchivingDao
- All Known Implementing Classes:
DefaultArchivingDao,ZduAwareArchivingDao
public interface ArchivingDao
-
Method Summary
Modifier and TypeMethodDescriptionlongarchiveIssuesInProject(Project project) Marks all issues in the specified project as archived in the jiraissue tablelongCounts all active (not archived) issues .longrestoreIssuesInProject(Project project) 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).
-
Method Details
-
getActiveIssueCount
long getActiveIssueCount()Counts all active (not archived) issues .- Returns:
- the number of active issues
-
archiveIssuesInProject
Marks all issues in the specified project as archived in the jiraissue table- Returns:
- thr number of archived issues
-
restoreIssuesInProject
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).- Returns:
- the number of restored issues
-