Examples of activity()


Examples of com.arjuna.mw.wsas.activity.ActivityHierarchy.activity()

          for (int i = 0; i < hier.size(); i++)
          {
            org.w3c.dom.Element element = _doc.createElement(_contextElement);
            org.w3c.dom.Element timeout = _doc.createElement("timeout");
       
            timeout.appendChild(_doc.createTextNode(""+hier.activity(i).getTimeout()));
            element.appendChild(timeout);
       
            org.w3c.dom.Element type = _doc.createElement("type");
            type.appendChild(_doc.createTextNode(_typeName));
            element.appendChild(type);
View Full Code Here

Examples of com.arjuna.mw.wsas.activity.ActivityHierarchy.activity()

            org.w3c.dom.Element type = _doc.createElement("type");
            type.appendChild(_doc.createTextNode(_typeName));
            element.appendChild(type);
       
            org.w3c.dom.Element ctxId = _doc.createElement("ctxId");
            ctxId.appendChild(_doc.createTextNode("urn:"+hier.activity(i).toString()));
            element.appendChild(ctxId);
       
            root.appendChild(element);
          }
      }
View Full Code Here

Examples of com.arjuna.mw.wsas.activity.ActivityHierarchy.activity()

                final int depth = txHier.depth() ;
                _identifierValues = new String[depth] ;
                _expiresValues = new int[depth] ;
               
                _identifierValues[0] = txHier.getDeepestActionUid().stringForm() ;
                _expiresValues[0] = hier.activity(hier.size()-1).getTimeout() ;
             
            /*
             * Now let's do the optional stuff.
             */
                for(int count = 1, index = 0 ; count < depth ; count++, index++)
View Full Code Here

Examples of com.arjuna.mw.wsas.activity.ActivityHierarchy.activity()

             * Now let's do the optional stuff.
             */
                for(int count = 1, index = 0 ; count < depth ; count++, index++)
                {
                    _identifierValues[count] = txHier.getActionUid(index).stringForm() ;
                    _expiresValues[count] = hier.activity(index).getTimeout() ;
                }
            }
      }
      catch (ClassCastException ex)
      {
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfAssignment.activity()

                        Collection assignments = resource.workItems();
                        for (Iterator i = assignments.iterator(); i.hasNext ();) {
                            WfAssignment assignment = (WfAssignment)i.next();
                            assignedActivitiesList.add
                                (new ActivityWrapper
                                 (wfs, (Activity)assignment.activity()));
                        }
                    } catch (RemoteException e) {
                        JSFUtil.addMessage(FacesMessage.SEVERITY_ERROR, L10N_MSGS,
                                           "resourceCurrentlyUnavailable", null, e);
                    } catch (InvalidKeyException e) {
View Full Code Here

Examples of de.danet.an.workflow.omgcore.WfAssignment.activity()

  boolean found = false;
  WfResource resource = ras.resourceByKey(key);
  Collection assignedActivities = ras.workItems(resource);
  for (Iterator i = assignedActivities.iterator(); i.hasNext();) {
      WfAssignment assignment = (WfAssignment)i.next();
      WfActivity act = assignment.activity();
      if (testProc.key().equals(act.container().key())) {
    found = true;
    assertTrue(assignment.assignee().resourceName()
         .equals(name));
    break;
View Full Code Here

Examples of org.enhydra.shark.api.client.wfmodel.WfAssignment.activity()

                    if (processId.equals(tempProcessId)) {
                        WfAssignment wfa = wItems[i];
                        boolean acceptedStatus = wfa.get_accepted_status();
                        boolean validItem = ((accepted == null) || (accepted.booleanValue() && acceptedStatus) || (!accepted.booleanValue() && !acceptedStatus));
                        if (validItem) {
                            WfActivity activity = wfa.activity();
                            processMap.put(activity.name(), activity.key());
                        }
                    }
                }
            }
View Full Code Here

Examples of org.enhydra.shark.api.client.wfmodel.WfAssignment.activity()

            sc = connect();

            WfAssignment wfa = getSharkAssignment(sc, activityId);
            if (wfa != null) {
                WfActivity activity = wfa.activity();
                WfResource assignee = wfa.assignee();
                WfProcess process = activity.container();
                WfProcessMgr manager = process.manager();
                ass = new WorkflowAssignment();
                ass.setAccepted(wfa.get_accepted_status());
View Full Code Here

Examples of org.enhydra.shark.api.client.wfmodel.WfAssignment.activity()

            for (int i = 0; i < wItems.length; ++i) {
                WfAssignment wfa = wItems[i];
                boolean acceptedStatus = wfa.get_accepted_status();
                WorkflowAssignment ass = new WorkflowAssignment();
                ass.setAccepted(acceptedStatus);
                WfActivity activity = wfa.activity();
                WfResource assignee = wfa.assignee();
                WfProcess process = activity.container();
                WfProcessMgr manager = process.manager();
                ass.setActivityId(activity.key());
                ass.setActivityName(activity.name());
View Full Code Here

Examples of org.enhydra.shark.api.client.wfmodel.WfAssignment.activity()

            for (int i = 0; i < wItems.length; ++i) {
                WfAssignment wfa = wItems[i];
                boolean acceptedStatus = wfa.get_accepted_status();
                WorkflowAssignment ass = new WorkflowAssignment();
                ass.setAccepted(acceptedStatus);
                WfActivity activity = wfa.activity();
                WfResource assignee = wfa.assignee();
                WfProcess process = activity.container();
                WfProcessMgr manager = process.manager();
                ass.setActivityId(activity.key());
                ass.setActivityName(activity.name());
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.