public class UploadFilesCommand extends Object implements fr.toutatice.portail.cms.nuxeo.api.INuxeoCommand
INuxeoCommand| Constructor and Description |
|---|
UploadFilesCommand(String parentId,
List<org.apache.commons.fileupload.FileItem> fileItems)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(org.nuxeo.ecm.automation.client.Session nuxeoSession) |
org.nuxeo.ecm.automation.client.model.Blobs |
getBlobsList(List<org.apache.commons.fileupload.FileItem> fileItems)
Build a blobs list from input files items.
|
String |
getId() |
public Object execute(org.nuxeo.ecm.automation.client.Session nuxeoSession) throws Exception
execute in interface fr.toutatice.portail.cms.nuxeo.api.INuxeoCommandExceptionpublic org.nuxeo.ecm.automation.client.model.Blobs getBlobsList(List<org.apache.commons.fileupload.FileItem> fileItems) throws IOException
fileItems - IOExceptionpublic String getId()
getId in interface fr.toutatice.portail.cms.nuxeo.api.INuxeoCommandCopyright © 2023 OSIVIA. All rights reserved.