Class FeatureInvocationParameters
- java.lang.Object
-
- com.avaya.clientservices.call.feature.FeatureInvocationParameters
-
public class FeatureInvocationParameters extends java.lang.ObjectParameters for a specific feature invocation.
-
-
Constructor Summary
Constructors Constructor Description FeatureInvocationParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)FeatureActiongetAction()Gets the action used in 'avaya-cm-action' parameter of the feature invocation.java.lang.StringgetDestination()Gets the destination used in 'avaya-cm-destination=<destination>' or in 'term-destination=<destination>' for the callback call feature.java.lang.StringgetDialCode()EnhancedCallForwardingStatusgetEnhancedCallForwardingStatus()Get the EnhancedCallForwardingStatus to be passed as parameter for invocation of Enhanced Call Forward feature.java.lang.StringgetExtension()Get the extension used in 'avaya-cm-extension=<extension>' or in 'callback-destination=<extension>' for the callback call feature.intgetGroupNumber()Get the group number associated with the feature populated from avaya-cm-group parameter of feature status notifyintgetHuntGroupNumber()Deprecated.THIS METHOD WILL BE REMOVED.java.lang.StringgetOwnerExtension()Get the extension used in the To and Request-URI of this feature invocation (instead of the local user's AOR).intgetPickupNumber()Get the number used in 'avaya-cm-pickup-number=<number>'.SimRingCallbackStatusParametersgetSimRingCallbackStatusParameters()Get the SimRingCallbackStatusParameters to be passed as parameter for Callback / Simultaneous Ring feature invocation.inthashCode()voidsetAction(FeatureAction action)Set the action used in 'avaya-cm-action' parameter of the feature invocation.voidsetDestination(java.lang.String destination)Sets the destination used in 'avaya-cm-destination' parameter of the feature invocation or in 'term-destination' parameter for the callback call feature.voidsetDialCode(java.lang.String dialCode)The dial code to be used in avaya-cm-dial-code parameter for intercom feature invocationvoidsetEnhancedCallForwardingStatus(EnhancedCallForwardingStatus enhancedCallForwardingStatus)For Enhanced Call Forward feature invocation, populate EnhancedCallForwardingStatus parameter.voidsetExtension(java.lang.String extension)Sets the extension used in 'avaya-cm-extension=<extension>' or in 'callback-destination=<extension>' for the callback call feature.voidsetGroupNumber(int groupNumber)The Group Number to be used in avaya-cm-group parameter for hunt-group-busy-position/intercom features invocationvoidsetHuntGroupNumber(int huntGroupNumber)Deprecated.THIS METHOD WILL BE REMOVED.voidsetOwnerExtension(java.lang.String ownerExtension)Set the extension used in the To and Request-URI of this feature invocation (instead of the local user's AOR).voidsetPickupNumber(int pickupNumber)Set the number used in 'avaya-cm-pickup-number=<number>'.voidsetSimRingCallbackStatusParameters(SimRingCallbackStatusParameters simRingCallbackStatusParameters)For Callback / Simultaneous Ring feature invocation, populate SimRingCallbackStatusParameters parameter.java.lang.StringtoString()
-
-
-
Method Detail
-
setAction
public void setAction(FeatureAction action)
Set the action used in 'avaya-cm-action' parameter of the feature invocation. When action is UNDEFINED, avaya-cm-action is not used during feature invocation.- Parameters:
action- The feature action.
-
getAction
public FeatureAction getAction()
Gets the action used in 'avaya-cm-action' parameter of the feature invocation. When action is UNDEFINED, avaya-cm-action is not used during feature invocation.- Returns:
- The feature action.
-
setDestination
public void setDestination(java.lang.String destination)
Sets the destination used in 'avaya-cm-destination' parameter of the feature invocation or in 'term-destination' parameter for the callback call feature. When destination is empty, avaya-cm-destination and term-destination are not used during feature invocation.- Parameters:
destination- The feature destination.
-
getDestination
public java.lang.String getDestination()
Gets the destination used in 'avaya-cm-destination=<destination>' or in 'term-destination=<destination>' for the callback call feature. When destination is empty, avaya-cm-destination and term-destination are not used during feature invocation.- Returns:
- The feature destination.
-
setExtension
public void setExtension(java.lang.String extension)
Sets the extension used in 'avaya-cm-extension=<extension>' or in 'callback-destination=<extension>' for the callback call feature. When extension is empty, avaya-cm-extension and callback-destination are not used during feature invocation.- Parameters:
extension- The feature extension.
-
getExtension
public java.lang.String getExtension()
Get the extension used in 'avaya-cm-extension=<extension>' or in 'callback-destination=<extension>' for the callback call feature. When extension is empty, avaya-cm-extension and callback-destination are not used during feature invocation.- Returns:
- The feature extension.
-
setPickupNumber
public void setPickupNumber(int pickupNumber)
Set the number used in 'avaya-cm-pickup-number=<number>'. When pickup number is less than 0, avaya-cm-pickup-number is not used during feature invocation.- Parameters:
pickupNumber- The feature pickup number.
-
getPickupNumber
public int getPickupNumber()
Get the number used in 'avaya-cm-pickup-number=<number>'. When pickup number is less than 0, avaya-cm-pickup-number is not used during feature invocation.- Returns:
- The feature pickup number.
-
setOwnerExtension
public void setOwnerExtension(java.lang.String ownerExtension)
Set the extension used in the To and Request-URI of this feature invocation (instead of the local user's AOR). When this argument is empty, local user's AOR is used for feature invocation.- Parameters:
ownerExtension- The feature owner extension.
-
getOwnerExtension
public java.lang.String getOwnerExtension()
Get the extension used in the To and Request-URI of this feature invocation (instead of the local user's AOR). When this argument is empty, local user's AOR is used for feature invocation.- Returns:
- The feature owner extension.
-
setEnhancedCallForwardingStatus
public void setEnhancedCallForwardingStatus(EnhancedCallForwardingStatus enhancedCallForwardingStatus)
For Enhanced Call Forward feature invocation, populate EnhancedCallForwardingStatus parameter. This argument is empty, for rest of feature invocation.- Parameters:
enhancedCallForwardingStatus- The parameter to set call forward.
-
getEnhancedCallForwardingStatus
public EnhancedCallForwardingStatus getEnhancedCallForwardingStatus()
Get the EnhancedCallForwardingStatus to be passed as parameter for invocation of Enhanced Call Forward feature. This argument will be empty while any other feature invocation.- Returns:
- The EnhancedCallForwardingStatus to be set for call forward.
-
setSimRingCallbackStatusParameters
public void setSimRingCallbackStatusParameters(SimRingCallbackStatusParameters simRingCallbackStatusParameters)
For Callback / Simultaneous Ring feature invocation, populate SimRingCallbackStatusParameters parameter. This argument is empty, for rest of feature invocation.- Parameters:
simRingCallbackStatusParameters- The parameter to set up the Callback / Simultaneous Ring feature invocation.
-
getSimRingCallbackStatusParameters
public SimRingCallbackStatusParameters getSimRingCallbackStatusParameters()
Get the SimRingCallbackStatusParameters to be passed as parameter for Callback / Simultaneous Ring feature invocation. This argument will be empty while any other feature invocation.- Returns:
- The SimRingCallbackStatusParameters to be set for Callback / Simultaneous Ring feature invocation.
-
setHuntGroupNumber
@Deprecated public void setHuntGroupNumber(int huntGroupNumber)
Deprecated.THIS METHOD WILL BE REMOVED. UsesetGroupNumber(int)instead.The Hunt Group Number to be used in avaya-cm-group parameter for the hunt-group-busy-position feature invocation- Parameters:
huntGroupNumber- The hunt group number associated with hunt-group-busy-position feature.
-
getHuntGroupNumber
@Deprecated public int getHuntGroupNumber()
Deprecated.THIS METHOD WILL BE REMOVED. UsegetGroupNumber()instead.Get the hunt group number associated with the feature populated from avaya-cm-group parameter of feature status notify- Returns:
- The hunt group number associated with hunt-group-busy-position feature.
-
setGroupNumber
public void setGroupNumber(int groupNumber)
The Group Number to be used in avaya-cm-group parameter for hunt-group-busy-position/intercom features invocation- Parameters:
groupNumber- The group number.
-
getGroupNumber
public int getGroupNumber()
Get the group number associated with the feature populated from avaya-cm-group parameter of feature status notify- Returns:
- The group number.
-
setDialCode
public void setDialCode(java.lang.String dialCode)
The dial code to be used in avaya-cm-dial-code parameter for intercom feature invocation- Parameters:
dialCode- The dial code.
-
getDialCode
public java.lang.String getDialCode()
- Returns:
- the dial code associated with auto intercom feature.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-