Package com.atlassian.confluence.pages
Class AttachmentStatisticsDTO
java.lang.Object
com.atlassian.confluence.pages.AttachmentStatisticsDTO
Simple class to store statistics data fetched by
AttachmentDao.getAttachmentStatistics()
- Since:
- 6.11.0
-
Constructor Summary
ConstructorDescriptionAttachmentStatisticsDTO
(int allAttachmentsCount, int currentAttachmentsCount, long allAttachmentsFileSize, long currentAttachmentsFileSize, long deletedAttachmentsFileSize) -
Method Summary
Modifier and TypeMethodDescriptionint
long
int
long
long
-
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
-