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

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

public enum RedirectSettingProperties
extends Enum<RedirectSettingProperties>

This enum holds constants with the property names of the redirect settings as returned by UcpRedirectRequests.getRedirectSettings(String, String, String, String)


Enum Constant Summary
calledNumber
          The incoming number for which the redirect holds as String.
destination
          The destination of the redirect as String.
destinationType
          The type of the destination of the redirect setting as String with one of the values of RedirectSettingDestinationType
enabled
          A Boolean flag indicating if the redirect is enabled/active
groupId
          The id of a group as String if the number belongs to a user group
lastDestinationMailbox
          The last known selected destination voicemailbox as String
lastDestinationNumber
          The last known selected destination phonenumber as String
mailboxes
          A List of Map that hold the information about the mailboxes that are valid destinations for the current redirect setting.
timeout
          The timeout in seconds as Integer that will be used as a trigger for the redirect if the type is set to RedirectSettingType.TIMEOUT.
type
          The type of the redirect setting as String with one of the values of RedirectSettingType.
 
Method Summary
 OrderDirection getDefaultOrderDirection()
           
 Class<?> getType()
           
static RedirectSettingProperties valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RedirectSettingProperties[] 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

type

public static final RedirectSettingProperties type
The type of the redirect setting as String with one of the values of RedirectSettingType. The type together with the calledNumber uniquely identify the redirect setting.


calledNumber

public static final RedirectSettingProperties calledNumber
The incoming number for which the redirect holds as String. The calledNumber together with the type uniquely identify the redirect setting.


groupId

public static final RedirectSettingProperties groupId
The id of a group as String if the number belongs to a user group


enabled

public static final RedirectSettingProperties enabled
A Boolean flag indicating if the redirect is enabled/active


destinationType

public static final RedirectSettingProperties destinationType
The type of the destination of the redirect setting as String with one of the values of RedirectSettingDestinationType


destination

public static final RedirectSettingProperties destination
The destination of the redirect as String. This may either be a phone number if the destinationType is RedirectSettingDestinationType.PHONENUMBER or the id of one of the mailboxes given in mailboxes if the destinationType is RedirectSettingDestinationType.VOICEMAIL


mailboxes

public static final RedirectSettingProperties mailboxes
A List of Map that hold the information about the mailboxes that are valid destinations for the current redirect setting. The List contains one entry for every valid mailbox that is a Map with the properties defined in MailboxProperties.


timeout

public static final RedirectSettingProperties timeout
The timeout in seconds as Integer that will be used as a trigger for the redirect if the type is set to RedirectSettingType.TIMEOUT.


lastDestinationMailbox

public static final RedirectSettingProperties lastDestinationMailbox
The last known selected destination voicemailbox as String


lastDestinationNumber

public static final RedirectSettingProperties lastDestinationNumber
The last known selected destination phonenumber as String

Method Detail

values

public static RedirectSettingProperties[] 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 (RedirectSettingProperties c : RedirectSettingProperties.values())
    System.out.println(c);

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

valueOf

public static RedirectSettingProperties 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.