Examples of processId()


Examples of de.danet.an.workflow.api.ProcessDefinition.processId()

        }
        this.baseUrl = baseUrl;
        this.resource = AbstractResponseGenerator.RESOURCE_INSTANCE;
        ProcessDefinition procDef = process.processDefinition();
        this.packageId = procDef.packageId();
        this.processId = procDef.processId();
        this.processKey = process.key();
    }

    /**
     * Create a new instance that references an activity.
View Full Code Here

Examples of de.danet.an.workflow.api.ProcessDefinition.processId()

        this.baseUrl = baseUrl;
        this.resource = AbstractResponseGenerator.RESOURCE_ACTIVITY;
        Process process = (Process)activity.container();
        ProcessDefinition procDef = process.processDefinition();
        this.packageId = procDef.packageId();
        this.processId = procDef.processId();
        this.processKey = process.key();
        this.activityKey = activity.key();
    }

    /**
 
View Full Code Here

Examples of de.danet.an.workflow.api.ProcessDefinition.processId()

       
        Collection procdefs = pdd.processDefinitions();
        for (Iterator i = procdefs.iterator(); i.hasNext ();) {
            ProcessDefinition pd = (ProcessDefinition)i.next ();
            try {
                if (!pdd.isEnabled(pd.packageId(), pd.processId())) {
                    continue;
                }
            } catch (InvalidKeyException e) {
                continue;
            }
View Full Code Here

Examples of de.danet.an.workflow.api.ProcessDefinition.processId()

  assertTrue(((Participant)procdef.participants().iterator().next())
       .getId().equals("currentUser"));
  assertTrue(procdef.removeClosedProcess());
        assertTrue(procdef.cleanupMode() == ProcessDefinition.REMOVE_AUTOMATIC);
  assertTrue(procdef.packageId().equals("SystemTest_full"));
  assertTrue(procdef.processId().equals("full"));
  assertTrue(procdef.packageName().equals("System Test (procdef)"));
  assertTrue(procdef.processName().equals("PROCESS_COMPLETE_ATTRIBUTES"));
  assertTrue(procdef.mgrName().equals("SystemTest_full/full"));
  ProcessDefinition.ProcessHeaderData hdr = procdef.processHeader();
  assertTrue(hdr.created().equals("Tue Jan 14 14:58:01 CEST 2003"));
View Full Code Here

Examples of de.danet.an.workflow.api.ProcessDefinition.processId()

        String observer = getChildsTextContent(action, "ObserverKey");
        if (observer != null) {
            try {
                ProcessDefinition procdef = proc.processDefinition();
                ObserverRegistry obs = getObserverRegistry();
                obs.subscribe(observer, procdef.packageId(), procdef
                        .processId(), proc.key(), getResourceReference()
                        .getBaseUrl());
            } catch (SQLException e) {
                FaultUtils.setFault(respMsg, e);
View Full Code Here

Examples of de.danet.an.workflow.domain.DefaultProcessDefinition.processId()

      sb.append(st + "\n");
  }
  ProcessDefinition pd = new DefaultProcessDefinition (sb.toString());
  assertTrue (pd.packageId().equals ("unittests"));
  assertTrue (pd.packageName().equals ("Initial workflow processes"));
  assertTrue (pd.processId().equals ("account_neu"));
  assertTrue (pd.processName().equals ("Account anlegen"));
  assertTrue (pd.processHeader().packageHeader().xpdlVersion().equals ("0.09"));
  assertTrue (pd.processHeader().packageHeader().vendor().equals ("Danet GmbH, GS AN"));
  assertTrue (pd.processHeader().packageHeader().created().equals ("Sat Aug 24 15:12:01 CEST 2002"));
  assertTrue (pd.processHeader().created().equals ("01.09.2001"));
View Full Code Here

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

      {
         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
         {
            return BusinessProcess.instance().resumeProcess( tag.definition(), getProcessKey( tag.processKey() ) );
View Full Code Here

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

      {
         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
         {
            return BusinessProcess.instance().resumeProcess( tag.definition(), getProcessKey( tag.processKey() ) );
View Full Code Here

Examples of org.jboss.seam.annotations.bpm.ResumeProcess.processId()

      {
         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
         {
            return BusinessProcess.instance().resumeProcess( tag.definition(), getProcessKey( tag.processKey() ) );
View Full Code Here

Examples of org.jboss.seam.annotations.bpm.ResumeProcess.processId()

      {
         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
         {
            return BusinessProcess.instance().resumeProcess( tag.definition(), getProcessKey( tag.processKey() ) );
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.