|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Roles
Interface describing a representation of the <roles> element of a Process Model.
| Method Summary | |
|---|---|
void |
addRole(Role role)
Add an role to the collection |
Role |
createRole()
Create a Role |
Role |
getRole(String name)
Get the role definition with given name |
Role[] |
getRoles()
Get the roles definition |
Iterator<Role> |
iterateRole()
Iterate through the Role objects |
void |
removeRole(String strRoleName)
Remove an role from the collection |
| Method Detail |
|---|
Iterator<Role> iterateRole()
Role createRole()
void addRole(Role role)
role - to be addedRole[] getRoles()
Role getRole(String name)
name - role name
void removeRole(String strRoleName)
throws WorkflowException
strRoleName - the name of the role to be removed.
WorkflowException - if the role cannot be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||