|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imixs.workflow.util.ItemCollectionAdapter
public class ItemCollectionAdapter
This Class adapts the Imixs ItemCollection Class for usage in a JSF Application. Using the ItemCollectionAdapter allows simplified access to attributes from a JSP/JSF page Each attribute accessed by the ItemCollectionAdapter will be added automatically to the corresponding ItemCollection Class Examples: #{myControllerMB.item['numpersonen']} #{myControllerMB.itemList['teamlist']}
| Constructor Summary | |
|---|---|
ItemCollectionAdapter()
|
|
ItemCollectionAdapter(ItemCollection acol)
|
|
| Method Summary | |
|---|---|
void |
addFile(byte[] data,
String fileName,
String contentType)
This method adds a single file to the ItemCollection. files will be stored into the property $file. |
String[] |
getFiles()
Returns a list of file names attached to the current BlobWorkitem. |
Map |
getItem()
|
ItemCollection |
getItemCollection()
|
Map |
getItemList()
|
Map |
getItemListArray()
|
void |
removeFile(String aFilename)
This method removes a single file attachment from the BlobWorkitem |
void |
setItemCollection(ItemCollection acol)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ItemCollectionAdapter()
public ItemCollectionAdapter(ItemCollection acol)
| Method Detail |
|---|
public ItemCollection getItemCollection()
public void setItemCollection(ItemCollection acol)
public void addFile(byte[] data,
String fileName,
String contentType)
throws Exception
data - - byte array with file datafileName - - name of the file attachmentcontentType - - the contenttype (e.g. 'Text/HTML')
Exception
public void removeFile(String aFilename)
throws Exception
Exceptionpublic String[] getFiles()
public Map getItem()
public Map getItemList()
public Map getItemListArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||