|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DnFunction
The "physical" operations and states of a DN.
This class is a set of features that can be available independently depending on the
switch capabilities.
| Nested Class Summary | |
|---|---|
static class |
DnFunction.Action
Enum for the possible actions. |
static class |
DnFunction.Status
Enum for the status of the feature. |
static class |
DnFunction.Type
Enum for the available features or DN functions. |
| Nested classes/interfaces inherited from interface com.genesyslab.ail.IdObject |
|---|
IdObject.ObjectType |
| Method Summary | |
|---|---|
void |
addDnFunctionListener(DnFunctionListener listener)
Adds a listener. |
void |
cancelForward(java.util.Map reasons,
java.util.Map extensions)
Cancels the Forward on the associated DN. |
Dn |
getDn()
Returns the associated DN object. |
DnFunction.Status |
getDNDStatus()
Returns the Status of the current DND function. |
java.lang.String |
getForwardNumber()
If the Forward is active, returns the destination number. |
DnFunction.Status |
getForwardStatus()
Returns the status of the current Forward function. |
DnFunction.Status |
getHookStatus()
Returns the status of the current Hook function. |
void |
removeDnFunctionListener(DnFunctionListener listener)
Removes a listener. |
void |
setDNDOff(java.util.Map reasons,
java.util.Map extensions)
Sets the Do Not Disturb feature to Off. |
void |
setDNDOn(java.util.Map reasons,
java.util.Map extensions)
Sets the Do Not Disturb feature to on. |
void |
setForward(java.lang.String number,
java.util.Map reasons,
java.util.Map extensions)
Sets the Forward on the associated DN. |
| Methods inherited from interface com.genesyslab.ail.Possible |
|---|
arePossible, isPossible |
| Methods inherited from interface com.genesyslab.ail.IdObject |
|---|
getId, getObjectType |
| Method Detail |
|---|
Dn getDn()
null.DnFunction.Status getDNDStatus()
Status of the current DND function.
DnFunction.Status getHookStatus()
DnFunction.Status getForwardStatus()
java.lang.String getForwardNumber()
void setDNDOn(java.util.Map reasons,
java.util.Map extensions)
throws RequestFailedException
reasons - Additional information associated with this action. Or
null if no reason is provided.extensions - Additional switch-specific information that has to be
transmitted with this request. Or null if no extension is
provided.
RequestFailedException - if the request could not be completed.
void setDNDOff(java.util.Map reasons,
java.util.Map extensions)
throws RequestFailedException
reasons - Additional information associated with this action. Or
null if no reason is provided.extensions - Additional switch-specific information that has to be
transmitted with this request. Or null if no extension is
provided.
RequestFailedException - if the request could not be completed.
void setForward(java.lang.String number,
java.util.Map reasons,
java.util.Map extensions)
throws RequestFailedException
number - the target DN of the Forward.reasons - Additional information associated with this action. Or
null if no reason is provided.extensions - Additional switch-specific information that has to be
transmitted with this request. Or null if no extension is
provided.
RequestFailedException - if the request could not be completed.
void cancelForward(java.util.Map reasons,
java.util.Map extensions)
throws RequestFailedException
reasons - Additional information associated with this action. Or
null if no reason is provided.extensions - Additional switch-specific information that has to be
transmitted with this request. Or null if no extension is
provided.
RequestFailedException - if the request could not be completed.void addDnFunctionListener(DnFunctionListener listener)
void removeDnFunctionListener(DnFunctionListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||