public class UserAssignment
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
addUser(UC4UserName userName)
Adds a user to this UserGroup.
|
int |
getMemberListSize() |
int |
getNoMemberListSize() |
boolean |
isRevision()
Returns the Revision from this UserGroup.
|
java.util.Iterator<UC4UserName> |
memberListIterator()
Returns a list of users who are members of this User Group
The returned
java.util.Iterator cannot be used to remove users. |
java.util.Iterator<UC4UserName> |
noMemberListIterator()
Returns a list of users who are not members of this User Group
The returned
java.util.Iterator cannot be used to remove users. |
boolean |
removeUser(UC4UserName userName)
Removes a user from this UserGroup.
|
public java.util.Iterator<UC4UserName> memberListIterator()
java.util.Iterator
cannot be used to remove users.public java.util.Iterator<UC4UserName> noMemberListIterator()
java.util.Iterator
cannot be used to remove users.public int getMemberListSize()
public int getNoMemberListSize()
public boolean addUser(UC4UserName userName) throws java.lang.IllegalStateException
userName
- Name of the userjava.lang.IllegalStateException
- when revisioning is setpublic boolean removeUser(UC4UserName userName) throws java.lang.IllegalStateException
userName
- Name of the userjava.lang.IllegalStateException
- when revisioning is setpublic boolean isRevision()