public class PServicesBeanImpl extends PControllerImpl implements PServicesBean
PortalOp.SEARCH opcode.PortalOp.CUST_SET_PASSWORD, CUST_SET_LOGIN,
and CUST_SET_STATUS opcodes.mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY| Constructor and Description |
|---|
PServicesBeanImpl()
Saves changes to services (login/password/services) and
uses a customized
PortalOp.SEARCH opcode to retrieve service data. |
| Modifier and Type | Method and Description |
|---|---|
PModelHandle |
getModel(int index)
Returns the model associated with the service at the specified index.
|
Object |
getSelectionDataFor(String dataItem,
int index)
Used only for BAS
Swing clients. |
List |
getServices()
Gets a list of subscribed services for the account.
|
String |
getServices(int index)
Gets a specific service from a list of subscribed services.
|
Integer |
getServiceStatus(int index)
Gets the status of a specific service.
|
com.portal.app.util.CustomerValErrorData[] |
save(PModelHandle mH,
int index)
Calls the
PortalOp.CUST_SET_PASSWORD, CUST_SET_LOGIN,
and CUST_SET_STATUS opcodes to save changes to the login, password,
and status. |
void |
services(PModelHandle mH,
ResourceBundle bundle)
Calls the
PortalOp.SEARCH opcode to get the list
of services an account has subscribed to. |
void |
setAccountStatus(Integer status)
Sets the account status for the user-selected service.
|
void |
setConfirmation(String sPassword)
Sets the input data/hidden variable
ConfirmPassword
with the value of the customer's password verification
for the user-selected service. |
void |
setLogin(String sLogin)
Sets the input data/hidden variable
ServiceLogin
with the value of the customer's login for the user-selected service. |
void |
setPassword(String sPassword)
Sets the input data/hidden variable
ServicePassword
with the value of the customer's password for the user-selected service. |
protected void |
setServices(String sResult)
Sets a specific service in a list of subscribed services.
|
protected void |
setServiceStatus(Integer sResult)
Adds a status for a specific service to a list of status values for the
subscribed services.
|
void |
setStatus(Integer status)
Sets the service status for the user-selected service.
|
void |
update(int reason,
Object data)
Used only for BAS
Swing clients. |
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, unreferencedpublic PServicesBeanImpl()
throws RemoteException
PortalOp.SEARCH opcode to retrieve service data.RemoteExceptionpublic void setLogin(String sLogin) throws RemoteException
ServiceLogin
with the value of the customer's login for the user-selected service.setLogin in interface PServicesBeansLogin - a String with the customer's login valueRemoteExceptionpublic void setPassword(String sPassword) throws RemoteException
ServicePassword
with the value of the customer's password for the user-selected service.setPassword in interface PServicesBeansPassword - a String with the customer's password valueRemoteExceptionpublic void setConfirmation(String sPassword) throws RemoteException
ConfirmPassword
with the value of the customer's password verification
for the user-selected service.setConfirmation in interface PServicesBeansPassword - a String with the customer's password
verification valueRemoteExceptionpublic void setStatus(Integer status) throws RemoteException
setStatus in interface PServicesBeanstatus - an Integer value for the service status,
one of:RemoteExceptioncom.portal.pcm.PortalEnums#PinStatuspublic void setAccountStatus(Integer status) throws RemoteException
setAccountStatus in interface PServicesBeanstatus - an Integer value for the account status,
one of:RemoteExceptioncom.portal.pcm.PortalEnums#PinStatuspublic List getServices() throws RemoteException
getServices in interface PServicesBeanList of subscribed services, or null.RemoteExceptionpublic String getServices(int index) throws RemoteException
getServices in interface PServicesBeanindex - the index of the service to retrieveString description of the service associated
with that index.RemoteExceptionprotected void setServices(String sResult)
sResult - the service to addpublic Integer getServiceStatus(int index) throws RemoteException
getServiceStatus in interface PServicesBeanindex - the index of the service to retrieve status forInteger that indicates the status for the selected service.
one of:RemoteExceptioncom.portal.pcm.PortalEnums#PinStatusprotected void setServiceStatus(Integer sResult)
sResult - an Integer that indicates the service
status to add, one of:com.portal.pcm.PortalEnums#PinStatuspublic void update(int reason,
Object data)
Swing clients.
Default behavior in this case is to do nothing.update in class PControllerImplreason - an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL, UPDATE_PROPERTY,
UPDATE_MODEL_CHANGE, or UPDATE_CLIENT)data - the data associated with updatepublic Object getSelectionDataFor(String dataItem, int index)
Swing clients.
Default behavior in this case is to do nothing
and return null.getSelectionDataFor in interface PControllerBeandataItem - the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent.index - an optional index into an array data itempublic PModelHandle getModel(int index)
getModel in interface PServicesBeanindex - the location of the model to retrievePModelHandle.public void services(PModelHandle mH, ResourceBundle bundle) throws RemoteException
PortalOp.SEARCH opcode to get the list
of services an account has subscribed to.mH - the account's PModelHandlebundle - the resource bundleRemoteException - thrown for null contexts, service arrays,
and service POIDs, as well as Infranet errors.public com.portal.app.util.CustomerValErrorData[] save(PModelHandle mH, int index) throws RemoteException
PortalOp.CUST_SET_PASSWORD, CUST_SET_LOGIN,
and CUST_SET_STATUS opcodes to save changes to the login, password,
and status.save in interface PServicesBeanmH - the account's PModelHandleindex - index of the selected service to saveRemoteException - thrown for null contexts or Infranet errorsCopyright © 2003, 2023, Oracle and/or its affiliates.