Class ReportContentServiceWrapper

java.lang.Object
fr.becpg.repo.report.engine.ReportContentServiceWrapper
All Implemented Interfaces:
org.alfresco.service.cmr.repository.ContentService

public class ReportContentServiceWrapper extends Object implements org.alfresco.service.cmr.repository.ContentService
Override ou ContentReader ExporterComponent
Version:
$Id: $Id
Author:
matthieu
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.alfresco.service.cmr.repository.ContentService
     
     
    private static org.apache.commons.logging.Log
     
    private org.alfresco.service.cmr.repository.NodeService
     
    private org.alfresco.service.transaction.TransactionService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.alfresco.service.cmr.repository.ContentReader
    getRawReader(String contentUrl)
    org.alfresco.service.cmr.repository.ContentReader
    getReader(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName)
    long
    long
    org.alfresco.service.cmr.repository.ContentWriter
    org.alfresco.service.cmr.repository.ContentWriter
    getWriter(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, boolean update)
    boolean
    boolean
    isContentDirectUrlEnabled(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName)
    org.alfresco.service.cmr.repository.DirectAccessUrl
    requestContentDirectUrl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, boolean attachment, Long validFor)
    org.alfresco.service.cmr.repository.DirectAccessUrl
    requestContentDirectUrl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, boolean attachment, Long validFor, String fileName)
    void
    setContentService(org.alfresco.service.cmr.repository.ContentService contentService)
    Setter for the field contentService.
    void
    Setter for the field entityReportService.
    void
    setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
    Setter for the field nodeService.
    void
    setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
    Setter for the field transactionService.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.alfresco.service.cmr.repository.ContentService

    getStorageProperties, isContentDirectUrlEnabled, requestContentDirectUrl, requestContentDirectUrl, requestContentDirectUrl, requestRestoreContentFromArchive, requestSendContentToArchive
  • Field Details

    • logger

      private static org.apache.commons.logging.Log logger
    • contentService

      private org.alfresco.service.cmr.repository.ContentService contentService
    • entityReportService

      private EntityReportService entityReportService
    • nodeService

      private org.alfresco.service.cmr.repository.NodeService nodeService
    • transactionService

      private org.alfresco.service.transaction.TransactionService transactionService
  • Constructor Details

    • ReportContentServiceWrapper

      public ReportContentServiceWrapper()
  • Method Details

    • setContentService

      public void setContentService(org.alfresco.service.cmr.repository.ContentService contentService)

      Setter for the field contentService.

      Parameters:
      contentService - a ContentService object.
    • setEntityReportService

      public void setEntityReportService(EntityReportService entityReportService)

      Setter for the field entityReportService.

      Parameters:
      entityReportService - a EntityReportService object.
    • setNodeService

      public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

      Setter for the field nodeService.

      Parameters:
      nodeService - a NodeService object.
    • setTransactionService

      public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)

      Setter for the field transactionService.

      Parameters:
      transactionService - a TransactionService object.
    • getStoreTotalSpace

      public long getStoreTotalSpace()
      Specified by:
      getStoreTotalSpace in interface org.alfresco.service.cmr.repository.ContentService
    • getStoreFreeSpace

      public long getStoreFreeSpace()
      Specified by:
      getStoreFreeSpace in interface org.alfresco.service.cmr.repository.ContentService
    • getRawReader

      public org.alfresco.service.cmr.repository.ContentReader getRawReader(String contentUrl)
      Specified by:
      getRawReader in interface org.alfresco.service.cmr.repository.ContentService
    • getReader

      public org.alfresco.service.cmr.repository.ContentReader getReader(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName) throws org.alfresco.service.cmr.repository.InvalidNodeRefException, org.alfresco.service.cmr.dictionary.InvalidTypeException
      Specified by:
      getReader in interface org.alfresco.service.cmr.repository.ContentService
      Throws:
      org.alfresco.service.cmr.repository.InvalidNodeRefException
      org.alfresco.service.cmr.dictionary.InvalidTypeException
    • getWriter

      public org.alfresco.service.cmr.repository.ContentWriter getWriter(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, boolean update) throws org.alfresco.service.cmr.repository.InvalidNodeRefException, org.alfresco.service.cmr.dictionary.InvalidTypeException
      Specified by:
      getWriter in interface org.alfresco.service.cmr.repository.ContentService
      Throws:
      org.alfresco.service.cmr.repository.InvalidNodeRefException
      org.alfresco.service.cmr.dictionary.InvalidTypeException
    • getTempWriter

      public org.alfresco.service.cmr.repository.ContentWriter getTempWriter()
      Specified by:
      getTempWriter in interface org.alfresco.service.cmr.repository.ContentService
    • isContentDirectUrlEnabled

      public boolean isContentDirectUrlEnabled()
      Specified by:
      isContentDirectUrlEnabled in interface org.alfresco.service.cmr.repository.ContentService
    • isContentDirectUrlEnabled

      public boolean isContentDirectUrlEnabled(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName)
      Specified by:
      isContentDirectUrlEnabled in interface org.alfresco.service.cmr.repository.ContentService
    • requestContentDirectUrl

      public org.alfresco.service.cmr.repository.DirectAccessUrl requestContentDirectUrl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, boolean attachment, Long validFor)
      Specified by:
      requestContentDirectUrl in interface org.alfresco.service.cmr.repository.ContentService
    • requestContentDirectUrl

      public org.alfresco.service.cmr.repository.DirectAccessUrl requestContentDirectUrl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName, boolean attachment, Long validFor, String fileName)
      Specified by:
      requestContentDirectUrl in interface org.alfresco.service.cmr.repository.ContentService