public class UserAssignment extends 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.
|
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. |
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 Iterator<UC4UserName> memberListIterator()
java.util.Iterator
cannot be used to remove users.public Iterator<UC4UserName> noMemberListIterator()
java.util.Iterator
cannot be used to remove users.public int getMemberListSize()
public int getNoMemberListSize()
public boolean addUser(UC4UserName userName) throws IllegalStateException
userName
- Name of the userIllegalStateException
- when revisioning is setpublic boolean removeUser(UC4UserName userName) throws IllegalStateException
userName
- Name of the userIllegalStateException
- when revisioning is setpublic boolean isRevision()
Copyright © 2021. All rights reserved.