• 大小: 25.75MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-22
  • 语言: 其他
  • 标签: activiti  ssm  

资源简介

activiti ssm activiti源码分析,activiti整合ssm框架

资源截图

代码片段和文件信息

package main.java.com.beyond.controller;


import main.java.com.beyond.service.WorkflowProcessDefinitionService;
import main.java.com.beyond.service.WorkflowTraceService;
import main.java.com.beyond.util.Page;
import main.java.com.beyond.util.PageUtil;
import main.java.com.beyond.util.UserUtil;
import main.java.com.beyond.util.WorkflowUtils;

import org.activiti.bpmn.converter.BpmnxmlConverter;
import org.activiti.bpmn.model.BpmnModel;
import org.activiti.editor.constants.ModelDataJsonConstants;
import org.activiti.editor.language.json.converter.BpmnJsonConverter;
import org.activiti.engine.RepositoryService;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService;
import org.activiti.engine.identity.User;
import org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator;
import org.activiti.engine.impl.context.Context;
import org.activiti.engine.repository.Deployment;
import org.activiti.engine.repository.Model;
import org.activiti.engine.repository.ProcessDefinition;
import org.activiti.engine.repository.ProcessDefinitionQuery;
import org.activiti.engine.runtime.ProcessInstance;
import org.activiti.engine.task.Task;
import org.activiti.spring.ProcessEngineFactoryBean;
import org.apache.commons.io.FilenameUtils;
import org.codehaus.jackson.map.objectMapper;
import org.codehaus.jackson.node.objectNode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;

import com.google.gson.Gson;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.xml.stream.xmlInputFactory;
import javax.xml.stream.xmlStreamException;
import javax.xml.stream.xmlStreamReader;

import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.zip.ZipInputStream;

/**
 * 流程管理控制器
 *
 * @author HenryYan
 */
@Controller
@RequestMapping(value = “/workflow.do“)
public class ActivitiController {

    protected Logger logger = LoggerFactory.getLogger(getClass());

    protected WorkflowProcessDefinitionService workflowProcessDefinitionService;

    protected RepositoryService repositoryService;

    protected RuntimeService runtimeService;

    protected Task

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-11-29 09:47  ssm+activiti\
     目录           0  2015-01-13 11:53  ssm+activiti\Att2\
     文件         588  2015-01-12 09:27  ssm+activiti\Att2\.classpath
     文件        1037  2015-01-12 09:27  ssm+activiti\Att2\.project
     目录           0  2015-01-12 09:27  ssm+activiti\Att2\.settings\
     文件         503  2015-01-12 09:27  ssm+activiti\Att2\.settings\.jsdtscope
     文件         364  2015-01-12 09:27  ssm+activiti\Att2\.settings\org.eclipse.jdt.core.prefs
     文件         464  2015-01-12 09:27  ssm+activiti\Att2\.settings\org.eclipse.wst.common.component
     文件         305  2015-01-12 09:27  ssm+activiti\Att2\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2015-01-12 09:27  ssm+activiti\Att2\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2015-01-12 09:27  ssm+activiti\Att2\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2015-01-12 10:33  ssm+activiti\Att2\build\
     目录           0  2015-01-28 13:28  ssm+activiti\Att2\build\classes\
     文件         166  2015-01-13 13:42  ssm+activiti\Att2\build\classes\jdbc.properties
     文件         595  2015-01-12 16:46  ssm+activiti\Att2\build\classes\log4j.properties
     目录           0  2015-01-28 13:28  ssm+activiti\Att2\build\classes\main\
     目录           0  2015-01-28 13:28  ssm+activiti\Att2\build\classes\main\java\
     目录           0  2015-01-28 13:28  ssm+activiti\Att2\build\classes\main\java\com\
     目录           0  2015-01-28 13:28  ssm+activiti\Att2\build\classes\main\java\com\beyond\
     目录           0  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\controller\
     文件        7092  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\controller\ActivitiController.class
     文件        6543  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\controller\LeaveController.class
     文件        3222  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\controller\LoginController.class
     目录           0  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\dao\
     文件         410  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\dao\LeaveDao.class
     目录           0  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\form\
     文件        1115  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\form\UsersFormType.class
     目录           0  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\model\
     文件         764  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\model\IdEntity.class
     文件        5012  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\model\Leave.class
     目录           0  2015-01-28 13:29  ssm+activiti\Att2\build\classes\main\java\com\beyond\service\
............此处省略362个文件信息

评论

共有 条评论