Class AttachmentStatisticsDTO

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

public class AttachmentStatisticsDTO extends Object
Simple class to store statistics data fetched by AttachmentDao.getAttachmentStatistics()
Since:
6.11.0
  • Constructor Details

    • AttachmentStatisticsDTO

      public AttachmentStatisticsDTO(int allAttachmentsCount, int currentAttachmentsCount, long allAttachmentsFileSize, long currentAttachmentsFileSize, long deletedAttachmentsFileSize)
  • Method Details

    • getAllAttachmentsCount

      public int getAllAttachmentsCount()
    • getCurrentAttachmentsCount

      public int getCurrentAttachmentsCount()
    • getAllAttachmentsFileSize

      public long getAllAttachmentsFileSize()
    • getCurrentAttachmentsFileSize

      public long getCurrentAttachmentsFileSize()
    • getDeletedAttachmentsFileSize

      public long getDeletedAttachmentsFileSize()
      Returns:
      the cumulative size of all deleted attachments. The sizes of historical versions of deleted attachments are included.
      Since:
      7.14