@Named @SessionScoped public class FileUploadController extends Object implements Serializable
| Constructor and Description |
|---|
FileUploadController() |
| Modifier and Type | Method and Description |
|---|---|
List<FileData> |
getUploades()
returns the list of uploaded files
|
void |
removeAttachedFile(org.imixs.workflow.ItemCollection workitem,
String aFilename)
Removes a attached file object from the workitem.
|
void |
reset()
clears the current uploaded files from the session param
IMIXS_FILEDATA_LIST
|
void |
updateWorkitem(org.imixs.workflow.ItemCollection workitem)
The method adds all new uploaded files into the WorkItem property
'$file'.
|
public void updateWorkitem(org.imixs.workflow.ItemCollection workitem)
workitem - - workItem to store the uploaded filespublic void removeAttachedFile(org.imixs.workflow.ItemCollection workitem,
String aFilename)
sFilename - - filename to be removedpublic void reset()
Copyright © 2006–2018 Imixs Software Solutions GmbH. All rights reserved.