|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for assignment capability to a class.
Field Summary | |
static String |
versionId
|
Method Summary | |
void |
assignGroup(Group group)
Assigns a group of users to this task. |
void |
assignUser(User user)
Assigns a user to this task. |
Iterator |
getAssignedGroups()
Returns a GroupCollection over the set of groups assigned to this task. |
Iterator |
getAssignedUsers()
Returns a UserCollection over the set of users assigned to this task. |
boolean |
isAssigned()
Tests whether any user is assigned to this task. |
boolean |
isAssigned(Group group)
Tests whether a group is assigned to this task. |
boolean |
isAssigned(User user)
Tests whether a user is assigned to this task. |
void |
removeGroup(Group group)
Removes a group from the task assignment list. |
void |
removeUser(User user)
Removes a user from the task assignment list. |
Field Detail |
public static final String versionId
Method Detail |
public void assignUser(User user)
user
- an active user of the systempublic void assignGroup(Group group)
group
- a group of userspublic void removeUser(User user)
user
- the user to removepublic void removeGroup(Group group)
group
- the group to removepublic boolean isAssigned()
true
if anyone is assigned
to this task; false
otherwise.public boolean isAssigned(User user)
user
- a system user
true
if the user is assigned
to this task; false
otherwise.public boolean isAssigned(Group group)
group
- aA user group
true
if the group is assigned
to this task; false
otherwise.public Iterator getAssignedGroups()
public Iterator getAssignedUsers()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |