public class ImportUploadReceiver extends Object implements com.vaadin.ui.Upload.Receiver, com.vaadin.ui.Upload.FinishedListener, ModelDataJsonConstants
Modifier and Type | Field and Description |
---|---|
protected String |
fileName |
protected I18nManager |
i18nManager |
protected Model |
modelData |
protected NotificationManager |
notificationManager |
protected ByteArrayOutputStream |
outputStream |
protected RepositoryService |
repositoryService |
protected boolean |
validFile |
protected ViewManager |
viewManager |
MODEL_DESCRIPTION, MODEL_ID, MODEL_NAME, MODEL_REVISION
Constructor and Description |
---|
ImportUploadReceiver() |
Modifier and Type | Method and Description |
---|---|
protected void |
deployUploadedFile() |
OutputStream |
receiveUpload(String filename,
String mimeType) |
protected void |
showUploadedDeployment() |
void |
uploadFinished(com.vaadin.ui.Upload.FinishedEvent event) |
protected transient RepositoryService repositoryService
protected I18nManager i18nManager
protected NotificationManager notificationManager
protected ViewManager viewManager
protected ByteArrayOutputStream outputStream
protected String fileName
protected boolean validFile
protected Model modelData
public OutputStream receiveUpload(String filename, String mimeType)
receiveUpload
in interface com.vaadin.ui.Upload.Receiver
public void uploadFinished(com.vaadin.ui.Upload.FinishedEvent event)
uploadFinished
in interface com.vaadin.ui.Upload.FinishedListener
protected void deployUploadedFile()
protected void showUploadedDeployment()
Copyright © 2016 Alfresco. All rights reserved.