|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.model.DataFolderImpl
public class DataFolderImpl
Class implementing the representation of the <dataFolder> and <userInfos> elements of a Process Model.
Constructor Summary | |
---|---|
DataFolderImpl()
Constructor |
Method Summary | |
---|---|
void |
addItem(Item item)
Add an item to the collection |
Item |
createItem()
Create an Item |
Item |
getItem(String strRoleName)
Get item contained in the DataFolder by role name |
Item[] |
getItems()
Get the items |
Iterator<Item> |
iterateItem()
Iterate through the Item objects |
void |
removeItem(String strItemName)
Remove an item from the collection |
RecordTemplate |
toRecordTemplate(String role,
String lang,
boolean readonly)
Converts this object in a RecordTemplate object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataFolderImpl()
Method Detail |
---|
public Item[] getItems()
getItems
in interface DataFolder
public Item getItem(String strRoleName)
DataFolder
getItem
in interface DataFolder
strRoleName
- to search with
public void addItem(Item item)
DataFolder
addItem
in interface DataFolder
item
- to be addedpublic Item createItem()
DataFolder
createItem
in interface DataFolder
public Iterator<Item> iterateItem()
DataFolder
iterateItem
in interface DataFolder
public void removeItem(String strItemName) throws WorkflowException
DataFolder
removeItem
in interface DataFolder
strItemName
- the name of the item to be removed.
WorkflowException
- when the item could not be foundpublic RecordTemplate toRecordTemplate(String role, String lang, boolean readonly) throws WorkflowException
toRecordTemplate
in interface DataFolder
readonly
-
WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |