Class ResultingChangeEventHandler

All Implemented Interfaces:
KeyedEventListener
Direct Known Subclasses:
DefaultResultingChangeEventHandler

public abstract class ResultingChangeEventHandler extends ChangeStatusEventHandler
This class is responsible for implementing the common functionality for processing the events that can change the resulting change status of a changeable.

Supported API: true
Extended API: true
See Also:
  • Method Details

    • appendChangeNoticeCondition

      protected void appendChangeNoticeCondition(QuerySpec querySpec, int changeIdx) throws QueryException
      Implementation of the appendChangeNoticeCondition method from ResultingChangeEventHandler. By default, the change notice is resulting if the life cycle state matches a state defined in the property wt.change2.pendingResultingStates for type Changeable2.HAS_RESULTING_CHANGE, from wt.properties. The current implementation would append the following condition phrase to the specified query spec, where A0 is the changeIdx(the table index for the change Item):
       
       A0.statestate = 'IMPLEMENTATION
       


      Supported API: true
      Overrides:
      appendChangeNoticeCondition in class ChangeStatusEventHandler
      Parameters:
      querySpec - - query Spec to which the condition need to be appended
      changeIdx - - table index for the change item
      Throws:
      QueryException