public class PIATelcoDeviceBeanImpl extends PIAComponentCollectionBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PIATelcoDeviceBeanImpl()
Telco device controller class that provides utilities such as
search, random selection of available devices, and modify device
attributes and device/service associates, etc.
|
| Modifier and Type | Method and Description |
|---|---|
PModelHandle[] |
getExistingDevicesOfType(String type)
Retrieve the associated device objects of
a certain type.
|
PModelHandle |
getFirstAvailDeviceOfType(String type,
Set stateValues)
Random selects an available device object from the database and returns it.
|
com.portal.app.util.CustomerValErrorData[] |
save(PModelHandle pm)
Used to save changes to already existing /device objects (this
is not used for account creation, just for existing accounts).
|
void |
setModelHandle(PModelHandle model)
Set the model handle for the controller.
|
com.portal.app.util.CustomerValErrorData[] |
updateServicesForDevice(PModelHandle oldDevice,
PModelHandle newDevice)
Update an array of the services with the new device information.
|
addChild, getCollectedData, getSelectionDataFor, removeChild, updateaddRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferencedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModelpublic PIATelcoDeviceBeanImpl()
throws RemoteException
RemoteExceptionpublic void setModelHandle(PModelHandle model)
model - The device object this controller is going to modify.public com.portal.app.util.CustomerValErrorData[] save(PModelHandle pm) throws RemoteException
pm - The input FList (as a PModelHandle) containing the data
to save.RemoteExceptionpublic com.portal.app.util.CustomerValErrorData[] updateServicesForDevice(PModelHandle oldDevice, PModelHandle newDevice) throws RemoteException
services - An array of service objects to be updated.model - The device model to be associated with the service objects.RemoteExceptionpublic PModelHandle getFirstAvailDeviceOfType(String type, Set stateValues) throws RemoteException
type - The type of device to retrieve.stateValues - The set of state values that signify the "available"
state of the device.RemoteExceptionpublic PModelHandle[] getExistingDevicesOfType(String type) throws RemoteException
pm - The PModelHandle object for the accounttype - The string that holds the device typeRemoteExceptionCopyright © 2003, 2023, Oracle and/or its affiliates.