|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.model.RolesImpl
public class RolesImpl
Class implementing the representation of the <roles> element of a Process Model.
Constructor Summary | |
---|---|
RolesImpl()
Constructor |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RolesImpl()
Method Detail |
---|
public void addRole(Role role)
Roles
addRole
in interface Roles
role
- to be addedpublic Role createRole()
Roles
createRole
in interface Roles
public Role getRole(String name)
Roles
getRole
in interface Roles
name
- role name
public Role[] getRoles()
Roles
getRoles
in interface Roles
public Iterator<Role> iterateRole()
Roles
iterateRole
in interface Roles
public void removeRole(String strRoleName) throws WorkflowException
Roles
removeRole
in interface Roles
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 |