Package com.atlassian.confluence.pages
Class BlogPostStatisticsDTO
java.lang.Object
com.atlassian.confluence.pages.BlogPostStatisticsDTO
Simple class to store statistics data fetched by
BlogPostDao.getBlogPostStatistics()
- Since:
- 6.11.0
-
Constructor Summary
ConstructorDescriptionBlogPostStatisticsDTO
(int allBlogsCount, int currentBlogsCount, int draftBlogsCount, int blogsWithUnpublishedChangesCount, int deletedBlogsCount) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int
-
Constructor Details
-
BlogPostStatisticsDTO
public BlogPostStatisticsDTO(int allBlogsCount, int currentBlogsCount, int draftBlogsCount, int blogsWithUnpublishedChangesCount, int deletedBlogsCount)
-
-
Method Details
-
getAllBlogsCount
public int getAllBlogsCount() -
getCurrentBlogsCount
public int getCurrentBlogsCount() -
getDraftBlogsCount
public int getDraftBlogsCount() -
getBlogsWithUnpublishedChangesCount
public int getBlogsWithUnpublishedChangesCount() -
getDeletedBlogsCount
public int getDeletedBlogsCount()- Returns:
- the count of all deleted blogs. Historical versions of deleted blogs are not counted.
- Since:
- 7.14
-