Examples of oldState()


Examples of de.danet.an.workflow.omgcore.WfAssignmentAuditEvent.oldState()

      eventData5 = ev.pProcessMgrVersion();
  } else if (event instanceof WfDataAuditEvent){
      eventData1 = Long.toString (recKey);
  } else if (event instanceof WfStateAuditEvent){
      WfStateAuditEvent ev = (WfStateAuditEvent)event;
      eventData1 = ev.oldState();
      eventData2 = ev.newState();
  }
  prepStmt.setString (offset++, eventData1);
  prepStmt.setString (offset++, eventData2);
  prepStmt.setString (offset++, eventData3);
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfCreateProcessAuditEvent.oldState()

      eventData5 = ev.pProcessMgrVersion();
  } else if (event instanceof WfDataAuditEvent){
      eventData1 = Long.toString (recKey);
  } else if (event instanceof WfStateAuditEvent){
      WfStateAuditEvent ev = (WfStateAuditEvent)event;
      eventData1 = ev.oldState();
      eventData2 = ev.newState();
  }
  prepStmt.setString (offset++, eventData1);
  prepStmt.setString (offset++, eventData2);
  prepStmt.setString (offset++, eventData3);
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfStateAuditEvent.oldState()

    WfDataAuditEvent dae =(WfDataAuditEvent)o;
    System.err.println(" old data = " + dae.oldData());
    System.err.println(" new data = " + dae.newData());
      } else if (o instanceof WfStateAuditEvent){
    WfStateAuditEvent sae =(WfStateAuditEvent)o;
    System.err.println(" old state = " + sae.oldState());
    System.err.println(" new state = " + sae.newState());
      }
  }     
    }
}
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfStateAuditEvent.oldState()

      if (event instanceof ImplCompleteAuditEvent) {
    handleImplCompletedEvent ((ImplCompleteAuditEvent)event);
    return;
      }
      WfStateAuditEvent evt = (WfStateAuditEvent)event;
      State oldState = State.fromString (evt.oldState());
      State newState = State.fromString (evt.newState());
      if (oldState.isSameOrSubState(NotRunningState.NOT_STARTED)) {
    if (newState == RunningState.RUNNING) {
        handleStartedEvent (evt);
        return;
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfStateAuditEvent.oldState()

                // add an empty string.
                oldState = "open.notrunning";
                newState = "open.notrunning";
            } else {
                WfStateAuditEvent stateEvent = (WfStateAuditEvent) event;
                oldState = StateMapper.omg2asapState(stateEvent.oldState());
                newState = StateMapper.omg2asapState(stateEvent.newState());
            }
            SOAPElement oldStateNode
                = eventNode.addChildElement("OldState", Consts.ASAP_PREFIX);
            oldStateNode.addTextNode(oldState);
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfStateAuditEvent.oldState()

      eventData5 = ev.pProcessMgrVersion();
  } else if (event instanceof WfDataAuditEvent){
      eventData1 = Long.toString (recKey);
  } else if (event instanceof WfStateAuditEvent){
      WfStateAuditEvent ev = (WfStateAuditEvent)event;
      eventData1 = ev.oldState();
      eventData2 = ev.newState();
  }
  prepStmt.setString (offset++, eventData1);
  prepStmt.setString (offset++, eventData2);
  prepStmt.setString (offset++, eventData3);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.