|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.panama.portal.DeviceController
DeviceController handles User's Device management
Field Summary | |
static java.lang.String[][] |
CONFIG_ATTRIB_NAMES |
static java.lang.String |
CONTROLNUMBER Key for retrieving is-default value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DELIVERYTYPE Key for retrieving address device type from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEADDRESS Key for retrieving address value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEAPD Key for retrieving alerts-per-day value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICECARRIER Key for retrieving carrier value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEDEFAULT Key for retrieving is-default value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEDEPEND Key for retrieving hasDepandency value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEID Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEMODEL Key for retrieving model value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICENAME Key for retrieving device name from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEVALIDATED Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
TESTMESSAGE Key for retrieving is-default value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_ACCESS Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_AUTHTYPE Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_BEARER Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_CALLTYPE Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_GATEWAYIP Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_GATEWAYPORT Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_HOMEPAGE Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_ISP Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_ISP_PASSWORD Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_ISP_USERNAME Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_MODEL Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_PROFILE Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_PROXYTYPE Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_SECURE Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_SERVICECODE Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_SMSCADDRESS Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_SPEED Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_TIMEOUT Key for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
Method Summary | |
DeviceAddress |
createNewDeviceAddress(java.lang.String name, java.lang.String address, java.lang.String deliveryTypeIdStr, Request apiRequest) create a new device address. |
void |
deleteDeviceAddress(long deviceAddressId) delete a device address |
void |
disableAllAlerts(Request apiRequest, long deviceId) disable all AlertServiceSubscriptions using this device |
void |
disableUserAlertSubscriptions(oracle.panama.alert.AlertService alertService, User user) disable User's AlertServiceSubscriptions on an AlertService |
void |
doWapProvisioning(Request apiRequest, long deviceId, java.util.Hashtable pAttrs) Wap device provisioning |
DeliveryType[] |
getAllDeliveryTypes() Get all of the delivery types |
static DeliveryType |
getDeliveryType(long deviceId) Get DeliveryType object by the object ID |
static DeviceController |
getInstance() The singleton thread-safe getter. |
java.util.Hashtable |
getWapProvisionProfiles(Request apiRequest) Get the Wap device provisioning profiles |
boolean |
hasAlertDependency(Request apiRequest, long deviceId) check if there's any alert service using this device |
DeliveryType |
lookupDeliveryType(int deliveryTypeIntVal) Lookup DeliveryType object by the DeliveryType integer value |
DeviceAddress |
lookupDeviceAddress(long deviceAddressId) lookup a device address |
java.lang.String |
sendValidationMessage(long deviceAddressId, java.lang.String subjectText, java.lang.String messageText) Send validation messages to specified DeviceAddress |
void |
setParameters(long deviceAddressId, java.util.Hashtable paramHash) set parameter values of a device address. |
boolean |
validate(long deviceAddressId, java.lang.String controlNumberStr) Validate the specified DeviceAddress with the control number |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String[][] CONFIG_ATTRIB_NAMES
public static final java.lang.String CONTROLNUMBER
public static final java.lang.String DELIVERYTYPE
public static final java.lang.String DEVICEADDRESS
public static final java.lang.String DEVICEAPD
public static final java.lang.String DEVICECARRIER
public static final java.lang.String DEVICEDEFAULT
public static final java.lang.String DEVICEDEPEND
public static final java.lang.String DEVICEID
public static final java.lang.String DEVICEMODEL
public static final java.lang.String DEVICENAME
public static final java.lang.String DEVICEVALIDATED
public static final java.lang.String TESTMESSAGE
public static final java.lang.String WAP_ACCESS
public static final java.lang.String WAP_AUTHTYPE
public static final java.lang.String WAP_BEARER
public static final java.lang.String WAP_CALLTYPE
public static final java.lang.String WAP_GATEWAYIP
public static final java.lang.String WAP_GATEWAYPORT
public static final java.lang.String WAP_HOMEPAGE
public static final java.lang.String WAP_ISP
public static final java.lang.String WAP_ISP_PASSWORD
public static final java.lang.String WAP_ISP_USERNAME
public static final java.lang.String WAP_MODEL
public static final java.lang.String WAP_PROFILE
public static final java.lang.String WAP_PROXYTYPE
public static final java.lang.String WAP_SECURE
public static final java.lang.String WAP_SERVICECODE
public static final java.lang.String WAP_SMSCADDRESS
public static final java.lang.String WAP_SPEED
public static final java.lang.String WAP_TIMEOUT
Method Detail |
public DeviceAddress createNewDeviceAddress(java.lang.String name, java.lang.String address, java.lang.String deliveryTypeIdStr, Request apiRequest) throws PortalException
name
- new device address name.apiRequest
- current validated Request.PortalException
public void deleteDeviceAddress(long deviceAddressId) throws PortalException
deviceAddressId
- deleted device address ID.PortalException
public void disableAllAlerts(Request apiRequest, long deviceId) throws PortalException
apiRequest
- current validated Request.deviceId
- DeviceAddress object ID.PortalException
public void disableUserAlertSubscriptions(oracle.panama.alert.AlertService alertService, User user)
alertService
- AlertService object.user
- User object.public void doWapProvisioning(Request apiRequest, long deviceId, java.util.Hashtable pAttrs)
apiRequest
- current validated Request.deviceId
- DeviceAddress object ID.pAttrs
- values for all the message attributes.public DeliveryType[] getAllDeliveryTypes() throws PortalException
PortalException
public static DeliveryType getDeliveryType(long deviceId)
public static DeviceController getInstance()
public java.util.Hashtable getWapProvisionProfiles(Request apiRequest)
apiRequest
- current validated Request.public boolean hasAlertDependency(Request apiRequest, long deviceId) throws PortalException
apiRequest
- current validated Request.deviceId
- DeviceAddress object ID.PortalException
public DeliveryType lookupDeliveryType(int deliveryTypeIntVal) throws PortalException
deliveryTypeIntVal
- DeliveryType integer value.PortalException
public DeviceAddress lookupDeviceAddress(long deviceAddressId) throws PortalException
deviceAddressId
- device address ID.PortalException
public java.lang.String sendValidationMessage(long deviceAddressId, java.lang.String subjectText, java.lang.String messageText) throws PortalException
deviceAddressId
- DeviceAddress object ID.messageText
- message to be sent.PortalException
public void setParameters(long deviceAddressId, java.util.Hashtable paramHash) throws PortalException
deviceAddressId
- queried device address ID.paramHash
- parameter name-value Hashtable to updatePortalException
public boolean validate(long deviceAddressId, java.lang.String controlNumberStr) throws PortalException
deviceAddressId
- DeviceAddress object ID.controlNumberStr
- control number.PortalException
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |