Package com.portal.app.cc.comp
Class PDeviceSettopBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.comp.PIAComponentCollectionBean
com.portal.app.cc.comp.PDeviceSettopBeanImpl
- All Implemented Interfaces:
PDeviceSettopBean
,PIACollectionBean
,PControllerBean
,Serializable
,Remote
,Unreferenced
Device functions...
- Version:
- %version: 8 % %date_modified: Fri Mar 01 17:17:52 2002 %
- Author:
- anthony
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Fields inherited from interface com.portal.app.cc.comp.PDeviceSettopBean
DEFAULT_TRANSACTION_MODE, NEWLINE, TRANSACTION_MODE_CONFIRMED, TRANSACTION_MODE_QUEUED
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
associateTheDevice
(PModelHandle deviceModel, PModelHandle servicesModel, int mode) Associate a device (i.e.clearThePin
(PModelHandle deviceModel, int mode) Clear the PINvoid
disassociateTheDevice
(PModelHandle deviceModel, int mode) Disassociate a device (i.e.getConfigSlashBroadBand_mgr
(PModelHandle deviceModel, FList preferedResults) Get '/config/broadband_mgr' config object.getDeviceAttributes
(PModelHandle deviceModel) Get the device attributesgetSettopStatusFormat
(boolean returnAllTheStatusesFlag) get the Status formats.get the vendorsboolean
isDeviceTwoWay
(PModelHandle deviceModel) Test to see if a device is two waypollTheDevice
(PModelHandle deviceModel, int mode) Poll the devicerefreshTheDevice
(PModelHandle deviceModel, boolean isReInitialization, int mode) Refresh the devicevoid
setDeviceAttributes
(PModelHandle attributeModel, PModelHandle deviceModel) Set the device attributes.Methods inherited from class com.portal.bas.comp.PIAComponentCollectionBean
addChild, getCollectedData, getSelectionDataFor, removeChild, update
Methods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, 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, unreferenced
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.portal.bas.PControllerBean
addRemoteListener, getArrayRange, getModel, getRemoteListenerHandle, isLight, register, releaseRemoteListener, removeRemoteListener, setModel
-
Constructor Details
-
PDeviceSettopBeanImpl
Create a new device settop bean- Throws:
RemoteException
-
-
Method Details
-
associateTheDevice
public void associateTheDevice(PModelHandle deviceModel, PModelHandle servicesModel, int mode) throws RemoteException Associate a device (i.e. add it to an account)- Specified by:
associateTheDevice
in interfacePDeviceSettopBean
- Parameters:
mode
- (queing or confirmed?)PModelHandle
-- Throws:
RemoteException
-
disassociateTheDevice
Disassociate a device (i.e. remove it)- Specified by:
disassociateTheDevice
in interfacePDeviceSettopBean
- Parameters:
mode
- (queing or confirmed?)PModelHandle
-- Throws:
RemoteException
-
getDeviceAttributes
Get the device attributes- Specified by:
getDeviceAttributes
in interfacePDeviceSettopBean
- Parameters:
PModelHandle
-- Returns:
- PModelHandle
- Throws:
RemoteException
-
getConfigSlashBroadBand_mgr
public FList getConfigSlashBroadBand_mgr(PModelHandle deviceModel, FList preferedResults) throws RemoteException Get '/config/broadband_mgr' config object.- Specified by:
getConfigSlashBroadBand_mgr
in interfacePDeviceSettopBean
- Parameters:
PModelHandle
-FList
-- Returns:
- FList
- Throws:
RemoteException
-
isDeviceTwoWay
Test to see if a device is two way- Specified by:
isDeviceTwoWay
in interfacePDeviceSettopBean
- Parameters:
PModelHandle
-- Returns:
- boolean
- Throws:
RemoteException
-
pollTheDevice
Poll the device- Specified by:
pollTheDevice
in interfacePDeviceSettopBean
- Parameters:
PModelHandle
-int
- - mode (queued or confirmed)- Returns:
- String - error message
- Throws:
RemoteException
-
refreshTheDevice
public String refreshTheDevice(PModelHandle deviceModel, boolean isReInitialization, int mode) throws RemoteException Refresh the device- Specified by:
refreshTheDevice
in interfacePDeviceSettopBean
- Parameters:
PModelHandle
-boolean
- - reinit the device flag- Returns:
- String - error message
- Throws:
RemoteException
-
clearThePin
Clear the PIN- Specified by:
clearThePin
in interfacePDeviceSettopBean
- Parameters:
PModelHandle
-int
- - mode (queued or confirmed)- Returns:
- String - error message
- Throws:
RemoteException
-
setDeviceAttributes
public void setDeviceAttributes(PModelHandle attributeModel, PModelHandle deviceModel) throws RemoteException Set the device attributes.- Specified by:
setDeviceAttributes
in interfacePDeviceSettopBean
- Parameters:
PModelHandle
-- Throws:
RemoteException
-
getSettopStatusFormat
get the Status formats.- Specified by:
getSettopStatusFormat
in interfacePDeviceSettopBean
- Parameters:
boolean
- - return all states or only the oldStates- Returns:
- String
- Throws:
RemoteException
-
getVendors
get the vendors- Specified by:
getVendors
in interfacePDeviceSettopBean
- Returns:
- vector
- Throws:
RemoteException
-