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 TypeMethodDescriptionlong
archiveIssuesInProject
(Project project) Marks all issues in the specified project as archived in the jiraissue tablelong
Counts all active (not archived) issues .long
restoreIssuesInProject
(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:ArchivingDao
Counts all active (not archived) issues .- Specified by:
getActiveIssueCount
in interfaceArchivingDao
- Returns:
- the number of active issues
-
archiveIssuesInProject
Description copied from interface:ArchivingDao
Marks all issues in the specified project as archived in the jiraissue table- Specified by:
archiveIssuesInProject
in interfaceArchivingDao
- Returns:
- thr number of archived issues
-
restoreIssuesInProject
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 interfaceArchivingDao
- Returns:
- the number of restored issues
-