Platform SDK Java 8.5 API Reference

com.genesyslab.platform.reporting.protocol.statserver
Class PlaceStatus

java.lang.Object
  extended by com.genesyslab.platform.reporting.protocol.statserver.PlaceStatus
All Implemented Interfaces:
XmlSerializable, IStatisticState, IStatisticStatus, Printable

public final class PlaceStatus
extends java.lang.Object
implements IStatisticStatus

Contains information about a the status of a Place in the Genesys Configuration Layer.

Details may be found here - Object Statuses or Place and Agent Status in the Stat Server User's Guide.
Or in the Stat Server Deployment Guide - Table and Column Descriptions.

See Also:
DnActions

Constructor Summary
PlaceStatus()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void fromXml(org.w3c.dom.Element element, XmlUtil util)
           
 java.lang.String getAgentId()
           
 int getDnCount()
           
 DnStatusesCollection getDnStatuses()
           
 java.lang.String getLoginId()
           
 StatisticObjectType getObjectType()
           
 java.lang.String getPlaceId()
           
 int getStatus()
          The status of the place whose DBID appears in the PlaceDBID field or the status of the agent whose DBID appears in the AgentDBID field.
 long getTime()
           
 int hashCode()
           
 void setAgentId(java.lang.String agentId)
           
 void setDnStatuses(DnStatusesCollection dns)
           
 void setLoginId(java.lang.String loginId)
           
 void setPlaceId(java.lang.String placeId)
           
 void setStatus(int placeStatus)
          The status of the place whose DBID appears in the PlaceDBID field or the status of the agent whose DBID appears in the AgentDBID field.
 void setTime(int timeActive)
           
 java.lang.String toString()
           
 java.lang.String toString(int indent)
           
 org.w3c.dom.Element toXml(org.w3c.dom.Element element, XmlUtil util)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlaceStatus

public PlaceStatus()
Method Detail

getObjectType

public StatisticObjectType getObjectType()
Specified by:
getObjectType in interface IStatisticState

getDnCount

public int getDnCount()

getDnStatuses

public DnStatusesCollection getDnStatuses()

getPlaceId

public java.lang.String getPlaceId()

getStatus

public int getStatus()
The status of the place whose DBID appears in the PlaceDBID field or the status of the agent whose DBID appears in the AgentDBID field. If agent is logged into a place, he or she shares the status of the place and this status is written to the table. Agent status is written when the agent is not logged into any place. The following lists STATUS field values and their significance:
codeStatus
4- WaitForNextCall (Ready)
5- OffHook
6- CallDialing
7- CallRinging
8- NotReadyForNextCall
9- AfterCallWork
13- CallOnHold
16- ASM_Engaged
17- ASM_Outbound
18- CallUnknown
19- CallConsult
20- CallInternal
21- CallOutbound
22- CallInbound

Returns:
the Place status code.

getTime

public long getTime()

getAgentId

public java.lang.String getAgentId()

getLoginId

public java.lang.String getLoginId()

setPlaceId

public void setPlaceId(java.lang.String placeId)

setStatus

public void setStatus(int placeStatus)
The status of the place whose DBID appears in the PlaceDBID field or the status of the agent whose DBID appears in the AgentDBID field. If agent is logged into a place, he or she shares the status of the place and this status is written to the table. Agent status is written when the agent is not logged into any place. The following lists STATUS field values and their significance:
codeStatus
4- WaitForNextCall (Ready)
5- OffHook
6- CallDialing
7- CallRinging
8- NotReadyForNextCall
9- AfterCallWork
13- CallOnHold
16- ASM_Engaged
17- ASM_Outbound
18- CallUnknown
19- CallConsult
20- CallInternal
21- CallOutbound
22- CallInbound

Parameters:
placeStatus - the Place status code.

setTime

public void setTime(int timeActive)

setDnStatuses

public void setDnStatuses(DnStatusesCollection dns)

setAgentId

public void setAgentId(java.lang.String agentId)

setLoginId

public void setLoginId(java.lang.String loginId)

toXml

public org.w3c.dom.Element toXml(org.w3c.dom.Element element,
                                 XmlUtil util)
                          throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
toXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

fromXml

public void fromXml(org.w3c.dom.Element element,
                    XmlUtil util)
             throws com.genesyslab.platform.commons.protocol.runtime.codec.CodecException
Specified by:
fromXml in interface XmlSerializable
Throws:
com.genesyslab.platform.commons.protocol.runtime.codec.CodecException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int indent)
Specified by:
toString in interface Printable

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.