Avaya Conferencing Provider API

com.avaya.conferencing.api.acp.control
Class AbstractConferencingObject<T extends AbstractConferencingObject<T>>

java.lang.Object
  extended by com.avaya.conferencing.api.acp.control.AbstractConferencingObject<T>
All Implemented Interfaces:
ConferencingObject<T>
Direct Known Subclasses:
CallFlowMappingRule, Conference, ConferenceQueue, Connection, EndPoint, EndPointQueue, MediaSource, Message, Operator, ParticipantCodeGroup, RecordPlaybackServer

public abstract class AbstractConferencingObject<T extends AbstractConferencingObject<T>>
extends java.lang.Object
implements ConferencingObject<T>

Base class from which all implementable ConferencingObject extension points are derived.

Since:
5.1.1.0.1

Field Summary
static java.lang.String VERBOSE_TO_STRING
          (For debug only) Set this system property to true and the toString() method will print out the proprty values of all properties.
 
Fields inherited from interface com.avaya.conferencing.api.acp.control.ConferencingObject
STATE
 
Constructor Summary
AbstractConferencingObject()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          
<OP extends Operation<RESULT,OP>,RESULT>
OP
execute(OP operation)
          Executes the operation using the connection's authentication.
 java.util.Set<Verb> getVerbs()
          Returns the verbs that the connection's authentication is allowed to execute against this ConferencingObject instance.
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.avaya.conferencing.api.acp.control.ConferencingObject
addAvailableVerbsChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, executeAs, getAllVerbs, getAllVerbsAs, getAllVerbsAs, getConnection, getId, getProperties, getProperties, getPropertyClass, getPropertyClasses, getPropertyType, getPropertyValue, getPropertyValues, getState, getVerbsAs, removeAvailableVerbsChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener
 

Field Detail

VERBOSE_TO_STRING

public static final java.lang.String VERBOSE_TO_STRING
(For debug only) Set this system property to true and the toString() method will print out the proprty values of all properties.

Since:
5.1.1.0.2
See Also:
Constant Field Values
Constructor Detail

AbstractConferencingObject

public AbstractConferencingObject()
Method Detail

execute

public <OP extends Operation<RESULT,OP>,RESULT> OP execute(OP operation)
Executes the operation using the connection's authentication.

Specified by:
execute in interface ConferencingObject<T extends AbstractConferencingObject<T>>
Parameters:
operation - The operation to execute.
Returns:
The operation that was submitted to allow for easier method chaining.

getVerbs

public java.util.Set<Verb> getVerbs()
Returns the verbs that the connection's authentication is allowed to execute against this ConferencingObject instance. The return value of this function can change as the instance's state changes. Use ConferencingObject.addAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener) to be notified of changes to this list.

Specified by:
getVerbs in interface ConferencingObject<T extends AbstractConferencingObject<T>>
Returns:
The verbs that can be executed using the connection's authentication.
See Also:
ConferencingObject.addAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener), ConferencingObject.removeAvailableVerbsChangeListener(com.avaya.conferencing.api.acp.control.events.AvailableVerbsChangeListener), AvailableVerbsChangeListener, AvailableVerbsChangeEvent

equals

public final boolean equals(java.lang.Object o)

Overrides:
equals in class java.lang.Object

hashCode

public final int hashCode()

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

Avaya Conferencing Provider API

Copyright © 2008-2009 Avaya. All Rights Reserved.