Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.webapp.filemanager
Interface FileManageActions

All Superinterfaces:
SimpleFileManager
All Known Implementing Classes:
FileManageActionsBean

public interface FileManageActions
extends SimpleFileManager


Method Summary
 java.lang.String addFile()
          Adds a new File.
 java.lang.String addFileFromPlugin(java.lang.String content, java.lang.String mimetype, java.lang.String fullName, java.lang.String morePath, java.lang.Boolean UseBase64)
           
 java.lang.String addFolderFromPlugin(java.lang.String fullName, java.lang.String morePath)
           
 boolean canWrite()
           
 java.lang.String copyWithId(java.lang.String docId)
           
 java.lang.String display()
           
 java.lang.String getFileName()
           
 java.io.InputStream getFileUpload()
           
 java.lang.String moveWithId(java.lang.String docId, java.lang.String containerId)
           
 java.lang.String pasteWithId(java.lang.String docId)
           
 java.lang.String removeAllUploadedFile()
           
 java.lang.String removeSingleUploadedFile()
           
 java.lang.String removeUploadedFile(java.lang.String fileName)
           
 void setFileName(java.lang.String fileName)
           
 void setFileUpload(java.io.InputStream fileUpload)
           
 
Methods inherited from interface org.nuxeo.ecm.platform.ui.web.api.SimpleFileManager
addBinaryFileFromPlugin, addBinaryFileFromPlugin
 

Method Detail

display

java.lang.String display()
Specified by:
display in interface SimpleFileManager

addFile

java.lang.String addFile()
                         throws ClientException
Adds a new File.

Returns:
the page that displays the documents
Throws:
ClientException

setFileUpload

void setFileUpload(java.io.InputStream fileUpload)

getFileUpload

java.io.InputStream getFileUpload()

setFileName

void setFileName(java.lang.String fileName)

getFileName

java.lang.String getFileName()

addFolderFromPlugin

@WebRemote
java.lang.String addFolderFromPlugin(java.lang.String fullName,
                                               java.lang.String morePath)
                                     throws ClientException
Throws:
ClientException

addFileFromPlugin

@WebRemote
java.lang.String addFileFromPlugin(java.lang.String content,
                                             java.lang.String mimetype,
                                             java.lang.String fullName,
                                             java.lang.String morePath,
                                             java.lang.Boolean UseBase64)
                                   throws ClientException
Throws:
ClientException

canWrite

@WebRemote
boolean canWrite()
                 throws ClientException
Throws:
ClientException

moveWithId

@WebRemote
java.lang.String moveWithId(java.lang.String docId,
                                      java.lang.String containerId)
                            throws ClientException
Throws:
ClientException

copyWithId

@WebRemote
java.lang.String copyWithId(java.lang.String docId)
                            throws ClientException
Throws:
ClientException

pasteWithId

@WebRemote
java.lang.String pasteWithId(java.lang.String docId)
                             throws ClientException
Throws:
ClientException

removeUploadedFile

@WebRemote
java.lang.String removeUploadedFile(java.lang.String fileName)
                                    throws ClientException
Throws:
ClientException

removeAllUploadedFile

@WebRemote
java.lang.String removeAllUploadedFile()
                                       throws ClientException
Throws:
ClientException

removeSingleUploadedFile

@WebRemote
java.lang.String removeSingleUploadedFile()
                                          throws ClientException
Throws:
ClientException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.