Interface PIACreateAccountBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PIACreateAccountBeanImpl

public interface PIACreateAccountBean extends Remote
Remote interface for new account creation
  • Method Summary

    Modifier and Type
    Method
    Description
    Tries to create a new account, and if successful, returns its model handle.
    void
    Prints out the FList corresponding to the passed-in model handle
    void
    setValidatableArrayFields(int[] arrayFieldNumbers)
    Specifies the field numbers of FList array fields to be validated.
    Does partial validation on a subset of account creation data
  • Method Details

    • setValidatableArrayFields

      void setValidatableArrayFields(int[] arrayFieldNumbers) throws RemoteException
      Specifies the field numbers of FList array fields to be validated.
      Parameters:
      arrayFieldNumbers - field numbers of array fields to be validated
      Throws:
      RemoteException
    • validate

      Object validate(PModelHandle model) throws RemoteException
      Does partial validation on a subset of account creation data
      Parameters:
      modelHandle - data to be validated
      Returns:
      null if the data is found to be valid. If validation fails, then a CustomerError object will be returned which represents the error(s) associated with the failure.
      Throws:
      RemoteException
      See Also:
      • CustomerError
    • createNewAccount

      Object createNewAccount(PModelHandle model) throws RemoteException
      Tries to create a new account, and if successful, returns its model handle.
      Parameters:
      modelHandle - data to be used in creating the new account
      Returns:
      PModelHandle of the new account if the create attempt is successful. If account creation fails, then a CustomerError object will returned which represents the error(s) associated with the failure.
      Throws:
      RemoteException
      See Also:
      • CustomerError
    • dumpModel

      void dumpModel(PModelHandle model) throws RemoteException
      Prints out the FList corresponding to the passed-in model handle
      Parameters:
      model - Model handle
      Throws:
      RemoteException