com.genesyslab.ail
Interface AbstractDnSummary

All Superinterfaces:
IdObject

public interface AbstractDnSummary
extends IdObject

Light static representation of a DN (in the Config Layer acception).


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.genesyslab.ail.IdObject
IdObject.ObjectType
 
Method Summary
 java.lang.String getAlias()
          Returns the alias of this DN, as defined in the Configuration Layer.
 java.util.Map getAnnex()
          Returns the options from the Annex of the DN object defined in the Configuration Layer.
 java.lang.String getAssociation()
          Returns the association property defined in the Configuration Layer.
 java.lang.String getCallableNumber()
          Returns the callable number of this DN.
 Dn.Media getMedia()
          Deprecated. since 7.0 - Dns are Voice media, others are none.
 java.lang.String getName()
          Returns this DN name as defined in the Configuration Layer.
 Switch getSwitch()
          Deprecated. since 7.5 Please use AilFactory.getSwitch(java.lang.String).
 java.lang.String getSwitchName()
          Returns the name of the switch to which this DN belongs.
 AbstractDn.Type getType()
          Returns the type.
 boolean isEnabled()
          Returns the Configuration Layer status.
 
Methods inherited from interface com.genesyslab.ail.IdObject
getId, getObjectType
 

Method Detail

getAlias

java.lang.String getAlias()
Returns the alias of this DN, as defined in the Configuration Layer.


getAnnex

java.util.Map getAnnex()
Returns the options from the Annex of the DN object defined in the Configuration Layer.

Since:
7.6.1

getAssociation

java.lang.String getAssociation()
Returns the association property defined in the Configuration Layer.


getSwitch

Switch getSwitch()
Deprecated. since 7.5 Please use AilFactory.getSwitch(java.lang.String).

Returns the switch.


getSwitchName

java.lang.String getSwitchName()
Returns the name of the switch to which this DN belongs.

Since:
7.5

getType

AbstractDn.Type getType()
Returns the type.


getMedia

Dn.Media getMedia()
Deprecated. since 7.0 - Dns are Voice media, others are none.

Returns the media type.


getCallableNumber

java.lang.String getCallableNumber()
Returns the callable number of this DN. This method may involves several requests to the config server and the stat server, be warned that the response time is not null.

Returns:
number to dial to join this DN. returns null if the callable number can't be found.
Since:
7.5

getName

java.lang.String getName()
Returns this DN name as defined in the Configuration Layer.

This name corresponds to the value for the number option value set in the Configuration Layer. This name does not include an "@switch" suffix. Note: By default, use IdObject.getId().


isEnabled

boolean isEnabled()
Returns the Configuration Layer status.

Returns:
true if the DN object is enabled in the Configuration Layer.