Class TrashRemovalStatistic


  • public class TrashRemovalStatistic
    extends Object
    Hold trash removal statistics
    Since:
    7.14.0
    • Constructor Detail

      • TrashRemovalStatistic

        public TrashRemovalStatistic()
      • TrashRemovalStatistic

        public TrashRemovalStatistic​(int purgedPageCnt,
                                     int purgedAttachmentCnt,
                                     long purgedAttachmentTotalSizeInBytes)
    • Method Detail

      • pageOrBlogDeleted

        public void pageOrBlogDeleted​(AbstractPage deletedPageOrBlog)
      • attachmentDeleted

        public void attachmentDeleted​(List<Attachment> deletedVersions)
      • getPurgedPageCnt

        public int getPurgedPageCnt()
        Returns:
        total number (all versions) of pages and blogposts that have been deleted in a trash removal job
      • getPurgedAttachmentCnt

        public int getPurgedAttachmentCnt()
        Returns:
        total number (all versions) of attachments that have been deleted in a trash removal job
      • getPurgedAttachmentTotalSizeInBytes

        public long getPurgedAttachmentTotalSizeInBytes()
        Returns:
        total size (in bytes, all versions) of attachments that have been deleted in a trash removal job