public class DeploymentUploadReceiver extends Object implements com.vaadin.ui.Upload.Receiver, com.vaadin.ui.Upload.FinishedListener
Modifier and Type | Field and Description |
---|---|
protected Deployment |
deployment |
protected String |
fileName |
protected I18nManager |
i18nManager |
protected NotificationManager |
notificationManager |
protected ByteArrayOutputStream |
outputStream |
protected RepositoryService |
repositoryService |
protected boolean |
validFile |
protected ViewManager |
viewManager |
Constructor and Description |
---|
DeploymentUploadReceiver() |
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 Deployment deployment
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.