|
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 |
CONTROLNUMBERKey for retrieving is-default value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DELIVERYTYPEKey for retrieving address device type from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEADDRESSKey for retrieving address value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEAPDKey for retrieving alerts-per-day value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICECARRIERKey for retrieving carrier value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEDEFAULTKey for retrieving is-default value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEDEPENDKey for retrieving hasDepandency value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEIDKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEMODELKey for retrieving model value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICENAMEKey for retrieving device name from the parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
DEVICEVALIDATEDKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
TESTMESSAGEKey for retrieving is-default value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_ACCESSKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_AUTHTYPEKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_BEARERKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_CALLTYPEKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_GATEWAYIPKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_GATEWAYPORTKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_HOMEPAGEKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_ISPKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_ISP_PASSWORDKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_ISP_USERNAMEKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_MODELKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_PROFILEKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_PROXYTYPEKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_SECUREKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_SERVICECODEKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_SMSCADDRESSKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_SPEEDKey for retrieving validated value from the alert device parameter Hashtable passing to/from the portal pages. |
static java.lang.String |
WAP_TIMEOUTKey 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
PortalExceptionpublic 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 | |||||||||