|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.protocol.DataObject
com.genesyslab.platform.commons.protocol.runtime.CompoundValue
com.genesyslab.platform.routing.protocol.routingserver.OperationContext
public abstract class OperationContext
OperationContext, which imitates TEvent, is used in conjunction with methods that operate on interactions, and provides information about those interactions. Its contents can be changed when these methods are executed. Because of this, it can be present in both Requests and Events. For example, if a method executes a strategy, then it can update the user data of the associated call while the strategy is executing. OperationContext will reflect this update.
Constructor Summary | |
---|---|
OperationContext()
|
Method Summary | |
---|---|
static OperationContext |
create()
Creates instance of OperationContext with no parameters set. |
static OperationContext |
create(CallType callType,
java.lang.String thisQueue,
java.lang.String thisLocation,
java.lang.String otherDN,
java.lang.String aNI,
java.lang.String dNIS,
java.lang.String cED,
java.lang.String mediaType,
KeyValueCollection userData,
KeyValueCollection extensions)
Creates instance of OperationContext with all parameters set. |
abstract java.lang.String |
getANI()
|
abstract CallType |
getCallType()
|
abstract java.lang.String |
getCED()
|
abstract java.lang.String |
getDNIS()
|
abstract KeyValueCollection |
getExtensions()
|
abstract java.lang.String |
getMediaType()
The media type of a target. |
abstract java.lang.String |
getOtherDN()
|
abstract java.lang.String |
getThisLocation()
|
abstract java.lang.String |
getThisQueue()
|
abstract KeyValueCollection |
getUserData()
|
abstract void |
setANI(java.lang.String aNI)
|
abstract void |
setCallType(CallType callType)
|
abstract void |
setCED(java.lang.String cED)
|
abstract void |
setDNIS(java.lang.String dNIS)
|
abstract void |
setExtensions(KeyValueCollection extensions)
|
abstract void |
setMediaType(java.lang.String mediaType)
The media type of a target. |
abstract void |
setOtherDN(java.lang.String otherDN)
|
abstract void |
setThisLocation(java.lang.String thisLocation)
|
abstract void |
setThisQueue(java.lang.String thisQueue)
|
abstract void |
setUserData(KeyValueCollection userData)
|
Methods inherited from class com.genesyslab.platform.commons.protocol.runtime.CompoundValue |
---|
getProtocolDescription |
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject |
---|
equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OperationContext()
Method Detail |
---|
public static OperationContext create()
public static OperationContext create(CallType callType, java.lang.String thisQueue, java.lang.String thisLocation, java.lang.String otherDN, java.lang.String aNI, java.lang.String dNIS, java.lang.String cED, java.lang.String mediaType, KeyValueCollection userData, KeyValueCollection extensions)
callType
- thisQueue
- thisLocation
- otherDN
- aNI
- dNIS
- cED
- mediaType
- userData
- extensions
-
public abstract CallType getCallType()
public abstract void setCallType(CallType callType)
callType
- new value of the propertypublic abstract java.lang.String getThisQueue()
public abstract void setThisQueue(java.lang.String thisQueue)
thisQueue
- new value of the propertypublic abstract java.lang.String getThisLocation()
public abstract void setThisLocation(java.lang.String thisLocation)
thisLocation
- new value of the propertypublic abstract java.lang.String getOtherDN()
public abstract void setOtherDN(java.lang.String otherDN)
otherDN
- new value of the propertypublic abstract java.lang.String getANI()
public abstract void setANI(java.lang.String aNI)
aNI
- new value of the propertypublic abstract java.lang.String getDNIS()
public abstract void setDNIS(java.lang.String dNIS)
dNIS
- new value of the propertypublic abstract java.lang.String getCED()
public abstract void setCED(java.lang.String cED)
cED
- new value of the propertypublic abstract java.lang.String getMediaType()
public abstract void setMediaType(java.lang.String mediaType)
public abstract KeyValueCollection getUserData()
public abstract void setUserData(KeyValueCollection userData)
userData
- new value of the propertypublic abstract KeyValueCollection getExtensions()
public abstract void setExtensions(KeyValueCollection extensions)
extensions
- new value of the property
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |