Class BalanceImpactEvent

java.lang.Object
java.util.EventObject
com.portal.app.cc.event.BalanceImpactEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BillNowImpactEvent

public class BalanceImpactEvent extends EventObject
The event sent out when data changes that impacts the balance.
Version:
%version: 10 % %date_modified: Tue Dec 04 11:25:32 2001 %
Author:
kapono
See Also:
  • Field Details

    • CURRENCY

      public static final int CURRENCY
      Indicates a currency balance impact event type
      See Also:
    • NONCURRENCY

      public static final int NONCURRENCY
      Indicates a non-currency balance impact event type
      See Also:
  • Constructor Details

    • BalanceImpactEvent

      public BalanceImpactEvent(Object source, int type)
      Constructs a BalanceImpactEvent object.
      Parameters:
      source - the Object that is the source of the event (typically this)
      type - the event type
    • BalanceImpactEvent

      public BalanceImpactEvent(Object source, Vector modelHandle)
      Constructs a BalanceImpactEvent object.
      Parameters:
      source - the Object that is the source of the event (typically this)
      Vector - account model handle list
  • Method Details

    • getType

      public int getType()
      Returns:
      The event type (currency, non-currency)
    • setShowPrevLife

      public void setShowPrevLife(boolean bPrevLife)
      The previous life flag tells if a current subordinate account had a previous life as a standalone account with open balance
    • isShowPrevLife

      public boolean isShowPrevLife()
      The previous life flag tells if a current subordinate account had a previous life as a standalone account with open balance
      Returns:
      The previous life boolean flag
    • getImpactedAccounts

      public Vector getImpactedAccounts()
      Return impacted accounts after event adjustment
      Returns:
      Vector of accounted model handles