Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.mobilealert
Interface MobileAlertSubscriber

All Superinterfaces:
BillingContext, java.io.Serializable

public interface MobileAlertSubscriber
extends java.io.Serializable, BillingContext

This interface encapsulates the subscriber information required at runtime, and prevents usage of the heavier ServiceAlertSubscription object at runtime.


Field Summary

 

Fields inherited from interface oracle.wireless.billing.BillingContext
ALERT_COMPONENT, MESSAGING_COMPONENT, PROVISIONING_COMPONENT, PUSH_COMPONENT, RUNTIME_COMPONENT

 

Method Summary
 java.lang.String getAlternativeAddress()
          Returns alternative device address specified for this subscription.
 int getAlternativeAddressType()
          Returns the delivery type for the alternative subscription address.
 java.lang.String getAlternativeType()
          What to do if maximum number of alerts sent is reached for the specified device in this subscription.
 java.lang.String getDisplayName()
          Returns the panama user's display name.
 java.lang.String getExternalUserId()
          Returns external user id
 AddressData getFullAddress()
          Returns the XMS address string.
 long getLBConditionId()
          Returns the LB Condition object id for this subscription.
 long getLinkId()
          Returns the Link object id that will be invoked for this specific subscription.
 long getMAlertId()
          Returns the master alert oid for this subscription
 java.lang.String getName()
          Returns the panama user's user name.
 java.lang.String getSubscriptionAddress()
          Returns the device address specified for this subscription.
 int getSubscriptionAddressType()
          Returns the delivery type for the subscription address.
 long getSubscriptionId()
          Returns the subscription id for the underlying subscription.
 long getUserId()
          Returns the panama user's unique id.
 int priority()
          NOT IMPLEMENTED IN THIS RELEASE!
 void setExternalUserId(java.lang.String xUID)
          Sets External user id
 void storeFullAddress(AddressData fullAddress)
          Store the XMS address string.

 

Method Detail

getAlternativeAddress

public java.lang.String getAlternativeAddress()
Returns alternative device address specified for this subscription.
Returns:
Subscription alternative device address

getAlternativeAddressType

public int getAlternativeAddressType()
Returns the delivery type for the alternative subscription address.
Returns:
Delivery type
See Also:
DeliveryType

getAlternativeType

public java.lang.String getAlternativeType()
What to do if maximum number of alerts sent is reached for the specified device in this subscription.
Alternatives are: send it to the alternative device ServiceAlertSubscription.AFTERMAX_DEVICE or ignore the rest ServiceAlertSubscription.AFTERMAX_DISCARD
Returns:
Operation type

getDisplayName

public java.lang.String getDisplayName()
Returns the panama user's display name.
Returns:
User's display name

getExternalUserId

public java.lang.String getExternalUserId()
Returns external user id
Returns:
External user id for this subscriber

getFullAddress

public AddressData getFullAddress()
Returns the XMS address string. (Used internally by the alert engine).
Returns:
fullAddr XMS address string

getLBConditionId

public long getLBConditionId()
Returns the LB Condition object id for this subscription.
Returns:
Lb condition id

getLinkId

public long getLinkId()
Returns the Link object id that will be invoked for this specific subscription.
Returns:
Link id

getMAlertId

public long getMAlertId()
Returns the master alert oid for this subscription
Returns:
Master alert oid

getName

public java.lang.String getName()
Returns the panama user's user name.
Returns:
User name

getSubscriptionAddress

public java.lang.String getSubscriptionAddress()
Returns the device address specified for this subscription.
Returns:
Subscription device address

getSubscriptionAddressType

public int getSubscriptionAddressType()
Returns the delivery type for the subscription address.
Returns:
Delivery type
See Also:
DeliveryType

getSubscriptionId

public long getSubscriptionId()
Returns the subscription id for the underlying subscription.
Returns:
Subscription id

getUserId

public long getUserId()
Returns the panama user's unique id.
Returns:
User's unique id

priority

public int priority()
NOT IMPLEMENTED IN THIS RELEASE!

setExternalUserId

public void setExternalUserId(java.lang.String xUID)
Sets External user id
Parameters:
xUID - external user id for this subscriber

storeFullAddress

public void storeFullAddress(AddressData fullAddress)
Store the XMS address string. (Used internally by the alert engine).
Parameters:
fullAddress - XMS address string

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.