public interface FileManageActions extends SimpleFileManager
Modifier and Type | Method and Description |
---|---|
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) |
addBinaryFileFromPlugin, addBinaryFileFromPlugin
String display()
display
in interface SimpleFileManager
String addFile() throws ClientException
ClientException
void setFileUpload(InputStream fileUpload)
InputStream getFileUpload()
void setFileName(String fileName)
String getFileName()
@WebRemote String addFolderFromPlugin(String fullName, String morePath) throws ClientException
ClientException
@WebRemote String addFileFromPlugin(String content, String mimetype, String fullName, String morePath, Boolean UseBase64) throws ClientException
ClientException
@WebRemote boolean canWrite() throws ClientException
ClientException
@WebRemote String moveWithId(String docId, String containerId) throws ClientException
ClientException
@WebRemote String copyWithId(String docId) throws ClientException
ClientException
@WebRemote String pasteWithId(String docId) throws ClientException
ClientException
@WebRemote String removeUploadedFile(String fileName) throws ClientException
ClientException
@WebRemote String removeAllUploadedFile() throws ClientException
ClientException
@WebRemote String removeSingleUploadedFile() throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.