Class BlogPostStatisticsDTO

java.lang.Object
com.atlassian.confluence.pages.BlogPostStatisticsDTO

public class BlogPostStatisticsDTO extends Object
Simple class to store statistics data fetched by BlogPostDao.getBlogPostStatistics()
Since:
6.11.0
  • 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