@Name(value="fileUploadHolder") @Scope(value=PAGE) public class UploadItemHolder extends Object implements Serializable
FileManageActions
.Modifier and Type | Field and Description |
---|---|
protected String |
fileName |
protected InputStream |
fileUpload |
protected File |
tempFile |
protected Collection<NxUploadedFile> |
uploadedFiles |
Constructor and Description |
---|
UploadItemHolder() |
Modifier and Type | Method and Description |
---|---|
String |
getFileName() |
InputStream |
getFileUpload() |
File |
getTempFile() |
Collection<NxUploadedFile> |
getUploadedFiles() |
void |
reset() |
void |
setFileName(String fileName) |
void |
setFileUpload(InputStream fileUpload) |
void |
setTempFile(File tempFile) |
void |
setUploadedFiles(Collection<NxUploadedFile> uploadedFiles) |
protected Collection<NxUploadedFile> uploadedFiles
protected InputStream fileUpload
public UploadItemHolder()
public File getTempFile()
public void setTempFile(File tempFile)
public String getFileName()
public void setFileName(String fileName)
public Collection<NxUploadedFile> getUploadedFiles()
public void setUploadedFiles(Collection<NxUploadedFile> uploadedFiles)
public InputStream getFileUpload()
public void setFileUpload(InputStream fileUpload)
@Observer(value={"documentSelectionChanged","documentChanged"}, create=false) @BypassInterceptors public void reset()
Copyright © 2018 Nuxeo. All rights reserved.