コード例 #1
0
  /**
   * @param manualActivityPath
   * @param pathDataMapping
   */
  private void processManualActivityPath(
      ManualActivityPath manualActivityPath, Map<Path, DataMapping> pathDataMapping) {
    // Process Children
    for (Path path : manualActivityPath.getChildPaths()) {
      if (path instanceof IppSystemPath) {
        handleSystemPath((IppSystemPath) path);
      } else if (path instanceof DocumentPath) {
        handleDocumentPath((DocumentPath) path, pathDataMapping.get(path));
      } else if (path.isEnumeration()) {
        handleEnumerationPath(path);
      } else if (path.isPrimitive()) {
        handlePrimitivePath(path);
      } else if (path.isList()) {
        handleListDataMapping(path);
      } else if (path.getChildPaths().size() > 0) {
        handleStructureDataMapping(path);
      }
    }

    // For Single Document Case
    IppDocumentInputController docController = getIfSingleDocument();
    if (null != docController && null == docController.getValue()) {
      docController.setOpenDocument(true);
      docController.setEnableOpenDocument(false);
    }
  }