|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.soa.parlayx21.call_handling.CallHandlingProxy
public class CallHandlingProxy
Constructor Summary | |
---|---|
CallHandlingProxy()
|
Method Summary | |
---|---|
void |
clearRules(java.net.URI[] addresses)
Clear the call handling rules associated with the addresses specified. |
CallHandling |
getCallHandling()
|
java.lang.String |
getEndpoint()
|
CallHandlingRules |
getRules(java.net.URI address)
Get the call handling rules for an address (the destination for the call). |
void |
setEndpoint(java.lang.String endpoint)
|
void |
setRules(java.net.URI address,
CallHandlingRules rules)
Set the call handling rules for an address (the destination for the call). |
SetRulesResult[] |
setRulesForGroup(java.net.URI[] addresses,
CallHandlingRules rules)
Set the call handling rules for multiple addresses (the destination for calls). |
void |
useJNDI(boolean useJNDI)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallHandlingProxy()
Method Detail |
---|
public void useJNDI(boolean useJNDI)
public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String endpoint)
public CallHandling getCallHandling()
public void setRules(java.net.URI address, CallHandlingRules rules) throws java.rmi.RemoteException, PolicyException, ServiceException
CallHandling
Set the call handling rules for an address (the destination for the call). If a set of rules is already in place for the address, then this operation will replace the old rules with the set provided in this operation.
The address may not specify a group. If a group is specified, a PolicyException will be returned.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0006: Groups not allowed.
setRules
in interface CallHandling
address
- xsd:anyURI
Address to handle calls forrules
- CallHandlingRules
Rules to apply for this address
java.rmi.RemoteException
PolicyException
ServiceException
public SetRulesResult[] setRulesForGroup(java.net.URI[] addresses, CallHandlingRules rules) throws java.rmi.RemoteException, PolicyException, ServiceException
CallHandling
Set the call handling rules for multiple addresses (the destination for calls). If a set of rules is already in place for any of the addresses, then this operation will replace the old rules with the set provided in this operation.
The addresses may include groups, with members using the 'tel:' and 'sip:' URIs in the manner defined in ES 202 3911 [2]. Wildcards may not be used to specify addresses.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
* SVC0004: No valid addresses.
* SVC0006: Invalid group.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0006: Groups not allowed.
* POL0007: Nested groups not allowed.
setRulesForGroup
in interface CallHandling
addresses
- xsd:anyURI [1..unbounded]
Addresses to handle calls forrules
- CallHandlingRules
Rules to apply for these addresses
java.rmi.RemoteException
PolicyException
ServiceException
public CallHandlingRules getRules(java.net.URI address) throws java.rmi.RemoteException, PolicyException, ServiceException
CallHandling
Get the call handling rules for an address (the destination for the call).
The address may not specify a group. If a group is specified, a PolicyException will be returned.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0006: Groups not allowed.
getRules
in interface CallHandling
address
- xsd:anyURI
Address to handle calls for
java.rmi.RemoteException
PolicyException
ServiceException
public void clearRules(java.net.URI[] addresses) throws java.rmi.RemoteException, PolicyException, ServiceException
CallHandling
Clear the call handling rules associated with the addresses specified. If no rules have been set for an address, this operation silently ignores the request, and does not return an error or fault message. The addresses may include groups, with members using the 'tel:' and 'sip:' URIs in the manner defined in
ES 202 391-1 [2]. Wildcards may not be used to specify addresses.
ServiceException from ES 202 391-1 [2]:
* SVC0001: Service error.
* SVC0002: Invalid input value.
* SVC0006: Invalid group.
PolicyException from ES 202 391-1 [2]:
* POL0001: Policy error.
* POL0006: Groups not allowed.
* POL0007: Nested groups not allowed.
clearRules
in interface CallHandling
addresses
- xsd:anyURI [1..unbounded]
Addresses to clear call handling for
java.rmi.RemoteException
PolicyException
ServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |