Package de.danet.an.workflow.omgcore

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


  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

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.