|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Q - Implementing classes use this type parameter to provide type safety.E - The type of ConferencingObject that this queue holds.public interface ConferencingObjectQueue<Q extends ConferencingObjectQueue<Q,E>,E extends ConferencingObject<E>>
Represents an ordered queue of ConferencingObjects.
| Nested Class Summary | |
|---|---|
static interface |
ConferencingObjectQueue.Purpose
Purposes for ConferencingObjectQueues. |
static class |
ConferencingObjectQueue.Purposes
Well known purposes. |
| Field Summary | |
|---|---|
static java.lang.String |
ACTIVE
The property name for isActive(). |
static java.lang.String |
NAME
The property name for getName(). |
static java.lang.String |
PURPOSES
The property name for getPurposes(). |
| Fields inherited from interface com.avaya.conferencing.api.acp.control.ConferencingObject |
|---|
STATE |
| Method Summary | ||
|---|---|---|
void |
addEntryListener(ChildListener<? super Q,? super E> childListener)
Registers a ChildListener against the specified child class for this ConferencingObject instance. |
|
void |
addEntryListener(ConferencingObjectQueueListener<? super Q,? super E> queueListener)
Registers a ConferencingObjectQueueListener against the specified child class for this ConferencingObjectQueue instance. |
|
void |
addEntryPropertyChangeListener(java.beans.PropertyChangeListener listener)
Registers a PropertyChangeListener against all properties of the entries of the queue. |
|
void |
addEntryPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
Registers a PropertyChangeListener against specific properties of the entries in the queue. |
|
E |
findEntry(Reference<E> ref)
Find and retrieve the specified entry. |
|
|
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. |
|
java.util.List<E> |
getEntries()
Returns the queue entries as an ordered list. |
|
java.util.List<E> |
getEntries(Filter<? super E>... filters)
Returns the queue entries as an ordered list. |
|
java.lang.Class<E> |
getEntryClass()
Method getEntryClass returns the entryClass of this ConferencingObjectQueue object. |
|
java.lang.String |
getName()
Returns the name of this EndPointQueue object. |
|
java.util.Set<ConferencingObjectQueue.Purpose> |
getPurposes()
Returns the purposes of this queue. |
|
boolean |
isActive()
Returns true if this EndPointQueue is connected. |
|
boolean |
isEmpty()
Short hand form of getEntries().isEmpty |
|
java.util.Iterator<E> |
iterator(Filter<? super E>... filters)
Returns an iterator over a set of elements of type T. |
|
E |
lookupEntry(Reference<E> ref)
Find and retrieve the specified entry. |
|
void |
removeEntryListener(ChildListener<? super Q,? super E> childListener)
Registers a ChildListener against the specified child class for this ConferencingObjectQueue instance. |
|
void |
removeEntryListener(ConferencingObjectQueueListener<? super Q,? super E> queueListener)
Unregisters a ConferencingObjectQueueListener against the specified child class for this ConferencingObjectQueue instance. |
|
void |
removeEntryPropertyChangeListener(java.beans.PropertyChangeListener listener)
Unregisters a PropertyChangeListener previously registered against all properties of the entries in the queue. |
|
void |
removeEntryPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
Unregisters a PropertyChangeListener previously registered against the entries in the queue. |
|
| Methods inherited from interface com.avaya.conferencing.api.acp.control.ConferencingObjectContainer |
|---|
addChildListener, addChildListener, addChildPropertyChangeListener, addChildPropertyChangeListener, childClassIterator, childIterator, childIterator, findChild, findParents, getAllChildren, getAllChildren, getChildClasses, lookupChild, lookupParents, removeChildListener, removeChildListener, removeChildPropertyChangeListener, removeChildPropertyChangeListener |
| 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 |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Field Detail |
|---|
static final java.lang.String NAME
static final java.lang.String ACTIVE
static final java.lang.String PURPOSES
| Method Detail |
|---|
<S extends ConferencingObject<S>> java.util.List<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.
getChildren in interface ConferencingObjectContainer<Q extends ConferencingObjectQueue<Q,E>>S - The child class. For example EndPoint or Conference.clazz - The class of children to get.
<S extends ConferencingObject<S>> java.util.List<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.
getChildren in interface ConferencingObjectContainer<Q extends ConferencingObjectQueue<Q,E>>S - The child class. For example EndPoint or Conference.clazz - The class of children to get.filters - The filters to use.
void addEntryListener(ConferencingObjectQueueListener<? super Q,? super E> queueListener)
queueListener - the ConferencingObjectQueueListener.void addEntryListener(ChildListener<? super Q,? super E> childListener)
childListener - The ChildListener.void addEntryPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The PropertyChangeListener.
void addEntryPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
property - The property to listen for changes on.listener - The PropertyChangeListener.
E findEntry(Reference<E> ref)
throws UnknownChildObjectException
ref - The entry reference.
UnknownChildObjectException - if the entry object does not exist.java.util.List<E> getEntries()
list.isEmpty() is preferred to 0 == list.size(). The latter may block until
the entire collection is loaded.
java.util.List<E> getEntries(Filter<? super E>... filters)
list.isEmpty() is preferred to 0 == list.size(). The latter may block until
the entire collection is loaded.
filters - The filters to use.
java.util.Iterator<E> iterator(Filter<? super E>... filters)
filters - The filters to use.
java.lang.Class<E> getEntryClass()
java.lang.String getName()
boolean isActive()
true if this EndPointQueue is connected.
true if this EndPointQueue is connected.E lookupEntry(Reference<E> ref)
ref - The entry reference.
null if the entry object does not exist.void removeEntryListener(ConferencingObjectQueueListener<? super Q,? super E> queueListener)
queueListener - the ConferencingObjectQueueListener.void removeEntryListener(ChildListener<? super Q,? super E> childListener)
childListener - The ChildListener.void removeEntryPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The PropertyChangeListener.
void removeEntryPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
property - The property to listen for changes on.listener - The PropertyChangeListener.java.util.Set<ConferencingObjectQueue.Purpose> getPurposes()
ConferencingObjectQueue.Purposeboolean isEmpty()
getEntries().isEmpty
true if and only if the queue is empty.
|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||