Package com.uc4.api.objects
Class ObjectAuthorizations
- java.lang.Object
-
- com.uc4.api.objects.ObjectAuthorizations
-
- All Implemented Interfaces:
java.lang.Iterable<ObjectRight>
public class ObjectAuthorizations extends java.lang.Object implements java.lang.Iterable<ObjectRight>
This class serves to define access rights for a UC4Objects. These rights are an integral part of AE's authorization system.
-
-
Constructor Summary
Constructors Modifier Constructor Description ObjectAuthorizations()
Creates a new ObjectAuthorizations object.protected
ObjectAuthorizations(com.uc4.util.XMLDocument doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 anjava.util.Iterator
overObjectRight
.int
size()
Returns the number of authorizations for this UC4Object.protected void
store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement)
-
-
-
Method Detail
-
iterator
public java.util.Iterator<ObjectRight> iterator()
Returns anjava.util.Iterator
overObjectRight
. The returned Iterator can be used to remove elements by using theremove()
method.- Specified by:
iterator
in interfacejava.lang.Iterable<ObjectRight>
- Returns:
- Iterator
-
addRight
public void addRight(ObjectRight right)
Adds a new row to the authorizations tab.- Parameters:
right
- authorization
-
clear
public void clear()
Clears the list of authorizations.
-
size
public int size()
Returns the number of authorizations for this UC4Object.- Returns:
- Number of authorizations
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement)
-
-