Examples of packageId()


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

  assertTrue (processDefinitions.size() > 0);
  ProcessDefinition pd
      = (ProcessDefinition)(processDefinitions.iterator().next());
  assertTrue (pdd.isEnabled(pd.packageId(), pd.processId()));
  pdd.setEnabled (pd.packageId(), pd.processId(), false);
  assertTrue (!pdd.isEnabled(pd.packageId(), pd.processId()));
  pdd.setEnabled (pd.packageId(), pd.processId(), true);
  assertTrue (pdd.isEnabled(pd.packageId(), pd.processId()));
    }

    /**
 
View Full Code Here

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

  ProcessDefinition pd
      = (ProcessDefinition)(processDefinitions.iterator().next());
  assertTrue (pdd.isEnabled(pd.packageId(), pd.processId()));
  pdd.setEnabled (pd.packageId(), pd.processId(), false);
  assertTrue (!pdd.isEnabled(pd.packageId(), pd.processId()));
  pdd.setEnabled (pd.packageId(), pd.processId(), true);
  assertTrue (pdd.isEnabled(pd.packageId(), pd.processId()));
    }

    /**
     * Removes a given process definition using the ProcessDirectory bean.
View Full Code Here

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

      = (ProcessDefinition)(processDefinitions.iterator().next());
  assertTrue (pdd.isEnabled(pd.packageId(), pd.processId()));
  pdd.setEnabled (pd.packageId(), pd.processId(), false);
  assertTrue (!pdd.isEnabled(pd.packageId(), pd.processId()));
  pdd.setEnabled (pd.packageId(), pd.processId(), true);
  assertTrue (pdd.isEnabled(pd.packageId(), pd.processId()));
    }

    /**
     * Removes a given process definition using the ProcessDirectory bean.
     */
 
View Full Code Here

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

            SOAPBodyElement propsNode) throws RemoteException, SOAPException {
        Collection observers;
        try {
            ObserverRegistry obs = getObserverRegistry();
            ProcessDefinition procdef = proc.processDefinition();
            observers = obs.getObservers(procdef.packageId(),
                    procdef.processId(), proc.key());
        } catch (SQLException e) {
            FaultUtils.setFault(respMsg, e);
            return;
        }
View Full Code Here

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

        ProcessDefinition procdef = proc.processDefinition();
        try {
            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.api.ProcessDefinition.packageId()

        }

        ProcessDefinition procdef = proc.processDefinition();
        try {
            ObserverRegistry obs = getObserverRegistry();
            obs.unsubscribe(observer, procdef.packageId(), procdef.processId(),
                    proc.key());
        } catch (SQLException e) {
            FaultUtils.setFault(respMsg, e);
           
            return;
View Full Code Here

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

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

    /**
 
View Full Code Here

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

        }
        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.packageId()

       
        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.packageId()

  assertTrue(procdef.participants().size() == 1);
  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();
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.