Class FactsValidateDelegate<T extends PO>


public abstract class FactsValidateDelegate<T extends PO> extends ModelEventDelegate<T>
Event delegate for accounting facts validation event.
To handle facts validate event, create a subclass of this and uses the FactsValidate annotation to annotate the event handling method.
Author:
hengsin
  • Constructor Details

    • FactsValidateDelegate

      public FactsValidateDelegate(T po, org.osgi.service.event.Event event)
      Parameters:
      po -
      event -
  • Method Details

    • getFactsEventData

      protected FactsEventData getFactsEventData()
      Returns:
      FactsEventData
    • onEvent

      public final void onEvent()
    • onFactsValidate

      protected abstract void onFactsValidate(FactsEventData data)
      override this to handle facts validate event
      Parameters:
      data -