Package org.uengine.kernel

Examples of org.uengine.kernel.BackActivity


  }

  public Object convert(Object src, Hashtable keyedContext) throws Exception {
    GraphActivity graphActivity = (GraphActivity) super.convert(src, keyedContext);
   
    BackActivity bAct = (BackActivity) graphActivity.getReferenceActivity();
    ActivitySelectionContext asc = bAct.getTargetActivity();
    String tt = asc.getTracingTag();
   
    if (UEngineUtil.isNotEmpty(tt) && keyedContext.get(tt) != null) {
      graphActivity.addNext((GraphActivity) keyedContext.get(tt));
    } else {
View Full Code Here


        approvalLineDAO.update(approvalLine);
        approverDAO.add(_approverList);
     
      // 플래그로 반려
      } else if (rejectOption == ExternalApprovalLineActivity.LOOPING_OPTION_BACK_TO_FLAG) {
        BackActivity backActivity = new BackActivity();
        backActivity.setTargetSource(BackActivity.Flag);
        backActivity.setFlag(approvalLineAct.getFlag());
        backActivity.executeActivity(instance);
       
      // 결재선 종료
      } else if (rejectOption == ExternalApprovalLineActivity.LOOPING_OPTION_FINISH) {
        approvalAct.setEndTime(instance, endTime);
        approvalAct.getApprovalLineActivity().fireComplete(instance);
View Full Code Here

 
  public StringBuilder render(Activity activity, ProcessInstance instance, Map options){
   
    boolean isVertical = options.containsKey("vertical");

    BackActivity backAct = (BackActivity)activity;
    String backActivitySequence = SubProcessActivityViewer.getAbsoluteParentTracingTag(options, instance, activity.getTracingTag());

    int targetSource = backAct.getTargetSource();
    ActivitySelectionContext asc = null;
   
    switch (targetSource) {
    case BackActivity.Flag:
      try {
        asc = FlagActivity.getFlagLocationForFlowChart(instance, backAct.getFlag());
      } catch (Exception e) {
        e.printStackTrace();
      }
      break;
    default:
      asc  = backAct.getTargetActivity();
      break;
    }
   
    if (asc != null) {
        String TargetActivityTracingTag = asc.getTracingTag();
View Full Code Here

TOP

Related Classes of org.uengine.kernel.BackActivity

Copyright © 2018 www.massapicom. 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.