public class UserAuthorizations extends java.lang.Object implements java.lang.Iterable<UserRight>
Modifier | Constructor and Description |
---|---|
protected |
UserAuthorizations(com.uc4.util.XMLDocument doc) |
Modifier and Type | Method and Description |
---|---|
void |
addRight(UserRight right)
Adds a new row the authorizations tab.
|
void |
clear()
Clears the list of authorizations.
|
java.util.Iterator<UserRight> |
iterator()
Returns an
java.util.Iterator over UserRight . |
int |
size()
Returns the number of authorizations in this user object.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element objectElement) |
public void addRight(UserRight right)
right
- authorizationpublic java.util.Iterator<UserRight> iterator()
java.util.Iterator
over UserRight
.
The returned Iterator can be used to remove elements by using the remove()
method.iterator
in interface java.lang.Iterable<UserRight>
public void clear()
public int size()
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement)