|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.portal.DeviceController
DeviceController handles User's Device management
Field Summary |
Type | Field |
---|---|
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 |
Type | Method |
---|---|
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(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 DEVICENAME
public static final java.lang.String DEVICEADDRESS
public static final java.lang.String DEVICEDEPEND
public static final java.lang.String DELIVERYTYPE
public static final java.lang.String DEVICECARRIER
public static final java.lang.String DEVICEMODEL
public static final java.lang.String DEVICEAPD
public static final java.lang.String DEVICEID
public static final java.lang.String DEVICEVALIDATED
public static final java.lang.String DEVICEDEFAULT
public static final java.lang.String CONTROLNUMBER
public static final java.lang.String TESTMESSAGE
public static final java.lang.String WAP_PROFILE
public static final java.lang.String WAP_BEARER
public static final java.lang.String WAP_GATEWAYIP
public static final java.lang.String WAP_GATEWAYPORT
public static final java.lang.String WAP_SECURE
public static final java.lang.String WAP_MODEL
public static final java.lang.String WAP_ACCESS
public static final java.lang.String WAP_CALLTYPE
public static final java.lang.String WAP_SPEED
public static final java.lang.String WAP_AUTHTYPE
public static final java.lang.String WAP_TIMEOUT
public static final java.lang.String WAP_ISP_USERNAME
public static final java.lang.String WAP_ISP_PASSWORD
public static final java.lang.String WAP_HOMEPAGE
public static final java.lang.String WAP_ISP
public static final java.lang.String WAP_PROXYTYPE
public static final java.lang.String WAP_SERVICECODE
public static final java.lang.String WAP_SMSCADDRESS
Method Detail |
public static DeviceController getInstance()
public void deleteDeviceAddress(long deviceAddressId) throws PortalException
deviceAddressId
- deleted device address ID.public DeviceAddress lookupDeviceAddress(long deviceAddressId) throws PortalException
deviceAddressId
- device address ID.public DeliveryType[] getAllDeliveryTypes() throws PortalException
public DeliveryType lookupDeliveryType(int deliveryTypeIntVal) throws PortalException
deliveryTypeIntVal
- DeliveryType integer value.public void setParameters(long deviceAddressId, java.util.Hashtable paramHash) throws PortalException
deviceAddressId
- queried device address ID.paramHash
- parameter name-value Hashtable to updatepublic DeviceAddress createNewDeviceAddress(java.lang.String name, java.lang.String address, java.lang.String deliveryTypeIdStr, Request apiRequest) throws PortalException
name
- new device address name.device
- address String for the new alert address.delivery
- type for the new device address.apiRequest
- current validated Request.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.public boolean validate(long deviceAddressId, java.lang.String controlNumberStr) throws PortalException
deviceAddressId
- DeviceAddress object ID.controlNumberStr
- control number.public java.util.Hashtable getWapProvisionProfiles(Request apiRequest)
apiRequest
- current validated Request.all
- the defined WapProvisionProfiles.public static DeliveryType getDeliveryType(long deviceId)
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 void disableUserAlertSubscriptions(AlertService alertService, User user)
alertService
- AlertService object.user
- User object.public void disableAllAlerts(Request apiRequest, long deviceId) throws PortalException
apiRequest
- current validated Request.deviceId
- DeviceAddress object ID.public boolean hasAlertDependency(Request apiRequest, long deviceId) throws PortalException
apiRequest
- current validated Request.deviceId
- DeviceAddress object ID.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |