Platform SDK Java 8.5 API Reference

com.genesyslab.platform.voice.protocol.tserver.requests.party
Class RequestMergeCalls

java.lang.Object
  extended by com.genesyslab.platform.commons.protocol.DataObject
      extended by com.genesyslab.platform.commons.protocol.Message
          extended by com.genesyslab.platform.voice.protocol.tserver.requests.party.RequestMergeCalls
All Implemented Interfaces:
ProtocolDescriptionSupport

public abstract class RequestMergeCalls
extends Message

On behalf of the telephony object specified by the parameter dn, merges the held call specified by the parameter held_conn_id with the active call specified by the parameter current_conn_id in a manner specified by the parameter merge_type. The resulting call will have the same conn_id as the held call.


Field Summary
static int ID
           
static java.lang.String NAME
           
 
Method Summary
static RequestMergeCalls create()
          Creates instance of RequestMergeCalls with no parameters set.
static RequestMergeCalls create(java.lang.String thisDN, ConnectionId connID, ConnectionId transferConnID, MergeType mergeType)
          Creates instance of RequestMergeCalls with required parameters set.
static RequestMergeCalls create(java.lang.String thisDN, ConnectionId connID, ConnectionId transferConnID, MergeType mergeType, KeyValueCollection reasons, KeyValueCollection extensions)
          Creates instance of RequestMergeCalls with all parameters set.
abstract  ConnectionId getConnID()
          Connection identifier of the current call handled by the DN.
abstract  KeyValueCollection getExtensions()
          An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data.
abstract  MergeType getMergeType()
          Specifies whether merging should result in a transferred or conferenced call.
abstract  KeyValueCollection getReasons()
          Additional data intended to specify reasons for and results of actions taken by the user.
abstract  java.lang.Integer getReferenceID()
          Reference ID of the related request.
abstract  java.lang.String getThisDN()
          The Directory Number (which your application registered) involved in this request or event.
abstract  ConnectionId getTransferConnID()
          Connection identifier of the transfer's consultation call.
abstract  void setConnID(ConnectionId connID)
          Connection identifier of the current call handled by the DN.
abstract  void setExtensions(KeyValueCollection extensions)
          An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data.
abstract  void setMergeType(MergeType mergeType)
          Specifies whether merging should result in a transferred or conferenced call.
abstract  void setReasons(KeyValueCollection reasons)
          Additional data intended to specify reasons for and results of actions taken by the user.
abstract  void setReferenceID(int referenceID)
          Reference ID of the related request.
abstract  void setReferenceID(java.lang.Integer referenceID)
          Reference ID of the related request.
abstract  void setThisDN(java.lang.String thisDN)
          The Directory Number (which your application registered) involved in this request or event.
abstract  void setTransferConnID(ConnectionId transferConnID)
          Connection identifier of the transfer's consultation call.
 
Methods inherited from class com.genesyslab.platform.commons.protocol.Message
cloneMessage, getEndpoint, getMessageAttribute, getProtocolDescription, getProtocolId, messageId, messageName, setProtocolDescription
 
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
 

Field Detail

ID

public static final int ID
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Method Detail

create

public static RequestMergeCalls create()
Creates instance of RequestMergeCalls with no parameters set.

Returns:
instance of RequestMergeCalls

create

public static RequestMergeCalls create(java.lang.String thisDN,
                                       ConnectionId connID,
                                       ConnectionId transferConnID,
                                       MergeType mergeType,
                                       KeyValueCollection reasons,
                                       KeyValueCollection extensions)
Creates instance of RequestMergeCalls with all parameters set.

Parameters:
thisDN - DN of the controlling agent or Route Point.
connID - Connection identifier of the current call handled by the DN.
transferConnID - Connection identifier of the transfer's consultation call.
mergeType - Specifies whether merging should result in a transferred or conferenced call.
reasons - Additional data intended to specify reasons for and results of actions taken by the user.
extensions - An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data.
Returns:
instance of RequestMergeCalls

create

public static RequestMergeCalls create(java.lang.String thisDN,
                                       ConnectionId connID,
                                       ConnectionId transferConnID,
                                       MergeType mergeType)
Creates instance of RequestMergeCalls with required parameters set.

Parameters:
thisDN - DN of the controlling agent or Route Point.
connID - Connection identifier of the current call handled by the DN.
transferConnID - Connection identifier of the transfer's consultation call.
mergeType - Specifies whether merging should result in a transferred or conferenced call.
Returns:
instance of RequestMergeCalls

getReferenceID

public abstract java.lang.Integer getReferenceID()
Reference ID of the related request. In event objects, this reference ID indicates to which request the event refers to.


setReferenceID

public abstract void setReferenceID(java.lang.Integer referenceID)
Reference ID of the related request. In event objects, this reference ID indicates to which request the event refers to.


setReferenceID

public abstract void setReferenceID(int referenceID)
Reference ID of the related request. In event objects, this reference ID indicates to which request the event refers to.


getThisDN

public abstract java.lang.String getThisDN()
The Directory Number (which your application registered) involved in this request or event.


setThisDN

public abstract void setThisDN(java.lang.String thisDN)
The Directory Number (which your application registered) involved in this request or event.


getConnID

public abstract ConnectionId getConnID()
Connection identifier of the current call handled by the DN.


setConnID

public abstract void setConnID(ConnectionId connID)
Connection identifier of the current call handled by the DN.


getTransferConnID

public abstract ConnectionId getTransferConnID()
Connection identifier of the transfer's consultation call.


setTransferConnID

public abstract void setTransferConnID(ConnectionId transferConnID)
Connection identifier of the transfer's consultation call.


getMergeType

public abstract MergeType getMergeType()
Specifies whether merging should result in a transferred or conferenced call.

Returns:
property value

setMergeType

public abstract void setMergeType(MergeType mergeType)
Specifies whether merging should result in a transferred or conferenced call.

Parameters:
mergeType - new value of the property

getReasons

public abstract KeyValueCollection getReasons()
Additional data intended to specify reasons for and results of actions taken by the user.

Returns:
property value

setReasons

public abstract void setReasons(KeyValueCollection reasons)
Additional data intended to specify reasons for and results of actions taken by the user.

Parameters:
reasons - new value of the property

getExtensions

public abstract KeyValueCollection getExtensions()
An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data.

Returns:
property value

setExtensions

public abstract void setExtensions(KeyValueCollection extensions)
An additional data structure intended to take account of switch-specific features that cannot be described by other parameters or in the original structure of user data.

Parameters:
extensions - new value of the property

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.