Class PRolloverTransferTablePanel

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

public class PRolloverTransferTablePanel extends PIACustomizablePanel implements ActionListener, ListSelectionListener
See Also:
  • Constructor Details

    • PRolloverTransferTablePanel

      public PRolloverTransferTablePanel()
  • Method Details

    • updateTableTitle

      public void updateTableTitle(String title)
      changes the table title to the given string
      Parameters:
      title -
    • enableActions

      public void enableActions(boolean newAction, boolean editAction, boolean delAction)
      enables/disables the action depending on the flags passed
      Parameters:
      newAction -
      editAction -
      delAction -
    • setReadOnly

      public void setReadOnly()
      sets the controls to read only to be used from Voucher page
    • populateRolloverTransfer

      public void populateRolloverTransfer(PReceiverAccountData recData)
      adds the new created transfers to the table
      Parameters:
      recData -
    • validateService

      public boolean validateService(PReceiverAccountData data)
      checks if the receiver service is not same as the sender service before finishing the search wizard
      Parameters:
      data -
      Returns:
    • updateRolloverTransfer

      public void updateRolloverTransfer(PReceiverAccountData recData)
      Edit the exsiting transfer
      Parameters:
      recData -
    • isSaveRequired

      public boolean isSaveRequired()
      checks if anything has been changed since opening the tab
      Returns:
    • setTransferData

      public void setTransferData(com.portal.app.cc.PNCData ncData, Poid servPoid)
      sets the data to the controls of the panel
      Parameters:
      ncData -
      servPoid -
    • setTransferData

      public void setTransferData(com.portal.app.cc.PNCData ncData, Poid servPoid, int balInfoIndex)
      sets the data to the controls of the panel
      Parameters:
      ncData -
      servPoid -
    • save

      public boolean save(boolean doRefresh)
      saves the changes (creation/updation/deletion)
      Parameters:
      doRefresh -
      Returns:
    • saveRollTrasferForSelectedServiceAndNCResource

      public void saveRollTrasferForSelectedServiceAndNCResource(Poid servicePoid, Integer ncID, Poid bgPoid, String servID)
      This stores rollover transfer data for all different non currency which r selected from non currency details panel
    • validateDataToSave

      public boolean validateDataToSave()
      validates the data before saving to the database
      Returns:
    • updatetransferDate

      public void updatetransferDate()
      updates the transfer date
    • validateDateRange

      public boolean validateDateRange()
      validates the dates of the newly created transfers
      Returns:
    • isRangeOverlapping

      public boolean isRangeOverlapping()
      checks if the date ranges of all the transfers are overlapping
      Returns:
    • actionPerformed

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

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