Interface PExtendableObjectBean

All Superinterfaces:
Remote
All Known Subinterfaces:
PProfileBean
All Known Implementing Classes:
PIAExtendedServicesBeanImpl, PIAProfileBeanImpl

public interface PExtendableObjectBean extends Remote
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Because one panel is used during account creation/maintenance, we need to play some tricks with the input FList.
    boolean
    Determines if the account object contains at least one instance of the extended object or not.
    com.portal.app.util.CustomerValErrorData[]
    Used to save changes to already existing Portal objects (this is not used for account creation, just for existing accounts).
    void
    setIndex(int index)
    Establishes the array index for the storable class being modified.
    void
    Primarily useful for subclasses of Portal storable classes (like profile objects).
  • Method Details

    • save

      com.portal.app.util.CustomerValErrorData[] save(PModelHandle pm) throws RemoteException
      Used to save changes to already existing Portal objects (this is not used for account creation, just for existing accounts).
      Parameters:
      pm - The input FList (as a PModelHandle) containing the data to save.
      Returns:
      an array of errors, if the save fails
      Throws:
      RemoteException
    • graft

      void graft(PModelHandle[] pm) throws RemoteException
      Because one panel is used during account creation/maintenance, we need to play some tricks with the input FList. Account creation requires a slightly different input FList. This method takes the index specified in the extended services panel and uses it to build up the input FList for account creation.
      Parameters:
      pm - An array of 2 PModelHandles. One that is passed into collectData() from the account creation wizard, and one that is obtained by calling collectData() locally on the panel. The latter is grafted onto the former in the proper format.
      Throws:
      RemoteException
    • setIndex

      void setIndex(int index) throws RemoteException
      Establishes the array index for the storable class being modified. This is present to accomodate multiple objects (object panels).
      This method should be called before calling graft();
      Parameters:
      index - The index into the Object array
      Throws:
      RemoteException
    • setObjectType

      void setObjectType(String type) throws RemoteException
      Primarily useful for subclasses of Portal storable classes (like profile objects). For example, if you create a panel for a profile object /profile/marketing you would pass "marketing" through this API. This is needed to build up the proper POID.
      Parameters:
      type - The name of the extended storable class
      Throws:
      RemoteException
    • hasExtendedObjects

      boolean hasExtendedObjects() throws RemoteException
      Determines if the account object contains at least one instance of the extended object or not.
      Returns:
      true if this account has the extended object; false otherwise
      Throws:
      RemoteException