Package com.portal.web.comp
Interface PServicesBean
- All Superinterfaces:
Remote
- All Known Implementing Classes:
PServicesBeanImpl
PServicesBean is a Remote interface that defines the
abilities needed for a service component.- Version:
- %version: 7 % %date_modified: Tue Nov 27 17:52:25 2001 %
- Author:
- sujata
-
Method Summary
Modifier and TypeMethodDescriptiongetModel(int index) Gets the model handle associated with the service at the specified index.Gets a list of subscribed services for the account.getServices(int index) Gets a specific service.getServiceStatus(int index) Gets the status of a specific service.com.portal.app.util.CustomerValErrorData[]save(PModelHandle mH, int index) Saves changes to the login, password, and status for the user-selected service.voidsetAccountStatus(Integer status) Sets the account status for the user-selected service.voidsetConfirmation(String sPassword) Sets the input data/hidden variableConfirmPasswordwith the value of the customer's password verificationString.voidSets the input data/hidden variableServiceLoginwith the value of the customer's login.voidsetPassword(String sPassword) Sets the input data/hidden variableServicePasswordwith the value of the customer's password.voidSets the service status for the user-selected service.
-
Method Details
-
setLogin
Sets the input data/hidden variableServiceLoginwith the value of the customer's login.- Parameters:
sLogin- aStringwith the customer's login value- Throws:
RemoteException
-
setPassword
Sets the input data/hidden variableServicePasswordwith the value of the customer's password.- Parameters:
sPassword- aStringwith the customer's password value- Throws:
RemoteException
-
setConfirmation
Sets the input data/hidden variableConfirmPasswordwith the value of the customer's password verificationString.- Parameters:
sPassword- aStringwith the customer's password verification value- Throws:
RemoteException
-
setStatus
Sets the service status for the user-selected service.- Parameters:
status- anIntegervalue for the service status, one of:- 0 (DEFUNCT)
- 10100 (ACTIVE)
- 10102 (INACTIVE)
- 10103 (CLOSED)
- 10104 (NOT_SET)
- Throws:
RemoteException- See Also:
-
setAccountStatus
Sets the account status for the user-selected service.- Parameters:
status- anIntegervalue for the account status, one of:- 0 (DEFUNCT)
- 10100 (ACTIVE)
- 10102 (INACTIVE)
- 10103 (CLOSED)
- 10104 (NOT_SET)
- Throws:
RemoteException- See Also:
-
getServices
Gets a list of subscribed services for the account.- Returns:
- An array
Listof subscribed services. - Throws:
RemoteException
-
getServices
Gets a specific service.- Parameters:
index- the index for the service to access- Returns:
- The service at the specified index.
- Throws:
RemoteException
-
getServiceStatus
Gets the status of a specific service.- Parameters:
index- the index of the service to retrieve status for- Returns:
- An
Integerthat indicates the status for the specified service, one of:- 0 (DEFUNCT)
- 10100 (ACTIVE)
- 10102 (INACTIVE)
- 10103 (CLOSED)
- 10104 (NOT_SET)
- Throws:
RemoteException- See Also:
-
getModel
Gets the model handle associated with the service at the specified index.- Parameters:
index- the location of the service's model handle to retrieve- Returns:
- The requested service's
PModelHandle. - Throws:
RemoteException
-
save
Saves changes to the login, password, and status for the user-selected service.- Parameters:
mH- the account'sPModelHandleindex- index of the selected service to save- Returns:
- An array of any errors encountered during the save operation.
- Throws:
RemoteException
-