Examples of ParticipantMode


Examples of com.starflow.wf.engine.core.participant.ParticipantMode

   */
  protected List<Participant> getWIParticipants(AbstractFlowEvent event, ActivityElement activityXml) {
    List<Participant> participants = null;
   
    String mode = activityXml.getParticipantType();
    ParticipantMode particiMode = ParticipantModeFactory.buildParticipantMode(mode);
    participants = particiMode.creatParticipants(event, activityXml);
   
    if(participants ==null || participants.size() == 0) {
      String actName = activityXml.getName();
      throw new ProcessEngineException("【" + actName + "】环节指定的参与为空,不能启动环节");
    }
View Full Code Here

Examples of com.starflow.wf.engine.core.participant.ParticipantMode

    List<Participant> participants = new LinkedList<Participant>();
   
    IWFOMService service = (IWFOMService)event.getApplicationContext().getBean("WFOMService");
   
    String mode = activityXml.getParticipantType();
    ParticipantMode particiMode = ParticipantModeFactory.buildParticipantMode(mode);
    _particis = particiMode.creatParticipants(event, activityXml);
    for(Participant p : _particis) {
      participants.addAll(service.getParticipants(p.getParticType(), p.getParticipant()));
    }
   
    if(participants ==null || participants.size() == 0) {
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.