|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of ConferencingObject that the ConferencingObjectContainer implements.public interface ConferencingObjectContainer<T extends ConferencingObjectContainer<T>>
A ConferencingObject that contains other ConferencingObject instances.
| Field Summary |
|---|
| Fields inherited from interface com.avaya.conferencing.api.acp.control.ConferencingObject |
|---|
STATE |
| Method Summary | ||
|---|---|---|
void |
addChildListener(ChildListener<? super T,? extends ConferencingObject<?>> listener)
Registers a ChildListener against all child classes of this ConferencingObject instance. |
|
|
addChildListener(java.lang.Class<S> clazz,
ChildListener<? super T,? super S> listener)
Registers a ChildListener against the specified child class for this ConferencingObject instance. |
|
|
addChildPropertyChangeListener(java.lang.Class<S> clazz,
java.beans.PropertyChangeListener listener)
Registers a PropertyChangeListener against all properties of the child ConferencingObject instances of the specified class for this ConferencingObject instance. |
|
|
addChildPropertyChangeListener(java.lang.Class<S> clazz,
java.lang.String property,
java.beans.PropertyChangeListener listener)
Registers a PropertyChangeListener against a specific properties of the child ConferencingObject instances of the specified class for this ConferencingObject instance. |
|
java.util.Iterator<java.lang.Class<? extends ConferencingObject>> |
childClassIterator()
Returns an iterator over the child ConferencingObject classes that this ConferencingObject is parent to. |
|
|
childIterator(java.lang.Class<S> clazz)
Returns an iterator of the specified class of child objects. |
|
|
childIterator(java.lang.Class<S> clazz,
Filter<? super S>... filters)
Returns an iterator of the specified class of child objects. |
|
|
findChild(java.lang.Class<S> clazz,
Reference<S> ref)
Find and retrieve the specified child object. |
|
|
findParents(java.lang.Class<S> clazz,
Reference<T> grandChildRef)
Find and retrieve the child objects that are the parents of a specific grandchild of this object. |
|
|
getAllChildren(java.lang.Class<S> clazz)
Recursively returns any children of the specified class of child objects including descendants. |
|
|
getAllChildren(java.lang.Class<S> clazz,
Filter<? super S>... filters)
Recursively returns any children of the specified class of child objects including descendants. |
|
java.util.Set<java.lang.Class<? extends ConferencingObject>> |
getChildClasses()
Returns the child ConferencingObject classes that this ConferencingObject is parent to. |
|
|
getChildren(java.lang.Class<S> clazz)
Returns the children of the specified class of child objects. |
|
|
getChildren(java.lang.Class<S> clazz,
Filter<? super S>... filters)
Returns the children of the specified class of child objects. |
|
|
lookupChild(java.lang.Class<S> clazz,
Reference<S> ref)
Find and retrieve the specified child object. |
|
|
lookupParents(java.lang.Class<S> clazz,
Reference<T> grandChildRef)
Find and retrieve the child objects that are the parents of a specific grandchild of this object. |
|
void |
removeChildListener(ChildListener<? super T,? extends ConferencingObject<?>> listener)
Unregisters a ChildListener previously registered against all child classes of this ConferencingObject instance. |
|
|
removeChildListener(java.lang.Class<S> clazz,
ChildListener<? super T,? super S> listener)
Unregisters a ChildListener previously registered against the specified child class for this ConferencingObject instance. |
|
|
removeChildPropertyChangeListener(java.lang.Class<S> clazz,
java.beans.PropertyChangeListener listener)
Unregisters a PropertyChangeListener previously registered against all properties of the child ConferencingObject instances of the specified class. |
|
|
removeChildPropertyChangeListener(java.lang.Class<S> clazz,
java.lang.String property,
java.beans.PropertyChangeListener listener)
Unregisters a PropertyChangeListener previously registered against a specific property of the child ConferencingObject instances of the specified class for this ConferencingObject instance. |
|
| Methods inherited from interface com.avaya.conferencing.api.acp.control.ConferencingObject |
|---|
addAvailableVerbsChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, execute, executeAs, getAllVerbs, getAllVerbsAs, getAllVerbsAs, getConnection, getId, getProperties, getProperties, getPropertyClass, getPropertyClasses, getPropertyType, getPropertyValue, getPropertyValues, getState, getVerbs, getVerbsAs, removeAvailableVerbsChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener |
| Method Detail |
|---|
void addChildListener(ChildListener<? super T,? extends ConferencingObject<?>> listener)
listener - The ChildListener.
<S extends ConferencingObject<S>> void addChildListener(java.lang.Class<S> clazz,
ChildListener<? super T,? super S> listener)
S - The child class. For example EndPoint or Conference.clazz - The child class.listener - The ChildListener.
<S extends ConferencingObject<S>> void addChildPropertyChangeListener(java.lang.Class<S> clazz,
java.beans.PropertyChangeListener listener)
S - The child class. For example EndPoint or Conference.clazz - The child class.listener - The PropertyChangeListener.
<S extends ConferencingObject<S>> void addChildPropertyChangeListener(java.lang.Class<S> clazz,
java.lang.String property,
java.beans.PropertyChangeListener listener)
S - The child class. For example EndPoint or Conference.clazz - The child class.property - The property to listen for changes on.listener - The PropertyChangeListener.java.util.Iterator<java.lang.Class<? extends ConferencingObject>> childClassIterator()
<S extends ConferencingObject<S>> java.util.Iterator<S> childIterator(java.lang.Class<S> clazz)
S - The child class. For example EndPoint or Conference.clazz - The class of children to get.
<S extends ConferencingObject<S>> java.util.Iterator<S> childIterator(java.lang.Class<S> clazz,
Filter<? super S>... filters)
S - The child class. For example EndPoint or Conference.clazz - The class of children to get.filters - The filters to use.
<S extends ConferencingObject<S>> S findChild(java.lang.Class<S> clazz,
Reference<S> ref)
throws UnknownChildObjectException
S - The child class. For example EndPoint or Conference.clazz - The child class.ref - The child reference.
UnknownChildObjectException - if the child object does not exist.
<S extends ConferencingObjectContainer<S>,T extends ConferencingObject<T>> java.util.Collection<S> findParents(java.lang.Class<S> clazz,
Reference<T> grandChildRef)
throws UnknownChildObjectException
conference.lookupParents(Conference.class, endpoint) will return the subconference(s) which the
EndPoint belongs to. Similarly, connection.lookupParents(EndPointQueue.class, endpoint) will return
all the queues of the connection that an EndPoint is in.
S - The child class. For example EndPoint or Conference.T - The grandchild class. For example EndPoint or Conference.clazz - The child class.grandChildRef - The grandchild reference.
UnknownChildObjectException - if no matching children exist.<S extends ConferencingObject<S>> java.util.Collection<S> getAllChildren(java.lang.Class<S> clazz)
collection.isEmpty() is preferable
to 0 == collection.size() is preferred to 0 == collection.size(). The latter may block
the calling thread until the entire collection is loaded.
S - The child class. For example EndPoint or Conference.clazz - The class of children to get.
<S extends ConferencingObject<S>> java.util.Collection<S> getAllChildren(java.lang.Class<S> clazz,
Filter<? super S>... filters)
collection.isEmpty() is preferable
to 0 == collection.size() is preferred to 0 == collection.size(). The latter may block
the calling thread until the entire collection is loaded.
S - The child class. For example EndPoint or Conference.clazz - The class of children to get.filters - The filters to use.
java.util.Set<java.lang.Class<? extends ConferencingObject>> getChildClasses()
<S extends ConferencingObject<S>> java.util.Collection<S> getChildren(java.lang.Class<S> clazz)
collection.isEmpty() is preferred to 0 ==
collection.size(). The latter may block the calling thread until the entire collection is loaded.
S - The child class. For example EndPoint or Conference.clazz - The class of children to get.
<S extends ConferencingObject<S>> java.util.Collection<S> getChildren(java.lang.Class<S> clazz,
Filter<? super S>... filters)
collection.isEmpty() is preferred to 0 ==
collection.size(). The latter may block the calling thread until the entire collection is loaded.
S - The child class. For example EndPoint or Conference.clazz - The class of children to get.filters - The filters to use.
<S extends ConferencingObject<S>> S lookupChild(java.lang.Class<S> clazz,
Reference<S> ref)
S - The child class. For example EndPoint or Conference.clazz - The child class.ref - The child reference.
null if the child object does not exist.
<S extends ConferencingObjectContainer<S>,T extends ConferencingObject<T>> java.util.Collection<S> lookupParents(java.lang.Class<S> clazz,
Reference<T> grandChildRef)
conference.lookupParents(Conference.class, endpoint) will return the subconference(s) which the
EndPoint belongs to. Similarly, connection.lookupParents(EndPointQueue.class, EndPoint) will return
all the queues of the connection that an EndPoint is in.
S - The child class. For example EndPoint or Conference.T - The grandchild class. For example EndPoint or Conference.clazz - The child class.grandChildRef - The grandchild reference.
void removeChildListener(ChildListener<? super T,? extends ConferencingObject<?>> listener)
listener - The ChildListener.
<S extends ConferencingObject<S>> void removeChildListener(java.lang.Class<S> clazz,
ChildListener<? super T,? super S> listener)
S - The child class. For example EndPoint or Conference.clazz - The child class.listener - The ChildListener.
<S extends ConferencingObject<S>> void removeChildPropertyChangeListener(java.lang.Class<S> clazz,
java.beans.PropertyChangeListener listener)
S - The child class. For example EndPoint or Conference.clazz - The child class.listener - The PropertyChangeListener.
<S extends ConferencingObject<S>> void removeChildPropertyChangeListener(java.lang.Class<S> clazz,
java.lang.String property,
java.beans.PropertyChangeListener listener)
S - The child class. For example EndPoint or Conference.clazz - The child class.property - The property to listen for changes on.listener - The PropertyChangeListener.
|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||