Package com.atlassian.confluence.pages
Class AttachmentStatisticsDTO
- java.lang.Object
-
- com.atlassian.confluence.pages.AttachmentStatisticsDTO
-
public class AttachmentStatisticsDTO extends Object
Simple class to store statistics data fetched byAttachmentDao.getAttachmentStatistics()
- Since:
- 6.11.0
-
-
Constructor Summary
Constructors Constructor Description AttachmentStatisticsDTO(int allAttachmentsCount, int currentAttachmentsCount, long allAttachmentsFileSize, long currentAttachmentsFileSize, long deletedAttachmentsFileSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAllAttachmentsCount()
long
getAllAttachmentsFileSize()
int
getCurrentAttachmentsCount()
long
getCurrentAttachmentsFileSize()
long
getDeletedAttachmentsFileSize()
-
-
-
Method Detail
-
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
-
-