de.starface.integration.uci.java.v30.values
Enum CallListEntryProperties

java.lang.Object
  extended by java.lang.Enum<CallListEntryProperties>
      extended by de.starface.integration.uci.java.v30.values.CallListEntryProperties
All Implemented Interfaces:
Serializable, Comparable<CallListEntryProperties>

public enum CallListEntryProperties
extends Enum<CallListEntryProperties>

This enum holds constants with the property names of the call list entries as returned by UcpCallListRequests.getCallList(Date, Date, String, String, String, String, String, int, int)


Enum Constant Summary
callDescription
          A description of the call (usually the CLIP), if known as String
calledNumber
          The number that was called, if known as String
callerNumber
          The number of the caller, if known as String
direction
          The direction of the call as String with one of the values of CallListEntryDirection
duration
          The duration of the call in seconds as Integer
groupId
          The name of the group if this call was received by a group as String (the empty string otherwise)
id
          The id of the call list entry as String ATTENTION: This is not the same id as used in the call functions of UcpCallRequests and UcpCallEvents
result
          The result of the call as String with one of the values of CallListEntryResult
startTime
          The start time of the call as Date.
voicemailId
          The id of a voicemail that was recorded for the call if existing as String
 
Method Summary
 OrderDirection getDefaultOrderDirection()
           
 Class<?> getType()
           
static CallListEntryProperties valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CallListEntryProperties[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

id

public static final CallListEntryProperties id
The id of the call list entry as String ATTENTION: This is not the same id as used in the call functions of UcpCallRequests and UcpCallEvents


calledNumber

public static final CallListEntryProperties calledNumber
The number that was called, if known as String


callerNumber

public static final CallListEntryProperties callerNumber
The number of the caller, if known as String


callDescription

public static final CallListEntryProperties callDescription
A description of the call (usually the CLIP), if known as String


startTime

public static final CallListEntryProperties startTime
The start time of the call as Date. Per default dates will be orderd newest first


duration

public static final CallListEntryProperties duration
The duration of the call in seconds as Integer


direction

public static final CallListEntryProperties direction
The direction of the call as String with one of the values of CallListEntryDirection


result

public static final CallListEntryProperties result
The result of the call as String with one of the values of CallListEntryResult


voicemailId

public static final CallListEntryProperties voicemailId
The id of a voicemail that was recorded for the call if existing as String


groupId

public static final CallListEntryProperties groupId
The name of the group if this call was received by a group as String (the empty string otherwise)

Method Detail

values

public static CallListEntryProperties[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CallListEntryProperties c : CallListEntryProperties.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CallListEntryProperties valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDefaultOrderDirection

public OrderDirection getDefaultOrderDirection()
Returns:
the default OrderDirection for the current property

getType

public Class<?> getType()
Returns:
the java type of the property


Copyright © 2012 STARFACE GmbH. All rights reserved.