Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com.objects
Class CfgPlaceGroup

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.CfgPlaceGroup
All Implemented Interfaces:
ICfgBase, ICfgObject, java.lang.Cloneable

public class CfgPlaceGroup
extends CfgObject

You can group Places if, according to the call-processing algorithms, the calls have to be distributed among a set of Places under the control of CTI applications rather than through the ACD mechanisms of the Switch.

As an example, consider a call-parking service, where a routing application transfers a call to one of the ports assigned to a call-parking Place Group and attaches the information about the treatment to be applied to that call while it is parked.

The name of a place group must be unique within the tenant, but can coincide with the name of either an agent group or a DN group of the same tenant.

The name of a place group cannot be changed until there is at least one place listed in this group. See placeDBIDs property

Deletion of Place Group X will cause the following events set out in the order of arrival:



See also:

CfgDeltaPlaceGroup

CfgPlace


Field Summary
static CfgObjectType OBJECT_TYPE
           
 
Constructor Summary
CfgPlaceGroup(IConfService confService)
          This constructor is intended for creation of detached objects.
CfgPlaceGroup(IConfService confService, ConfObject objData, boolean isSaved, java.lang.Object[] additionalParameters)
          This constructor is intended for creation of objects from configuration protocol messages.
CfgPlaceGroup(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.
 CfgGroup getGroupInfo()
          A pointer to the structure CfgGroup containing general information about this group.
 java.util.Collection<java.lang.Integer> getPlaceDBIDs()
          Retrieves dbids of objects that are being linked to by the Places property.
 java.util.Collection<CfgPlace> getPlaces()
          A pointer to the list of identifiers of the Places that form this group.
 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 setGroupInfo(CfgGroup value)
          A pointer to the structure CfgGroup containing general information about this group.
 void setPlaceDBIDs(java.util.Collection<java.lang.Integer> value)
          Sets dbids collection of objects that are being linked to by the Places property.
 void setPlaces(java.util.Collection<CfgPlace> value)
          A pointer to the list of identifiers of the Places that form this group.
 
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

CfgPlaceGroup

public CfgPlaceGroup(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

CfgPlaceGroup

public CfgPlaceGroup(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

CfgPlaceGroup

public CfgPlaceGroup(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()

getGroupInfo

public final CfgGroup getGroupInfo()
A pointer to the structure CfgGroup containing general information about this group. Mandatory.

Returns:
property value or null

setGroupInfo

public final void setGroupInfo(CfgGroup value)
A pointer to the structure CfgGroup containing general information about this group. Mandatory.

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

getPlaces

public final java.util.Collection<CfgPlace> getPlaces()
A pointer to the list of identifiers of the Places that form this group. NOTE: Configuration Server does not place any restrictions regarding the types of DNs in the places that form a group.

Returns:
list of configuration objects or null

setPlaces

public final void setPlaces(java.util.Collection<CfgPlace> value)
A pointer to the list of identifiers of the Places that form this group. NOTE: Configuration Server does not place any restrictions regarding the types of DNs in the places that form a group.

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

getPlaceDBIDs

public final java.util.Collection<java.lang.Integer> getPlaceDBIDs()
Retrieves dbids of objects that are being linked to by the Places property. It's a snapshot collection containing original values. Modification of this collection instance will not affect actual value of the objects' property.

Returns:
collection of DBID identifiers of referred objects or null

setPlaceDBIDs

public final void setPlaceDBIDs(java.util.Collection<java.lang.Integer> value)
Sets dbids collection of objects that are being linked to by the Places property.

Parameters:
value - collection of DBID identifiers of referred objects

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.