de.starface.integration.uci.java.v30.types
Class UciQueueCall

java.lang.Object
  extended by de.starface.integration.uci.java.v30.types.UciQueueCall
All Implemented Interfaces:
Serializable

@RpcValueObject
public class UciQueueCall
extends Object
implements Serializable

Represents the Information about the call(er)

See Also:
Serialized Form

Constructor Summary
UciQueueCall()
           
UciQueueCall(String callId, String callerName, String callerNumber, Date incomingTimestamp, Integer queueId, Integer priority, QueueCallState state, List<Integer> agents, UUID callerLegId, int position)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Integer> getAgents()
           
 UUID getCallerLegUuid()
           
 String getCallerName()
           
 String getCallerNumber()
           
 String getCallId()
           
 Date getConnectedTime()
           
 Date getIncommingTime()
           
 int getPosition()
           
 Integer getPriority()
           
 Integer getQueueAccountId()
           
 QueueCallState getState()
           
 int hashCode()
           
 void setAgents(List<Integer> agents)
           
 void setCallerLegUuid(UUID callerLegUuid)
           
 void setCallerName(String callerName)
           
 void setCallerNumber(String callerNumber)
           
 void setCallId(String callId)
           
 void setConnectedTime(Date connectedTime)
           
 void setIncommingTime(Date incommingTime)
           
 void setPosition(int position)
           
 void setPriority(Integer priority)
           
 void setQueueAccountId(Integer queueId)
           
 void setState(QueueCallState state)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UciQueueCall

public UciQueueCall()

UciQueueCall

public UciQueueCall(String callId,
                    String callerName,
                    String callerNumber,
                    Date incomingTimestamp,
                    Integer queueId,
                    Integer priority,
                    QueueCallState state,
                    List<Integer> agents,
                    UUID callerLegId,
                    int position)
Method Detail

getCallId

public String getCallId()
Returns:
Returns the Id of the Call which is unique but not unchangeable.

getPriority

public Integer getPriority()
Returns:
Returns the priority of the caller

setPriority

public void setPriority(Integer priority)
Parameters:
priority - The priority of the caller

getQueueAccountId

public Integer getQueueAccountId()
Returns:
Returns the accountid of the queue

setQueueAccountId

public void setQueueAccountId(Integer queueId)
Parameters:
queueId - The accountid of the queue

getState

public QueueCallState getState()
Returns:
Returns the state.

setState

public void setState(QueueCallState state)
Parameters:
state - The state to set.

getAgents

public List<Integer> getAgents()
Returns:
Returns the agents that are currently associated (ringing, connected) with this call.

setAgents

public void setAgents(List<Integer> agents)
Parameters:
agents - The agents that are currently associated (ringing, connected) with this call.

getCallerName

public String getCallerName()
Returns:
Returns the name of the caller if known.

setCallerName

public void setCallerName(String callerName)
Parameters:
callerName - The name of the caller if known.

getCallerNumber

public String getCallerNumber()
Returns:
Returns the number of the caller if known.

setCallerNumber

public void setCallerNumber(String callerNumber)
Parameters:
callerNumber - The number of the caller if known.

getIncommingTime

public Date getIncommingTime()
Returns:
Returns an UTC timestamp that defines when the call entered the queue

setIncommingTime

public void setIncommingTime(Date incommingTime)
Parameters:
incommingTime - An UTC timestamp that defines when the call entered the queue

getConnectedTime

public Date getConnectedTime()
Returns:
Returns an UTC timestamp that defines when the call was answered the first time by an agent

setConnectedTime

public void setConnectedTime(Date connectedTime)
Parameters:
connectedTime - An UTC timestamp that defines when the call was answered the first time by an agent

setCallId

public void setCallId(String callId)
Parameters:
callId - The Id of the Call which is unique but not unchangeable.

getCallerLegUuid

public UUID getCallerLegUuid()
Returns:
the callerLegUuid

setCallerLegUuid

public void setCallerLegUuid(UUID callerLegUuid)
Parameters:
callerLegUuid - the callerLegUuid to set

getPosition

public int getPosition()
Returns:
the position

setPosition

public void setPosition(int position)
Parameters:
position - the position to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 STARFACE GmbH. All rights reserved.