Class CmsUploaderFormData
java.lang.Object
org.opencms.gwt.client.ui.input.upload.impl.CmsUploaderFormData
- All Implemented Interfaces:
I_CmsUploader
Form data implementation of the file uploader.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidupload(String uploadUri, String targetFolder, boolean isRootPath, String postCreateHandler, com.google.gwt.core.client.JsArray<CmsFileInfo> filesToUpload, com.google.gwt.core.client.JavaScriptObject filesToUnzip, boolean keepFileNames, I_CmsUploadDialog dialog) Sends a post request to the upload JSP.voiduploadFiles(String uploadUri, String targetFolder, boolean isRootPath, String postCreateHandler, List<CmsFileInfo> filesToUpload, List<String> filesToUnzip, boolean keepFileNames, I_CmsUploadDialog dialog) Uploads the given files to the given URI.
-
Constructor Details
-
CmsUploaderFormData
public CmsUploaderFormData()
-
-
Method Details
-
uploadFiles
public void uploadFiles(String uploadUri, String targetFolder, boolean isRootPath, String postCreateHandler, List<CmsFileInfo> filesToUpload, List<String> filesToUnzip, boolean keepFileNames, I_CmsUploadDialog dialog) Description copied from interface:I_CmsUploaderUploads the given files to the given URI.- Specified by:
uploadFilesin interfaceI_CmsUploader- Parameters:
uploadUri- the upload URItargetFolder- the target folderisRootPath- true if the target folder is given as a root pathpostCreateHandler- the post-create handler class, with parametersfilesToUpload- the files to uploadfilesToUnzip- the files to unzipkeepFileNames- don't perform filename translation on the server if this is truedialog- the dialog instance- See Also:
-
upload
protected void upload(String uploadUri, String targetFolder, boolean isRootPath, String postCreateHandler, com.google.gwt.core.client.JsArray<CmsFileInfo> filesToUpload, com.google.gwt.core.client.JavaScriptObject filesToUnzip, boolean keepFileNames, I_CmsUploadDialog dialog) Sends a post request to the upload JSP.- Parameters:
uploadUri- the URI of the JSP that performs the uploadtargetFolder- the target folder to uploadisRootPath- true if the target folder is given as a root pathpostCreateHandler- the post-create handlerfilesToUpload- the files to uploadfilesToUnzip- the file names to unzipdialog- this dialog
-