Package com.uc4.api.objects
Class ObjectAuthorizations
java.lang.Object
com.uc4.api.objects.ObjectAuthorizations
- All Implemented Interfaces:
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
ConstructorsModifierConstructorDescriptionCreates a new ObjectAuthorizations object.protected
ObjectAuthorizations
(com.uc4.util.XMLDocument doc) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRight
(ObjectRight right) Adds a new row to the authorizations tab.void
clear()
Clears the list of authorizations.iterator()
Returns anjava.util.Iterator
overObjectRight
.int
size()
Returns the number of authorizations for this UC4Object.protected void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ObjectAuthorizations
public ObjectAuthorizations()Creates a new ObjectAuthorizations object. -
ObjectAuthorizations
protected ObjectAuthorizations(com.uc4.util.XMLDocument doc)
-
-
Method Details
-
iterator
Returns anjava.util.Iterator
overObjectRight
. The returned Iterator can be used to remove elements by using theremove()
method.- Specified by:
iterator
in interfaceIterable<ObjectRight>
- Returns:
- Iterator
-
addRight
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
-