Class PHierarchyMoveConfirmDlg

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, ListSelectionListener, RootPaneContainer, WindowConstants

public class PHierarchyMoveConfirmDlg extends JDialog implements ActionListener, ListSelectionListener
This is class provides the UI for moving the bill units into hierarchy
Author:
, modified by Savitha T.M
See Also:
  • Field Details

    • NEW_PARENT_STRING_FRM_PROPERTYFILE

      public static String NEW_PARENT_STRING_FRM_PROPERTYFILE
    • BILLNOW_STRING_FRM_PROPERTYFILE

      public static String BILLNOW_STRING_FRM_PROPERTYFILE
    • okToMove

      public boolean okToMove
  • Constructor Details

    • PHierarchyMoveConfirmDlg

      public PHierarchyMoveConfirmDlg(Frame frame, String title, boolean modal, PModelHandle srcAcct, PModelHandle destAcct, Date deferredDate, String billNowMsg)
    • PHierarchyMoveConfirmDlg

      public PHierarchyMoveConfirmDlg(JFrame frame, String title, boolean modal)
      constructor for the PPaymentOptionDialog class
      Parameters:
      frame - parent frame of the Dialog
      title - Name of the Dialog
      modal - which determines the modality of the Dialog
  • Method Details

    • getOldParentAcctName

      public String getOldParentAcctName()
      Getter method for oldParentAcctName
      Returns:
    • setOldParentAcctName

      public void setOldParentAcctName(String oldParentAcctName)
      Setter method for oldParentAcctName
      Parameters:
      oldParentAcctName -
    • getmDeferredDate

      public Date getmDeferredDate()
      Getter method for mDefferedDate
      Returns:
    • setmDeferredDate

      public void setmDeferredDate(Date mDeferredDate)
      Setter method for mDefferedDate
      Parameters:
      mDeferredDate -
    • getmDestAcct

      public PModelHandle getmDestAcct()
      Getter method for mDestAcct
      Returns:
    • setmDestAcct

      public void setmDestAcct(PModelHandle mDestAcct)
      Setter method for mDestAcct
      Parameters:
      mDestAcct -
    • getmSrcAcct

      public PModelHandle getmSrcAcct()
      Getter method for mSrcAcct
      Returns:
    • setmSrcAcct

      public void setmSrcAcct(PModelHandle mSrcAcct)
      Setter method for mSrcAccount
      Parameters:
      mSrcAcct -
    • buildUI

      public void buildUI()
      Builds the dialog and packs it up for display
    • initData

      public void initData()
    • removeNotify

      public void removeNotify()
      Overrides:
      removeNotify in class Window
    • getCustomizerProperties

      public void getCustomizerProperties()
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Specified by:
      actionPerformed in interface ActionListener
    • getControllerClassName

      public String getControllerClassName()
      returns the controller class name
      Returns:
      String
    • getMakeBillNowDataToSave

      public PModelHandle getMakeBillNowDataToSave() throws Exception
      returns the bill now data in the form of a model handle for saving
      Returns:
      PModelHandle
      Throws:
      Exception
    • getBillingPayMethodDataToSave

      public PModelHandle getBillingPayMethodDataToSave() throws Exception
      saves the billing payment method tables data
      Throws:
      Exception
    • getPayMethods

      public Vector getPayMethods()
      gets the payment methods for the currenct account
      Returns:
      Vector
    • valueChanged

      public void valueChanged(ListSelectionEvent e)
      Specified by:
      valueChanged in interface ListSelectionListener