Class TransferReportGet

    • Constructor Detail

      • TransferReportGet

        public TransferReportGet()
        Deprecated.
    • Method Detail

      • setDictionaryService

        public void setDictionaryService​(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​(ContentStreamer contentStreamer)
        Deprecated.
        Parameters:
        contentStreamer -
      • executeTransfer

        protected File executeTransfer​(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,
                                                 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,
                                                  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,
                                                  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