Examples of IWFOMService


Examples of com.starflow.wf.service.spi.IWFOMService

   */
  protected List<Participant> getWIParticipantsExt(AbstractFlowEvent event, ActivityElement activityXml) {
    List<Participant> _particis = null;
    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) {
      String actName = activityXml.getName();
      throw new ProcessEngineException("【" + actName + "】环节指定的参与为空,不能启动流程");
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.