Class BeCPGCreateDownloadArchiveAction.SizeEstimator

java.lang.Object
fr.becpg.repo.download.BaseExporter
fr.becpg.repo.download.BeCPGCreateDownloadArchiveAction.SizeEstimator
All Implemented Interfaces:
org.alfresco.service.cmr.view.Exporter
Enclosing class:
BeCPGCreateDownloadArchiveAction

private static class BeCPGCreateDownloadArchiveAction.SizeEstimator extends BaseExporter
  • Field Details

    • size

      private long size
    • fileCount

      private long fileCount
  • Constructor Details

    • SizeEstimator

      SizeEstimator(org.alfresco.service.cmr.coci.CheckOutCheckInService checkOutCheckInService, org.alfresco.service.cmr.repository.NodeService nodeService)
      Parameters:
      checkOutCheckInService - CheckOutCheckInService
      nodeService - NodeService
  • Method Details

    • contentImpl

      protected void contentImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName property, InputStream content, org.alfresco.service.cmr.repository.ContentData contentData, int index)
      Description copied from class: BaseExporter
      Template method for actually dealing with the content. Called by the content method, after filtering for working copies.
      Specified by:
      contentImpl in class BaseExporter
      Parameters:
      nodeRef - a NodeRef object
      property - a QName object
      content - a InputStream object
      contentData - a ContentData object
      index - a int
    • getSize

      public long getSize()
    • getFileCount

      public long getFileCount()