Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.filemanager
Interface FileManageActions

All Superinterfaces:
SimpleFileManager
All Known Implementing Classes:
FileManageActionsBean

public interface FileManageActions
extends SimpleFileManager


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

Method Detail

display

String display()
Specified by:
display in interface SimpleFileManager

addFile

String addFile()
               throws ClientException
Adds a new File.

Returns:
the page that displays the documents
Throws:
ClientException

setFileUpload

void setFileUpload(InputStream fileUpload)

getFileUpload

InputStream getFileUpload()

setFileName

void setFileName(String fileName)

getFileName

String getFileName()

addFolderFromPlugin

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

addFileFromPlugin

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

canWrite

@WebRemote
boolean canWrite()
                 throws ClientException
Throws:
ClientException

moveWithId

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

copyWithId

@WebRemote
String copyWithId(String docId)
                  throws ClientException
Throws:
ClientException

pasteWithId

@WebRemote
String pasteWithId(String docId)
                   throws ClientException
Throws:
ClientException

removeUploadedFile

@WebRemote
String removeUploadedFile(String fileName)
                          throws ClientException
Throws:
ClientException

removeAllUploadedFile

@WebRemote
String removeAllUploadedFile()
                             throws ClientException
Throws:
ClientException

removeSingleUploadedFile

@WebRemote
String removeSingleUploadedFile()
                                throws ClientException
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.