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.void
setAccountStatus
(Integer status) Sets the account status for the user-selected service.void
setConfirmation
(String sPassword) Sets the input data/hidden variableConfirmPassword
with the value of the customer's password verificationString
.void
Sets the input data/hidden variableServiceLogin
with the value of the customer's login.void
setPassword
(String sPassword) Sets the input data/hidden variableServicePassword
with the value of the customer's password.void
Sets the service status for the user-selected service.
-
Method Details
-
setLogin
Sets the input data/hidden variableServiceLogin
with the value of the customer's login.- Parameters:
sLogin
- aString
with the customer's login value- Throws:
RemoteException
-
setPassword
Sets the input data/hidden variableServicePassword
with the value of the customer's password.- Parameters:
sPassword
- aString
with the customer's password value- Throws:
RemoteException
-
setConfirmation
Sets the input data/hidden variableConfirmPassword
with the value of the customer's password verificationString
.- Parameters:
sPassword
- aString
with the customer's password verification value- Throws:
RemoteException
-
setStatus
Sets the service status for the user-selected service.- Parameters:
status
- anInteger
value 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
- anInteger
value 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
List
of 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
Integer
that 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'sPModelHandle
index
- index of the selected service to save- Returns:
- An array of any errors encountered during the save operation.
- Throws:
RemoteException
-