Examples of processHeader()


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

 
  ProcessDefinition pd
      = pdd.lookupProcessDefinition("ut-procdef", "called1");
  assertTrue (pd != null);
  assertTrue (pd.processHeader().created().equals ("07.04.2003"));
  assertTrue (pd.processHeader().description().equals ("Was tun"));
  ProcessDataInfo pdi = pd.resultSignature();
  assertTrue (pdi.keySet().size () == 1);
  assertTrue (pdi.containsKey("status"));
  assertTrue (pdi.get("status") == String.class);
    }
View Full Code Here

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

        ProcessDefinitionDirectory pdd
            = WorkflowServiceFactory.newInstance()
            .newWorkflowService().processDefinitionDirectory();
  ProcessDefinition pd = pdd.lookupProcessDefinition
      ("ut-procdef", "testRedefinableHeader");
  assertTrue(pd.processHeader().author().equals("tester"));
  // Redefinable header of version in process overrides the version
  // defined in the package redefinable header.
  assertTrue(pd.processHeader().version().equals("1.2"));
  pdd.removeProcessDefinition("ut-procdef", "testRedefinableHeader");
    }
View Full Code Here

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

  ProcessDefinition pd = pdd.lookupProcessDefinition
      ("ut-procdef", "testRedefinableHeader");
  assertTrue(pd.processHeader().author().equals("tester"));
  // Redefinable header of version in process overrides the version
  // defined in the package redefinable header.
  assertTrue(pd.processHeader().version().equals("1.2"));
  pdd.removeProcessDefinition("ut-procdef", "testRedefinableHeader");
    }

    public static void importProcessDefinitions(String filename)
  throws Exception {
View Full Code Here

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

                    Consts.WFXML_PREFIX);
            String val = pd.processName();
            maybeAddTextNode(name, val);
            SOAPElement descr = defInfo.addChildElement("Description",
                    Consts.WFXML_PREFIX);
            val = pd.processHeader().description();
            maybeAddTextNode(descr, val);
            SOAPElement version = defInfo.addChildElement("Version",
                    Consts.WFXML_PREFIX);
            val = pd.processHeader().version();
            maybeAddTextNode(version, val);
View Full Code Here

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

                    Consts.WFXML_PREFIX);
            val = pd.processHeader().description();
            maybeAddTextNode(descr, val);
            SOAPElement version = defInfo.addChildElement("Version",
                    Consts.WFXML_PREFIX);
            val = pd.processHeader().version();
            maybeAddTextNode(version, val);
            SOAPElement status = defInfo.addChildElement("Status",
                    Consts.WFXML_PREFIX);
            val = pd.processHeader().publicationStatus();
            maybeAddTextNode(status, val);
View Full Code Here

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

                    Consts.WFXML_PREFIX);
            val = pd.processHeader().version();
            maybeAddTextNode(version, val);
            SOAPElement status = defInfo.addChildElement("Status",
                    Consts.WFXML_PREFIX);
            val = pd.processHeader().publicationStatus();
            maybeAddTextNode(status, val);
        }
    }

View Full Code Here

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

  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"));
  assertTrue(hdr.description().equals("Description for test of all"
              + " accessible attributes"));
  assertTrue(hdr.priority().equals("5"));
  assertTrue(hdr.limit().equals("3 days"));
View Full Code Here

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

  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"));
  assertTrue (pd.processHeader().description().equals ("Anlegen eines Accounts"));
  assertTrue (pd.processHeader().priority().equals ("1"));
View Full Code Here

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

  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"));
  assertTrue (pd.processHeader().description().equals ("Anlegen eines Accounts"));
  assertTrue (pd.processHeader().priority().equals ("1"));
View Full Code Here

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

  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"));
  assertTrue (pd.processHeader().description().equals ("Anlegen eines Accounts"));
  assertTrue (pd.processHeader().priority().equals ("1"));

  assertTrue (pd.contextSignature()
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.