|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ShortCodeMapper OAM interface; this service is shared among all plug-ins. Translates the original destination address of a network-triggered message to a translated destination address. The translated destination address is used when the message is matched with notification registrations. This makes it possible for an application to register for a notification from a single shortcode and receive messages sent to a range of short codes (original destination addresses).
Note: Shortcode translation takes place before mapping a mobile originated message to registered application notifications. If two or more short code translations match an original destination number the best match, the most specific, is chosen.
Field Summary | |
static boolean |
enabled Enables or disables the shortcode mapper. |
Method Summary | |
String |
addShortCodeMapping(String originalDestination, String mappedDestination) Add a short code mapping. |
boolean |
isEnabled() |
ShortCodeMapping[] |
listShortCodeMappings() Lists registered short code mappings. |
ShortCodeMapping |
removeShortCodeMapping(String originalDestination, String mappedDestination) Removes short code mapping for a specific mapping of original/translated destination. |
void |
setEnabled(boolean enabled) |
Field Detail |
public static final boolean enabled
Scope: Cluster
Method Detail |
public String addShortCodeMapping(String originalDestination, String mappedDestination) throws ManagementException
Scope: Cluster
originalDestination
- destination pattern (regular expression), for example, tel:123[456].mappedDestination
- destination URI, for example, tel:1236ManagementException
public boolean isEnabled() throws ManagementException
ManagementException
public ShortCodeMapping[] listShortCodeMappings() throws ManagementException
Scope: Cluster
ManagementException
public ShortCodeMapping removeShortCodeMapping(String originalDestination, String mappedDestination) throws ManagementException
Scope: Cluster
originalDestination
- destination pattern (regular expression), for example, tel:123[456].mappedDestination
- destination URI, for example, tel:1236.ManagementException
public void setEnabled(boolean enabled) throws ManagementException
ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |