Interface PServicesBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PServicesBeanImpl

public interface PServicesBean extends Remote
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 Type
    Method
    Description
    getModel(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
    Sets the account status for the user-selected service.
    void
    Sets the input data/hidden variable ConfirmPassword with the value of the customer's password verification String.
    void
    setLogin(String sLogin)
    Sets the input data/hidden variable ServiceLogin with the value of the customer's login.
    void
    setPassword(String sPassword)
    Sets the input data/hidden variable ServicePassword with the value of the customer's password.
    void
    Sets the service status for the user-selected service.
  • Method Details

    • setLogin

      void setLogin(String sLogin) throws RemoteException
      Sets the input data/hidden variable ServiceLogin with the value of the customer's login.
      Parameters:
      sLogin - a String with the customer's login value
      Throws:
      RemoteException
    • setPassword

      void setPassword(String sPassword) throws RemoteException
      Sets the input data/hidden variable ServicePassword with the value of the customer's password.
      Parameters:
      sPassword - a String with the customer's password value
      Throws:
      RemoteException
    • setConfirmation

      void setConfirmation(String sPassword) throws RemoteException
      Sets the input data/hidden variable ConfirmPassword with the value of the customer's password verification String.
      Parameters:
      sPassword - a String with the customer's password verification value
      Throws:
      RemoteException
    • setStatus

      void setStatus(Integer status) throws RemoteException
      Sets the service status for the user-selected service.
      Parameters:
      status - an Integer value for the service status, one of:
      • 0 (DEFUNCT)
      • 10100 (ACTIVE)
      • 10102 (INACTIVE)
      • 10103 (CLOSED)
      • 10104 (NOT_SET)
      Throws:
      RemoteException
      See Also:
      • invalid reference
        com.portal.pcm.PortalEnums#PinStatus
    • setAccountStatus

      void setAccountStatus(Integer status) throws RemoteException
      Sets the account status for the user-selected service.
      Parameters:
      status - an Integer value for the account status, one of:
      • 0 (DEFUNCT)
      • 10100 (ACTIVE)
      • 10102 (INACTIVE)
      • 10103 (CLOSED)
      • 10104 (NOT_SET)
      Throws:
      RemoteException
      See Also:
      • invalid reference
        com.portal.pcm.PortalEnums#PinStatus
    • getServices

      List getServices() throws RemoteException
      Gets a list of subscribed services for the account.
      Returns:
      An array List of subscribed services.
      Throws:
      RemoteException
    • getServices

      String getServices(int index) throws RemoteException
      Gets a specific service.
      Parameters:
      index - the index for the service to access
      Returns:
      The service at the specified index.
      Throws:
      RemoteException
    • getServiceStatus

      Integer getServiceStatus(int index) throws RemoteException
      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:
      • invalid reference
        com.portal.pcm.PortalEnums#PinStatus
    • getModel

      PModelHandle getModel(int index) throws RemoteException
      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

      com.portal.app.util.CustomerValErrorData[] save(PModelHandle mH, int index) throws RemoteException
      Saves changes to the login, password, and status for the user-selected service.
      Parameters:
      mH - the account's PModelHandle
      index - index of the selected service to save
      Returns:
      An array of any errors encountered during the save operation.
      Throws:
      RemoteException