Class TransferReportGet

    • Field Detail

      • ddService

        protected org.alfresco.service.cmr.dictionary.DictionaryService ddService
        Deprecated.
      • contentStreamer

        protected org.alfresco.repo.web.scripts.content.ContentStreamer contentStreamer
        Deprecated.
    • Constructor Detail

      • TransferReportGet

        public TransferReportGet()
        Deprecated.
    • Method Detail

      • setDictionaryService

        public void setDictionaryService​(org.alfresco.service.cmr.dictionary.DictionaryService ddService)
        Deprecated.
        Sets the DictionaryService instance
        Parameters:
        ddService - The DictionaryService instance
      • setDispositionService

        public void setDispositionService​(DispositionService dispositionService)
        Deprecated.
        Sets the disposition service
        Parameters:
        dispositionService - the disposition service
      • setContentStreamer

        public void setContentStreamer​(org.alfresco.repo.web.scripts.content.ContentStreamer contentStreamer)
        Deprecated.
        Parameters:
        contentStreamer -
      • executeTransfer

        protected File executeTransfer​(org.alfresco.service.cmr.repository.NodeRef transferNode,
                                       org.springframework.extensions.webscripts.WebScriptRequest req,
                                       org.springframework.extensions.webscripts.WebScriptResponse res,
                                       org.springframework.extensions.webscripts.Status status,
                                       org.springframework.extensions.webscripts.Cache cache)
                                throws IOException
        Deprecated.
        Description copied from class: BaseTransferWebScript
        Abstract method subclasses implement to perform the actual logic required.
        Specified by:
        executeTransfer in class BaseTransferWebScript
        Parameters:
        transferNode - The transfer node
        req - The request
        res - The response
        status - Status object
        cache - Cache object
        Returns:
        File object representing the file containing the JSON of the report
        Throws:
        IOException
      • generateTransferItemsJSON

        protected void generateTransferItemsJSON​(Writer writer,
                                                 org.alfresco.service.cmr.repository.NodeRef[] itemsToTransfer)
                                          throws IOException
        Deprecated.
        Generates the JSON to represent the given NodeRefs
        Parameters:
        writer - Writer to write to
        itemsToTransfer - NodeRefs being transferred
        Throws:
        IOException
      • generateTransferFolderJSON

        protected void generateTransferFolderJSON​(Writer writer,
                                                  org.alfresco.service.cmr.repository.NodeRef folderNode)
                                           throws IOException
        Deprecated.
        Generates the JSON to represent the given folder.
        Parameters:
        writer - Writer to write to
        folderNode - Folder being transferred
        Throws:
        IOException
      • generateTransferRecordJSON

        protected void generateTransferRecordJSON​(Writer writer,
                                                  org.alfresco.service.cmr.repository.NodeRef recordNode)
                                           throws IOException
        Deprecated.
        Generates the JSON to represent the given record.
        Parameters:
        writer - Writer to write to
        recordNode - Record being transferred
        Throws:
        IOException