Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com.objects
Class CfgAgentInfo

java.lang.Object
  extended by com.genesyslab.platform.applicationblocks.com.CfgBase
      extended by com.genesyslab.platform.applicationblocks.com.CfgStructure
          extended by com.genesyslab.platform.applicationblocks.com.objects.CfgAgentInfo
All Implemented Interfaces:
ICfgBase, ICfgStructure

public class CfgAgentInfo
extends CfgStructure

CfgAgentInfo contains information about an Agent.


Constructor Summary
CfgAgentInfo(IConfService confService, ConfStructure objData, ICfgObject parent)
          This constructor is intended for creation of structures from external or imported XML data.
CfgAgentInfo(IConfService confService, ICfgObject parent)
          This constructor is intended for creation of detached objects.
CfgAgentInfo(IConfService confService, org.w3c.dom.Node xmlData, ICfgObject parent)
          This constructor is intended for creation of structures from external or imported XML data.
 
Method Summary
 java.util.Collection<CfgAgentLoginInfo> getAgentLogins()
          A pointer to the list of the agent logins assigned to this agent (every item of this list is structured as CfgAgentLoginInfo ).
 CfgScript getCapacityRule()
          A unique identifier of the capacity rule ( CfgScript ) associated with this agent.
 java.lang.Integer getCapacityRuleDBID()
          Retrieves the dbid of the object that is being linked to by the CapacityRule property.
 CfgObjectiveTable getContract()
          A unique identifier of Cost Contract (CfgObjectiveTable) with which this Agent is associated.
 java.lang.Integer getContractDBID()
          Retrieves the dbid of the object that is being linked to by the Contract property.
 CfgPlace getPlace()
          A unique identifier of the Place assigned to this agent by default.
 java.lang.Integer getPlaceDBID()
          Retrieves the dbid of the object that is being linked to by the Place property.
 CfgFolder getSite()
          A unique identifier of Site (CfgFolder) with which this Agent is associated.
 java.lang.Integer getSiteDBID()
          Retrieves the dbid of the object that is being linked to by the Site property.
 java.util.Collection<CfgSkillLevel> getSkillLevels()
          A pointer to the list of the agent's skill levels (every item of this list is structured as CfgSkillLevel ).
 void setAgentLogins(java.util.Collection<CfgAgentLoginInfo> value)
          A pointer to the list of the agent logins assigned to this agent (every item of this list is structured as CfgAgentLoginInfo ).
 void setCapacityRule(CfgScript value)
          A unique identifier of the capacity rule ( CfgScript ) associated with this agent.
 void setCapacityRuleDBID(int dbid)
          A unique identifier of the capacity rule ( CfgScript ) associated with this agent.
 void setContract(CfgObjectiveTable value)
          A unique identifier of Cost Contract (CfgObjectiveTable) with which this Agent is associated.
 void setContractDBID(int dbid)
          A unique identifier of Cost Contract (CfgObjectiveTable) with which this Agent is associated.
 void setPlace(CfgPlace value)
          A unique identifier of the Place assigned to this agent by default.
 void setPlaceDBID(int dbid)
          A unique identifier of the Place assigned to this agent by default.
 void setSite(CfgFolder value)
          A unique identifier of Site (CfgFolder) with which this Agent is associated.
 void setSiteDBID(int dbid)
          A unique identifier of Site (CfgFolder) with which this Agent is associated.
 void setSkillLevels(java.util.Collection<CfgSkillLevel> value)
          A pointer to the list of the agent's skill levels (every item of this list is structured as CfgSkillLevel ).
 
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgStructure
getParent, updateChildrenSavedState
 
Methods inherited from class com.genesyslab.platform.applicationblocks.com.CfgBase
clone, ensureDataBackup, equals, flushChildrenContent, getConfigurationService, getData, getEndpoint, getLinkListCollection, getLinkValue, getLogger, getMetaData, getProperty, getProperty, getProperty, getRawObjectData, hashCode, initStruct, isSaved, lockObject, reloadObjectWithNewData, resolveLink, setProperty, toString, toStringProperties, toXml
 
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
 

Constructor Detail

CfgAgentInfo

public CfgAgentInfo(IConfService confService,
                    ConfStructure objData,
                    ICfgObject parent)
This constructor is intended for creation of structures from external or imported XML data. It is internally used by COM AB for objects and structures deserialization.

Parameters:
confService - configuration service instance
objData - configuration protocol structure data
parent - instance of configuration object as a parent for this structure instance

