Class PHierarchyMovePage

All Implemented Interfaces:
PAccountViewPage, PCCPage, PAppComponent, PClientComponent, PCollectDataListener, PComponent, PComponentAttribute, PViewDataChangeListener, ActionListener, ContainerListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class PHierarchyMovePage extends PMaintenancePage implements ActionListener
PHierarchyMovePage has the UI for moving an account from one parent to another
See Also:
  • Constructor Details

    • PHierarchyMovePage

      public PHierarchyMovePage()
  • Method Details

    • getControllerClassName

      public String getControllerClassName() throws RemoteException
      Description copied from class: PIACustomizablePanel
      Retrieves the class name of this component's controller, in this case, null.
      Specified by:
      getControllerClassName in interface PComponent
      Overrides:
      getControllerClassName in class PIACustomizablePanel
      Returns:
      A null String.
      Throws:
      RemoteException - thrown for errors
    • getCustomizerProperties

      public void getCustomizerProperties()
    • setAccountToMove

      public void setAccountToMove(PModelHandle pm)
    • addNotify

      public void addNotify()
      Overrides:
      addNotify in class JComponent
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • moveAcct

      public void moveAcct(PHierarchyMoveConfirmDlg dlg)
      Commit changes to Portal
    • showMoveStatusPanel

      public void showMoveStatusPanel(String label, boolean isMoveDeferred)
    • isStatusPanelVisible

      public boolean isStatusPanelVisible()
    • isDeferredMoveStatus

      public boolean isDeferredMoveStatus()
    • updateDestinationFld

      public boolean updateDestinationFld(PModelHandle acct)
      Updates the destination field with the target parent. This will fail if the target is the same as the account being moved, or if the passed in account is null.
      Parameters:
      acct - the potential target of the move
      Returns:
      true if the update was successful; false otherwise.
    • recycle

      public void recycle()
      Description copied from class: PMaintenancePage
      Used to make this page available for reuse.

      Subclasses should override this, but also call super.recycle()
      Specified by:
      recycle in interface PCCPage
      Overrides:
      recycle in class PMaintenancePage
    • setModelHandle

      public void setModelHandle(PModelHandle data) throws RemoteException
      Description copied from class: PIACustomizablePanel
      Establishes the PModelHandle for this component and all its descendants.
      Specified by:
      setModelHandle in interface PComponent
      Overrides:
      setModelHandle in class PIACustomizablePanel
      Parameters:
      data - the new PModelHandle from which to extract information
      Throws:
      RemoteException - thrown for errors
    • search_actionPerformed

      protected void search_actionPerformed(ActionEvent e)
    • setEnabledToField

      protected void setEnabledToField(boolean flag)
    • getAccountInfoBean

      protected PAccountInfoBeanImpl getAccountInfoBean()