|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QualifiedUsers
Interface describing a representation of one of the following elements of a Process Model:
Method Summary | |
---|---|
void |
addRelatedGroup(RelatedGroup group)
Add a RelatedGroup to the collection |
void |
addRelatedUser(RelatedUser user)
Add a RelatedUser to the collection |
void |
addUserInRole(UserInRole user)
Add a UserInRole to the collection |
RelatedGroup |
createRelatedGroup()
Create a new RelatedGroup |
RelatedUser |
createRelatedUser()
Create a new RelatedUser |
UserInRole |
createUserInRole()
Create a new UserInRole |
String |
getMessage()
Get the message associated to the related users (only used for notification) |
RelatedGroup |
getRelatedGroup(RelatedGroup relatedGroup)
Get the related group equivalent to the one specified |
RelatedGroup[] |
getRelatedGroups()
Get the related groups |
RelatedUser |
getRelatedUser(RelatedUser relatedUser)
Get the related user equivalent to the one specified |
RelatedUser[] |
getRelatedUsers()
Get the participants and related users |
String |
getRole()
Get the role to which the related groups will be affected by default |
String |
getSenderId()
Get the user id used as sender for message. |
UserInRole |
getUserInRole(String strRoleName)
Get the userInRoles |
UserInRole[] |
getUserInRoles()
Get the userInRoles |
Iterator<RelatedGroup> |
iterateRelatedGroup()
Iterate through the RelatedGroup objects |
Iterator<RelatedUser> |
iterateRelatedUser()
Iterate through the RelatedUser objects |
Iterator<UserInRole> |
iterateUserInRole()
Iterate through the UserInRole objects |
void |
removeRelatedGroup(RelatedGroup reference)
Remove a RelatedGroup from the collection |
void |
removeRelatedUser(RelatedUser reference)
Remove a RelatedUser from the collection |
void |
removeUserInRoles()
Remove all UserInRole from the collection |
void |
setMessage(String message)
Set the message associated to the related users (only used for notification) |
void |
setRole(String role)
Set the role to which the related user will be affected |
Method Detail |
---|
UserInRole[] getUserInRoles()
Iterator<UserInRole> iterateUserInRole()
UserInRole createUserInRole()
void addUserInRole(UserInRole user)
user
- to be addedUserInRole getUserInRole(String strRoleName)
strRoleName
-
void removeUserInRoles()
RelatedUser[] getRelatedUsers()
RelatedUser getRelatedUser(RelatedUser relatedUser)
relatedUser
- the reference to look for
null
Iterator<RelatedUser> iterateRelatedUser()
RelatedUser createRelatedUser()
void addRelatedUser(RelatedUser user)
user
- to be addedvoid removeRelatedUser(RelatedUser reference) throws WorkflowException
reference
- the reference of the RelatedUser to be removed
WorkflowException
- when something goes wrongRelatedGroup[] getRelatedGroups()
RelatedGroup getRelatedGroup(RelatedGroup relatedGroup)
relatedGroup
- the reference to look for
null
Iterator<RelatedGroup> iterateRelatedGroup()
RelatedGroup createRelatedGroup()
void addRelatedGroup(RelatedGroup group)
group
- to be addedvoid removeRelatedGroup(RelatedGroup reference) throws WorkflowException
reference
- the reference of the RelatedGroup to be removed
WorkflowException
- when something goes wrongString getRole()
void setRole(String role)
role
- role as a StringString getMessage()
void setMessage(String message)
message
- message as a StringString getSenderId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |