Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com.objects
Class CfgVoicePrompt

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.com.CfgBase
      extended by com.genesyslab.platform.applicationblocks.com.CfgObject
          extended by com.genesyslab.platform.applicationblocks.com.objects.CfgVoicePrompt
All Implemented Interfaces:
ICfgBase, ICfgObject, java.lang.Cloneable

public class CfgVoicePrompt
extends CfgObject

Voice Prompts are call treatment objects that may include a set of actions to be applied to a called party.

Common/System Voice Prompts have to be located under \Environment \ Voice Prompts folders. The System Voice Prompts is available for all applications.

Tenant-specific Voice Prompts have to be located under \ Voice Prompts folders. The access to these prompts have only configuration objects with access permissions to this tenant only.

See also:

CfgDeltaVoicePrompt


Field Summary
static CfgObjectType OBJECT_TYPE
           
 
Constructor Summary
CfgVoicePrompt(IConfService confService)
          This constructor is intended for creation of detached objects.
CfgVoicePrompt(IConfService confService, ConfObject objData, boolean isSaved, java.lang.Object[] additionalParameters)
          This constructor is intended for creation of objects from configuration protocol messages.
CfgVoicePrompt(IConfService confService, org.w3c.dom.Node xmlData, java.lang.Object[] additionalParameters)
          This constructor is intended for creation of objects from configuration protocol messages.
 
Method Summary
 java.lang.Integer getDBID()
          An identifier of this object in the Configuration Database.
 java.lang.String getDescription()
          A pointer to the voice prompt description.
 java.lang.String getName()
          A pointer to the voice prompt name that identifies the voice prompt.
 CfgScript getScript()
          A unique identifier of the CfgScript for this voice prompt.
 java.lang.Integer getScriptDBID()
          Retrieves the dbid of the object that is being linked to by the Script property.
 CfgObjectState getState()
          Current object state.
 CfgSwitch getSwitch()
          A unique identifier of the CfgSwitch to which this voice prompt belongs.
 java.lang.Integer getSwitchDBID()
          Retrieves the dbid of the object that is being linked to by the Switch property.
 CfgTenant getTenant()
          A unique identifier of the CfgTenant to which this voice prompt is allocated.
 java.lang.Integer getTenantDBID()
          Retrieves the dbid of the object that is being linked to by the Tenant property.
 KeyValueCollection getUserProperties()
          A pointer to the list of user-defined properties.Parameter userProperties has the following structure: Each key-value pair of the primary list (TKVList *userProperties) uses the key for the name of a user-defined section, and the value for a secondary list, that also has the TKVList structure and specifies the properties defined within that section.
 void save()
          Synchronizes changes in the class with Configuration Server.
 void setDBID(java.lang.Integer value)
          An identifier of this object in the Configuration Database.
 void setDescription(java.lang.String value)
          A pointer to the voice prompt description.
 void setName(java.lang.String value)
          A pointer to the voice prompt name that identifies the voice prompt.
 void setScript(CfgScript value)
          A unique identifier of the CfgScript for this voice prompt.
 void setScriptDBID(int dbid)
          A unique identifier of the CfgScript for this voice prompt.
 void setState(CfgObjectState value)
          Current object state.
 void setSwitch(CfgSwitch value)
          A unique identifier of the CfgSwitch to which this voice prompt belongs.
 void setSwitchDBID(int dbid)
          A unique identifier of the CfgSwitch to which this voice prompt belongs.
 void setTenant(CfgTenant value)
          A unique identifier of the CfgTenant to which this voice prompt is allocated.
 void setTenantDBID(int dbid)
          A unique identifier of the CfgTenant to which this voice prompt is allocated.
 void setUserProperties(KeyValueCollection value)
          A pointer to the list of user-defined properties.Parameter userProperties has the following structure: Each key-value pair of the primary list (TKVList *userProperties) uses the key for the name of a user-defined section, and the value for a secondary list, that also has the TKVList structure and specifies the properties defined within that section.
 
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgObject
clone, delete, doSetFolderId, ensureDataBackup, getFolderId, getObjectDbid, getObjectPath, getObjectType, refresh, reloadObjectWithNewData, reloadObjectWithNewData, removeAccount, resetDataBackup, retrieveAccountPermissions, retrieveACL, retrievePermissions, setAccountPermissions, setAccountPermissions, setFolderId, update, updateACL
 
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgBase
equals, flushChildrenContent, getConfigurationService, getData, getEndpoint, getLinkListCollection, getLinkValue, getLogger, getMetaData, getParent, getProperty, getProperty, getProperty, getRawObjectData, hashCode, initStruct, isSaved, lockObject, resolveLink, setProperty, toString, toStringProperties, toXml, updateChildrenSavedState
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.genesyslab.platform.applicationblocks.com.ICfgBase
getEndpoint, getProperty, getRawObjectData, setProperty, toXml
 

Field Detail

OBJECT_TYPE

public static final CfgObjectType OBJECT_TYPE
Constructor Detail

CfgVoicePrompt

public CfgVoicePrompt(IConfService confService,
                      ConfObject objData,
                      boolean isSaved,
                      java.lang.Object[] additionalParameters)
This constructor is intended for creation of objects from configuration protocol messages. It is internally used by COM AB for objects deserialization.

Parameters:
confService - configuration service instance
objData - configuration protocol object data structure
isSaved - indicator of the object saved state
additionalParameters - additional parameters from configuration protocol message

CfgVoicePrompt

public CfgVoicePrompt(IConfService confService,
                      org.w3c.dom.Node xmlData,
                      java.lang.Object[] additionalParameters)
This constructor is intended for creation of objects from configuration protocol messages. It is internally used by COM AB for objects deserialization.

Parameters:
confService - configuration service instance
xmlData - XML object containing object data
additionalParameters - additional parameters from configuration protocol message

CfgVoicePrompt

public CfgVoicePrompt(IConfService confService)
This constructor is intended for creation of detached objects.

Parameters:
confService - configuration service instance
Method Detail

save

public void save()
          throws ConfigException
Synchronizes changes in the class with Configuration Server.

Specified by:
save in interface ICfgObject
Overrides:
save in class CfgObject
Throws:
ConfigException - in case of protocol level exception, data transformation, or server side constraints

getDBID

public final java.lang.Integer getDBID()
An identifier of this object in the Configuration Database. Generated by Configuration Server and is unique within an object type. Identifiers of deleted objects are not used again. Read-only.

Returns:
property value or null

setDBID

public final void setDBID(java.lang.Integer value)
An identifier of this object in the Configuration Database. Generated by Configuration Server and is unique within an object type. Identifiers of deleted objects are not used again. Read-only.

Parameters:
value - new property value
See Also:
getDBID()

getSwitch

public final CfgSwitch getSwitch()
A unique identifier of the CfgSwitch to which this voice prompt belongs. Optional.

Returns:
instance of referred object or null

setSwitch

public final void setSwitch(CfgSwitch value)
A unique identifier of the CfgSwitch to which this voice prompt belongs. Optional.

Parameters:
value - new property value
See Also:
getSwitch()

setSwitchDBID

public final void setSwitchDBID(int dbid)
A unique identifier of the CfgSwitch to which this voice prompt belongs. Optional.

Parameters:
dbid - DBID identifier of referred object
See Also:
getSwitch()

getSwitchDBID

public final java.lang.Integer getSwitchDBID()
Retrieves the dbid of the object that is being linked to by the Switch property.

Returns:
DBID identifier of referred object or null

getTenant

public final CfgTenant getTenant()
A unique identifier of the CfgTenant to which this voice prompt is allocated. Read only.

Returns:
instance of referred object or null

setTenant

public final void setTenant(CfgTenant value)
A unique identifier of the CfgTenant to which this voice prompt is allocated. Read only.

Parameters:
value - new property value
See Also:
getTenant()

setTenantDBID

public final void setTenantDBID(int dbid)
A unique identifier of the CfgTenant to which this voice prompt is allocated. Read only.

Parameters:
dbid - DBID identifier of referred object
See Also:
getTenant()

getTenantDBID

public final java.lang.Integer getTenantDBID()
Retrieves the dbid of the object that is being linked to by the Tenant property.

Returns:
DBID identifier of referred object or null

getName

public final java.lang.String getName()
A pointer to the voice prompt name that identifies the voice prompt. Should be equal to the voice prompt identifier provided by switch if used for parked call treating. Mandatory. Once specified cannot be changed. Must be unique within tenant it belongs to.

Returns:
property value or null

setName

public final void setName(java.lang.String value)
A pointer to the voice prompt name that identifies the voice prompt. Should be equal to the voice prompt identifier provided by switch if used for parked call treating. Mandatory. Once specified cannot be changed. Must be unique within tenant it belongs to.

Parameters:
value - new property value
See Also:
getName()

getDescription

public final java.lang.String getDescription()
A pointer to the voice prompt description. Can be used by parking platform or switch for generating voice prompt (Text-to-Speech).

Returns:
property value or null

setDescription

public final void setDescription(java.lang.String value)
A pointer to the voice prompt description. Can be used by parking platform or switch for generating voice prompt (Text-to-Speech).

Parameters:
value - new property value
See Also:
getDescription()

getScript

public final CfgScript getScript()
A unique identifier of the CfgScript for this voice prompt.

Returns:
instance of referred object or null

setScript

public final void setScript(CfgScript value)
A unique identifier of the CfgScript for this voice prompt.

Parameters:
value - new property value
See Also:
getScript()

setScriptDBID

public final void setScriptDBID(int dbid)
A unique identifier of the CfgScript for this voice prompt.

Parameters:
dbid - DBID identifier of referred object
See Also:
getScript()

getScriptDBID

public final java.lang.Integer getScriptDBID()
Retrieves the dbid of the object that is being linked to by the Script property.

Returns:
DBID identifier of referred object or null

getState

public final CfgObjectState getState()
Current object state. Mandatory. Refer to CfgObjectState

Returns:
property value or null

setState

public final void setState(CfgObjectState value)
Current object state. Mandatory. Refer to CfgObjectState

Parameters:
value - new property value
See Also:
getState()

getUserProperties

public final KeyValueCollection getUserProperties()
A pointer to the list of user-defined properties.Parameter userProperties has the following structure: Each key-value pair of the primary list (TKVList *userProperties) uses the key for the name of a user-defined section, and the value for a secondary list, that also has the TKVList structure and specifies the properties defined within that section.

Returns:
property value or null

setUserProperties

public final void setUserProperties(KeyValueCollection value)
A pointer to the list of user-defined properties.Parameter userProperties has the following structure: Each key-value pair of the primary list (TKVList *userProperties) uses the key for the name of a user-defined section, and the value for a secondary list, that also has the TKVList structure and specifies the properties defined within that section.

Parameters:
value - new property value
See Also:
getUserProperties()

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.