Interface QualifiedUsers
-
- All Known Implementing Classes:
QualifiedUsersImpl
public interface QualifiedUsers
Interface describing a representation of one of the following elements of a Process Model:- <workingUsers>
- <interestedUsers>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addRelatedUser(RelatedUser user)
Add a RelatedUser to the collectionvoid
addUserInRole(UserInRole user)
Add a UserInRole to the collectionUserInRole
createUserInRole()
Create a new UserInRoleBoolean
getLinkDisabled()
Get the linkDisabled status associated to the related users (only used for notification)String
getMessage()
Get the message associated to the related users (only used for notification)RelatedGroup[]
getRelatedGroups()
Get the related groupsRelatedUser
getRelatedUser(RelatedUser relatedUser)
Get the related user equivalent to the one specifiedRelatedUser[]
getRelatedUsers()
Get the participants and related usersString
getRole()
Get the role to which the related groups will be affected by defaultString
getSenderId()
Get the user id used as sender for message.UserInRole
getUserInRole(String strRoleName)
Get the userInRolesUserInRole[]
getUserInRoles()
Get the userInRolesIterator<RelatedUser>
iterateRelatedUser()
Iterate through the RelatedUser objectsIterator<UserInRole>
iterateUserInRole()
Iterate through the UserInRole objectsvoid
removeRelatedUser(RelatedUser reference)
Remove a RelatedUser from the collectionvoid
removeUserInRoles()
Remove all UserInRole from the collectionvoid
setLinkDisabled(Boolean linkDisabled)
Set the linkDisabled status associated to the related users (only used for notification)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
-
getUserInRoles
UserInRole[] getUserInRoles()
Get the userInRoles- Returns:
- the userInRoles as an array
-
iterateUserInRole
Iterator<UserInRole> iterateUserInRole()
Iterate through the UserInRole objects- Returns:
- an iterator
-
createUserInRole
UserInRole createUserInRole()
Create a new UserInRole- Returns:
- an object implementing UserInRole
-
addUserInRole
void addUserInRole(UserInRole user)
Add a UserInRole to the collection- Parameters:
user
- to be added
-
getUserInRole
UserInRole getUserInRole(String strRoleName)
Get the userInRoles- Parameters:
strRoleName
-- Returns:
- the userInRoles as a Vector
-
removeUserInRoles
void removeUserInRoles()
Remove all UserInRole from the collection
-
getRelatedUsers
RelatedUser[] getRelatedUsers()
Get the participants and related users- Returns:
- the participants and related users as an array
-
getRelatedUser
RelatedUser getRelatedUser(RelatedUser relatedUser)
Get the related user equivalent to the one specified- Parameters:
relatedUser
- the reference to look for- Returns:
- the related users as referenced or
null
-
iterateRelatedUser
Iterator<RelatedUser> iterateRelatedUser()
Iterate through the RelatedUser objects- Returns:
- an iterator
-
addRelatedUser
void addRelatedUser(RelatedUser user)
Add a RelatedUser to the collection- Parameters:
user
- to be added
-
removeRelatedUser
void removeRelatedUser(RelatedUser reference) throws WorkflowException
Remove a RelatedUser from the collection- Parameters:
reference
- the reference of the RelatedUser to be removed- Throws:
WorkflowException
- when something goes wrong
-
getRelatedGroups
RelatedGroup[] getRelatedGroups()
Get the related groups- Returns:
- the related groups as an array
-
getRole
String getRole()
Get the role to which the related groups will be affected by default- Returns:
- the role name
-
setRole
void setRole(String role)
Set the role to which the related user will be affected- Parameters:
role
- role as a String
-
getMessage
String getMessage()
Get the message associated to the related users (only used for notification)- Returns:
- the message
-
setMessage
void setMessage(String message)
Set the message associated to the related users (only used for notification)- Parameters:
message
- message as a String
-
getSenderId
String getSenderId()
Get the user id used as sender for message.- Returns:
-
getLinkDisabled
Boolean getLinkDisabled()
Get the linkDisabled status associated to the related users (only used for notification)- Returns:
- the status of linkDisabled
-
setLinkDisabled
void setLinkDisabled(Boolean linkDisabled)
Set the linkDisabled status associated to the related users (only used for notification)- Parameters:
linkDisabled
- status as a boolean
-
-