CfgAgentInfo

public CfgAgentInfo(IConfService confService,
                    org.w3c.dom.Node xmlData,
                    ICfgObject parent)
This constructor is intended for creation of structures from external or imported XML data. It is internally used by COM AB for objects and structures deserialization.

Parameters:
confService - configuration service instance
xmlData - XML object containing structure data
parent - instance of configuration object as a parent for this structure instance

CfgAgentInfo

public CfgAgentInfo(IConfService confService,
                    ICfgObject parent)
This constructor is intended for creation of detached objects.

Parameters:
confService - configuration service instance
parent - instance of configuration object as a parent for this structure instance
Method Detail

getPlace

public final CfgPlace getPlace()
A unique identifier of the Place assigned to this agent by default. The place must belong to the same tenant as the person in question unless this Agent belongs to the tenant Environment (with DBID=1)

Returns:
instance of referred object or null

setPlace

public final void setPlace(CfgPlace value)
A unique identifier of the Place assigned to this agent by default. The place must belong to the same tenant as the person in question unless this Agent belongs to the tenant Environment (with DBID=1)

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

setPlaceDBID

public final void setPlaceDBID(int dbid)
A unique identifier of the Place assigned to this agent by default. The place must belong to the same tenant as the person in question unless this Agent belongs to the tenant Environment (with DBID=1)

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

getPlaceDBID

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

Returns:
DBID identifier of referred object or null

getSkillLevels

public final java.util.Collection<CfgSkillLevel> getSkillLevels()
A pointer to the list of the agent's skill levels (every item of this list is structured as CfgSkillLevel ). When used as an entry in CfgDeltaAgentInfo (see below), it is a pointer to a list of skill levels added to the existing list.

Returns:
list of structures or null

setSkillLevels

public final void setSkillLevels(java.util.Collection<CfgSkillLevel> value)
A pointer to the list of the agent's skill levels (every item of this list is structured as CfgSkillLevel ). When used as an entry in CfgDeltaAgentInfo (see below), it is a pointer to a list of skill levels added to the existing list.

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

getAgentLogins

public final java.util.Collection<CfgAgentLoginInfo> getAgentLogins()
A pointer to the list of the agent logins assigned to this agent (every item of this list is structured as CfgAgentLoginInfo ). When used as an entry in CfgDeltaAgentInfo (see below), it is a pointer to a list of agent logins added to the existing list.

Returns:
list of structures or null

setAgentLogins

public final void setAgentLogins(java.util.Collection<CfgAgentLoginInfo> value)
A pointer to the list of the agent logins assigned to this agent (every item of this list is structured as CfgAgentLoginInfo ). When used as an entry in CfgDeltaAgentInfo (see below), it is a pointer to a list of agent logins added to the existing list.

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

getCapacityRule

public final CfgScript getCapacityRule()
A unique identifier of the capacity rule ( CfgScript ) associated with this agent.

Returns:
instance of referred object or null

setCapacityRule

public final void setCapacityRule(CfgScript value)
A unique identifier of the capacity rule ( CfgScript ) associated with this agent.

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

setCapacityRuleDBID

public final void setCapacityRuleDBID(int dbid)
A unique identifier of the capacity rule ( CfgScript ) associated with this agent.

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

getCapacityRuleDBID

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

Returns:
DBID identifier of referred object or null

getSite

public final CfgFolder getSite()
A unique identifier of Site (CfgFolder) with which this Agent is associated.

Returns:
instance of referred object or null

setSite

public final void setSite(CfgFolder value)
A unique identifier of Site (CfgFolder) with which this Agent is associated.

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

setSiteDBID

public final void setSiteDBID(int dbid)
A unique identifier of Site (CfgFolder) with which this Agent is associated.

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

getSiteDBID

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

Returns:
DBID identifier of referred object or null

getContract

public final CfgObjectiveTable getContract()
A unique identifier of Cost Contract (CfgObjectiveTable) with which this Agent is associated.

Returns:
instance of referred object or null

setContract

public final void setContract(CfgObjectiveTable value)
A unique identifier of Cost Contract (CfgObjectiveTable) with which this Agent is associated.

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

setContractDBID

public final void setContractDBID(int dbid)
A unique identifier of Cost Contract (CfgObjectiveTable) with which this Agent is associated.

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

getContractDBID

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

Returns:
DBID identifier of referred object or null

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.