提交 619d7f23 编写于 作者: doc_wei's avatar doc_wei 提交者: Gitee

工作流类详细注释

上级 3c934c11
/**
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved.
*/
package com.skyeye.activiti.controller;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -12,6 +13,14 @@ import com.skyeye.activiti.service.ActivitiModelService;
import com.skyeye.common.object.InputObject;
import com.skyeye.common.object.OutputObject;
/**
* @ClassName: ActivitiModelController
* @Description: 工作流控制类
* @author: skyeye云系列--卫志强
* @date: 2021/4/10 22:03
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目
*/
@Controller
public class ActivitiModelController {
......
......@@ -8,6 +8,14 @@ import org.activiti.engine.repository.Deployment;
import org.activiti.rest.common.util.DateToStringSerializer;
import java.util.Date;
/**
* @ClassName: DeploymentResponse
* @Description: 工作流对象类
* @author: skyeye云系列--卫志强
* @date: 2021/4/10 22:03
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目
*/
public class DeploymentResponse {
private String id;
......
......@@ -6,6 +6,14 @@ package com.skyeye.activiti.service;
import com.skyeye.common.object.InputObject;
import com.skyeye.common.object.OutputObject;
/**
* @ClassName: ActivitiModelService
* @Description: 工作流服务接口类
* @author: skyeye云系列--卫志强
* @date: 2021/4/10 22:03
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目
*/
public interface ActivitiModelService {
public void insertNewActivitiModel(InputObject inputObject, OutputObject outputObject) throws Exception;
......
/**
* Copyright 卫志强 QQ:598748873@qq.com Inc. All rights reserved.
*/
package com.skyeye.activiti.service.impl;
import java.util.ArrayList;
......@@ -28,6 +29,14 @@ import com.skyeye.common.object.InputObject;
import com.skyeye.common.object.OutputObject;
import com.skyeye.common.util.ToolUtil;
/**
* @ClassName: ActivitiModelServiceImpl
* @Description: 工作流服务类
* @author: skyeye云系列--卫志强
* @date: 2021/4/10 22:03
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目
*/
@Service
public class ActivitiModelServiceImpl implements ActivitiModelService{
......
......@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.skyeye.activity.main;
import java.io.InputStream;
......@@ -25,8 +26,12 @@ import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
/**
* @author Tijs Rademakers
* 获取编辑器组件及配置项信息
* @ClassName: StencilsetRestResource
* @Description: 获取编辑器组件及配置项信息
* @author: skyeye云系列--卫志强
* @date: 2021/4/10 22:03
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目
*/
@RestController
@RequestMapping(value = "/service")
......
......@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.skyeye.activity.model;
import org.activiti.editor.constants.ModelDataJsonConstants;
......@@ -32,8 +33,12 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
/**
* @author Tijs Rademakers
* 根据modelId获取model的节点信息,编辑器根据返回的json进行绘图
* @ClassName: ModelEditorJsonRestResource
* @Description: 根据modelId获取model的节点信息,编辑器根据返回的json进行绘图
* @author: skyeye云系列--卫志强
* @date: 2021/4/10 22:03
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目
*/
@RestController
@RequestMapping(value = "/service")
......
......@@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.skyeye.activity.model;
import java.io.ByteArrayInputStream;
......@@ -40,8 +41,12 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
/**
* @author Tijs Rademakers
* 编辑器制图之后,将节点信息以json的形式提交给这个Controller,然后由其进行持久化操作
* @ClassName: ModelSaveRestResource
* @Description: 编辑器制图之后,将节点信息以json的形式提交给这个Controller,然后由其进行持久化操作
* @author: skyeye云系列--卫志强
* @date: 2021/4/10 22:03
* @Copyright: 2021 https://gitee.com/doc_wei01/skyeye Inc. All rights reserved.
* 注意:本内容仅限购买后使用.禁止私自外泄以及用于其他的商业目
*/
@RestController
@RequestMapping(value = "/service")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册