Examples of processKey()


Examples of de.danet.an.workflow.api.ActivityUniqueKey.processKey()

    int offset = 1;
    prepStmt.setLong (offset++, instId);
    prepStmt.setString (offset++, applName);
                prepStmt.setString (offset++, applInstKey);
    prepStmt.setString (offset++, auk.activityKey());
    prepStmt.setString (offset++, auk.processKey());
    prepStmt.setString (offset++, auk.managerName());
    if (saveAssignment) {
        String resourceKey = null;
        Iterator i = activity.assignments().iterator();
        if (i.hasNext ()) {
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfAuditEvent.processKey()

  WfAuditEvent e = null;
  while (true) {
            e = subs.receive(5000);
            assertTrue ("Timeout receiving event", e != null);
      if (e.eventType().equals (WfAuditEvent.PROCESS_STATE_CHANGED)
    && e.processKey().equals (procKey)
    && ((WfStateAuditEvent)e).newState().startsWith ("closed")) {
    break;
      }
  }
        assertTrue (e instanceof ProcessClosedAuditEvent);
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfAuditEvent.processKey()

  while (true) {
      WfAuditEvent e = subs.receive(5000);
      assertTrue ("Timeout receiving event", e != null);
      if (e.eventType().equals (WfAuditEvent.PROCESS_STATE_CHANGED)
    && e.processKey().equals (procKey)
    && ((WfStateAuditEvent)e).newState().startsWith ("closed")) {
    break;
      }
  }
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfAuditEvent.processKey()

      System.err.println(" --------------------- ");
      System.err.println(" event type = " + ae.eventType());
      System.err.println(" time stamp = " + ae.timeStamp());
      System.err.println(" activity key = " + ae.activityKey());
      System.err.println(" activity name = " + ae.activityName());
      System.err.println(" process key = " + ae.processKey());
      System.err.println(" process name = " + ae.processName());
      System.err.println(" process manager name = "
             + ae.processMgrName());
      System.err.println(" process manager version = "
             + ae.processMgrVersion());
View Full Code Here

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

       
        String mgrName = stateEvent.processMgrName();
        String[] ids = mgrName.split("/");
        String packageId = ids[0];
        String processId = ids[1];
        String processKey = stateEvent.processKey();

        Collection observers;
        try {
            observers = observerRegistry.getObservers(packageId, processId, processKey);
        } catch (SQLException sqle) {
View Full Code Here

Examples of org.activiti.spring.annotations.StartProcess.processKey()

    Method method = invocation.getMethod();

    StartProcess startProcess = AnnotationUtils.getAnnotation(method, StartProcess.class);

    String processKey = startProcess.processKey();

    Assert.hasText(processKey, "you must provide the name of process to start");

    Object result;
    try {
View Full Code Here

Examples of org.camunda.bpm.engine.spring.annotations.StartProcess.processKey()

    Method method = invocation.getMethod();

    StartProcess startProcess = AnnotationUtils.getAnnotation(method, StartProcess.class);

    String processKey = startProcess.processKey();

    Assert.hasText(processKey, "you must provide the name of process to start");

    Object result;
    try {
View Full Code Here

Examples of org.jboss.seam.annotations.bpm.BeginTask.processKey()

      }
      else if ( method.isAnnotationPresent(ResumeProcess.class) )
      {
         log.trace( "encountered @ResumeProcess" );
         ResumeProcess tag = method.getAnnotation(ResumeProcess.class);
         if ( tag.processKey().equals("") )
         {
            Long processId = getProcessOrTaskId( tag.processIdParameter(), tag.processId() );
            return BusinessProcess.instance().resumeProcess(processId);
         }
         else
View Full Code Here

Examples of org.jboss.seam.annotations.bpm.BeginTask.processKey()

            Long processId = getProcessOrTaskId( tag.processIdParameter(), tag.processId() );
            return BusinessProcess.instance().resumeProcess(processId);
         }
         else
         {
            return BusinessProcess.instance().resumeProcess( tag.definition(), getProcessKey( tag.processKey() ) );
         }
      }
      if ( method.isAnnotationPresent(EndTask.class) )
      {
         log.trace( "encountered @EndTask" );
View Full Code Here

Examples of org.jboss.seam.annotations.bpm.BeginTask.processKey()

      }
      else if ( method.isAnnotationPresent(ResumeProcess.class) )
      {
         log.trace( "encountered @ResumeProcess" );
         ResumeProcess tag = method.getAnnotation(ResumeProcess.class);
         if ( tag.processKey().equals("") )
         {
            Long processId = getProcessOrTaskId( tag.processIdParameter(), tag.processId() );
            return BusinessProcess.instance().resumeProcess(processId);
         }
         else
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.