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