Skip navigation links

Oracle Communications Services Gatekeeper OAM Java API Reference
6.0

E55516-02


com.bea.wlcp.wlng.shortcode.management
Interface ShortCodeMapperMBean


public interface ShortCodeMapperMBean

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

enabled

public static final boolean enabled
Enables or disables the shortcode mapper.

Scope: Cluster

See Also:
Constant Field Values

Method Detail

addShortCodeMapping

public String addShortCodeMapping(String originalDestination,
                                  String mappedDestination)
                           throws ManagementException
Add a short code mapping.

Scope: Cluster

Parameters:
originalDestination - destination pattern (regular expression), for example, tel:123[456].
mappedDestination - destination URI, for example, tel:1236
Throws:
ManagementException

isEnabled

public boolean isEnabled()
                  throws ManagementException
Throws:
ManagementException

listShortCodeMappings

public ShortCodeMapping[] listShortCodeMappings()
                                         throws ManagementException
Lists registered short code mappings.

Scope: Cluster

Returns:
A list of all registered short code mappings.
Throws:
ManagementException

removeShortCodeMapping

public ShortCodeMapping removeShortCodeMapping(String originalDestination,
                                               String mappedDestination)
                                        throws ManagementException
Removes short code mapping for a specific mapping of original/translated destination.

Scope: Cluster

Parameters:
originalDestination - destination pattern (regular expression), for example, tel:123[456].
mappedDestination - destination URI, for example, tel:1236.
Throws:
ManagementException

setEnabled

public void setEnabled(boolean enabled)
                throws ManagementException
Throws:
ManagementException

Skip navigation links

Oracle Communications Services Gatekeeper OAM Java API Reference
6.0

E55516-02


Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.