Interface DataFolder
-
- All Known Implementing Classes:
DataFolderImpl
public interface DataFolder
Interface describing a representation of the <dataFolder> element of a Process Model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addItem(Item item)
Add an item to the collectionItem
createItem()
Create an ItemItem
getItem(String strRoleName)
Get item contained in the DataFolder by role nameItem[]
getItems()
Get the itemsIterator<Item>
iterateItem()
Iterate through the Item objectsvoid
removeItem(String strItemName)
Remove an item from the collectionRecordTemplate
toRecordTemplate(String role, String lang, boolean disabled)
Converts this object in a RecordTemplate object
-
-
-
Method Detail
-
getItems
Item[] getItems()
Get the items- Returns:
- the items as a Vector
-
toRecordTemplate
RecordTemplate toRecordTemplate(String role, String lang, boolean disabled) throws WorkflowException
Converts this object in a RecordTemplate object- Parameters:
role
-lang
-disabled
-- Returns:
- the resulting RecordTemplate
- Throws:
WorkflowException
-
getItem
Item getItem(String strRoleName)
Get item contained in the DataFolder by role name- Parameters:
strRoleName
- to search with- Returns:
- an object implementing the Item interface
-
createItem
Item createItem()
Create an Item- Returns:
- an object implementing Item
-
addItem
void addItem(Item item)
Add an item to the collection- Parameters:
item
- to be added
-
removeItem
void removeItem(String strItemName) throws WorkflowException
Remove an item from the collection- Parameters:
strItemName
- the name of the item to be removed.- Throws:
WorkflowException
- when the item could not be found
-
-