Class ZduAwareArchivingDao
java.lang.Object
com.atlassian.jira.issue.managers.ZduAwareArchivingDao
- All Implemented Interfaces:
ArchivingDao
-
Constructor Summary
ConstructorsConstructorDescriptionZduAwareArchivingDao(OfBizDelegator ofBizDelegator, FeatureManager featureManager, ProjectManager projectManager, ArchivingDao delegate) -
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).
-
Constructor Details
-
ZduAwareArchivingDao
public ZduAwareArchivingDao(OfBizDelegator ofBizDelegator, FeatureManager featureManager, ProjectManager projectManager, ArchivingDao delegate)
-
-
Method Details
-
getActiveIssueCount
public long getActiveIssueCount()Description copied from interface:ArchivingDaoCounts all active (not archived) issues .- Specified by:
getActiveIssueCountin interfaceArchivingDao- Returns:
- the number of active issues
-
archiveIssuesInProject
Description copied from interface:ArchivingDaoMarks all issues in the specified project as archived in the jiraissue table- Specified by:
archiveIssuesInProjectin interfaceArchivingDao- Returns:
- thr number of archived issues
-
restoreIssuesInProject
Description copied from interface:ArchivingDaoMarks 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:
restoreIssuesInProjectin interfaceArchivingDao- Returns:
- the number of restored issues
-