|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - Implementing classes use this type parameter to provide type safety for references. An example is the
Conference interface public interface Conference extends
ConferencingObject<Conference> which enables conference.getId() to return a
Reference<Conference> and not a Reference<ConferencingObject>.public interface ConferencingObject<T extends ConferencingObject<T>>
ConferencingObject are read-only JavaBeans which support Operations. For each of the properties returned by getProperties(), there will be a public accessor following the getXXX or isXXX rule used for JavaBeans. The getPropertyValue() method can be used for dynamic querying without using the reflection APIs.
| Field Summary | |
|---|---|
static java.lang.String |
STATE
The property name for getState(). |
| Method Summary | ||
|---|---|---|
void |
addAvailableVerbsChangeListener(AvailableVerbsChangeListener listener)
Registers a AvailableVerbsChangeListener against this ConferencingObject instance. |
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Registers a PropertyChangeListener against all properties of this ConferencingObject instance. |
|
void |
addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
Registers a PropertyChangeListener against specific properties of this ConferencingObject instance. |
|
void |
addStateChangeListener(State state,
StateChangeListener listener)
Registers a StateChangeListener against specific states of this ConferencingObject instance. |
|
|
execute(OP operation)
Executes the operation using the connection's authentication. |
|
|
executeAs(CPAuthentication authentication,
OP operation)
Executes the operation using the supplied authentication. |
|
java.util.Set<Verb> |
getAllVerbs()
Returns all possible verbs that the connection's authentication could be allowed to execute against this ConferencingObject instance. |
|
java.util.Set<Verb> |
getAllVerbsAs(java.lang.Class<? extends CPAuthentication> clazz)
Returns all possible verbs that the specified type of authentication could be allowed to execute against this ConferencingObject instance. |
|
java.util.Set<Verb> |
getAllVerbsAs(CPAuthentication authentication)
Returns all possible verbs that the specified authentication could be allowed to execute against this ConferencingObject instance. |
|
Connection |
getConnection()
Returns the connection that this ConferencingObject relates to. |
|
Reference<T> |
getId()
Get the unique reference for this ConferencingObject. |
|
java.util.Set<java.lang.String> |
getProperties()
Returns the properties of this ConferencingObject instance. |
|
java.util.Set<java.lang.String> |
getProperties(PropertyType type)
Returns the properties of this ConferencingObject instance. |
|
java.lang.Class |
getPropertyClass(java.lang.String property)
Returns a specific property class. |
|
java.util.Map<java.lang.String,java.lang.Class> |
getPropertyClasses()
Returns all the property classes of this object. |
|
PropertyType |
getPropertyType(java.lang.String property)
Returns a specific property class. |
|
java.lang.Object |
getPropertyValue(java.lang.String property)
Returns a specific property value. |
|
java.util.Map<java.lang.String,java.lang.Object> |
getPropertyValues()
Returns all the property values of this object. |
|
java.util.Set<State> |
getState()
Gets the state of this ConferencingObject. |
|
java.util.Set<Verb> |
getVerbs()
Returns the verbs that the connection's authentication is allowed to execute against this ConferencingObject instance. |
|
java.util.Set<Verb> |
getVerbsAs(CPAuthentication authentication)
Returns the verbs that the specified authentication is allowed to execute against this ConferencingObject instance. |
|
void |
removeAvailableVerbsChangeListener(AvailableVerbsChangeListener listener)
Unregisters a AvailableVerbsChangeListener previously registered against this ConferencingObject instance. |
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Unregisters a PropertyChangeListener previously registered against all properties of this ConferencingObject instance. |
|
void |
removePropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
Unregisters a PropertyChangeListener previously registered against a specific property of this ConferencingObject instance. |
|
void |
removeStateChangeListener(State state,
StateChangeListener listener)
Unregisters a StateChangeListener previously registered against a specific state of this ConferencingObject instance. |
|
| Field Detail |
|---|
static final java.lang.String STATE
| Method Detail |
|---|
void addAvailableVerbsChangeListener(AvailableVerbsChangeListener listener)
listener - The AvailableVerbsChangeListenervoid addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The PropertyChangeListener.
void addPropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
property - The property to listen for changes on.listener - The PropertyChangeListener.
void addStateChangeListener(State state,
StateChangeListener listener)
STATE property.
state - The state to listen for changes on.listener - The StateChangeListener.<OP extends Operation<RESULT,OP>,RESULT> OP execute(OP operation)
operation - The operation to execute.
InsufficientPermissionsException - Registers if the connection's authentication does not have permission to execute this operation against
this instance.
InvalidOperationException - Registers if this ConferencingObject instance does not support the operation.
<OP extends Operation<RESULT,OP>,RESULT> OP executeAs(CPAuthentication authentication,
OP operation)
authentication - The authentication to execute the operation as.operation - The operation to execute.
InsufficientPermissionsException - If the identity's authentication does not have permission to execute this operation against this
instance.
InvalidOperationException - If this ConferencingObject instance does not support the operation.java.util.Set<Verb> getAllVerbs()
java.util.Set<Verb> getAllVerbsAs(CPAuthentication authentication)
authentication - The specified authentication.
java.util.Set<Verb> getAllVerbsAs(java.lang.Class<? extends CPAuthentication> clazz)
clazz - The specified type of authentication.
Connection getConnection()
Reference<T> getId()
java.util.Set<java.lang.String> getProperties()
java.util.Set<java.lang.String> getProperties(PropertyType type)
type - The type of properties to return.
java.lang.Class getPropertyClass(java.lang.String property)
property - The property.
java.util.Map<java.lang.String,java.lang.Class> getPropertyClasses()
PropertyType getPropertyType(java.lang.String property)
property - The property.
java.lang.Object getPropertyValue(java.lang.String property)
property - The property.
java.util.Map<java.lang.String,java.lang.Object> getPropertyValues()
java.util.Set<State> getState()
java.util.Set<Verb> getVerbs()
addAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener) to
be notified of changes to this list.
addAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener),
removeAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener),
AvailableVerbsChangeListener,
AvailableVerbsChangeEventjava.util.Set<Verb> getVerbsAs(CPAuthentication authentication)
addAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener) to
be notified of changes to this list.
authentication - The specified authentication.
addAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener),
removeAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener),
AvailableVerbsChangeListener,
AvailableVerbsChangeEventvoid removeAvailableVerbsChangeListener(AvailableVerbsChangeListener listener)
listener - The AvailableVerbsChangeListenervoid removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The PropertyChangeListener.
void removePropertyChangeListener(java.lang.String property,
java.beans.PropertyChangeListener listener)
property - The property to listen for changes on.listener - The PropertyChangeListener.
void removeStateChangeListener(State state,
StateChangeListener listener)
state - The state to listen for changes on.listener - The StateChangeListener.
|
Avaya Conferencing Provider API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||