类 DocumentServiceImpl
- java.lang.Object
-
- net.risesoft.service.impl.DocumentServiceImpl
-
- 所有已实现的接口:
DocumentService
@Service public class DocumentServiceImpl extends Object implements DocumentService
-
-
构造器概要
构造器 构造器 说明 DocumentServiceImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 OpenDataModeladd(String itemId, boolean mobile)Description: 事项新建公文voidcomplete(String taskId)Description: 办结DocUserChoiseModeldocUserChoise(String itemId, String processDefinitionKey, String processDefinitionId, String taskId, String taskDefKey, String processInstanceId)Description: 发送对象获取(单个串行-并行节点)OpenDataModeledit(String itembox, String taskId, String processInstanceId, String itemId, boolean mobile)Description: 办件办理net.risesoft.pojo.Y9Result<String>forwarding(String taskId, String sponsorHandle, String userChoice, String routeToTaskId, String sponsorGuid)Description: 发送OpenDataModelgenDocumentModel(String itemId, String processDefinitionKey, String processDefinitionId, String taskDefinitionKey, boolean mobile, OpenDataModel model)Description: 获取绑定表单StringgetFirstItem()Description: 获取首个事项idStringgetFormIdByItemId(String itemId, String processDefinitionKey)根据事项id获取绑定表单List<net.risesoft.model.platform.OrgUnit>getUserChoice(String itemId, String processDefinitionId, String taskDefinitionKey, String processSerialNumber)List<ItemListModel>listItems()获取新建事项列表List<ItemListModel>listMyItems()获取个人有权限列表OpenDataModelmenuControl(String itemId, String processDefinitionId, String taskDefKey, String taskId, OpenDataModel model, String itembox)Description: 获取菜单net.risesoft.pojo.Y9Result<net.risesoft.model.processadmin.TargetModel>parserRouteToTaskId(String itemId, String processSerialNumber, String processDefinitionId, String taskDefKey, String taskId)net.risesoft.pojo.Y9Result<List<String>>parserUser(String itemId, String processDefinitionId, String routeToTaskId, String routeToTaskName, String processInstanceId, String multiInstance)List<String>parseUserChoice(String userChoice)Description: 解析工作流发送时用户选取的人员net.risesoft.pojo.Y9Result<String>reposition(String taskId, String userChoice)重定位net.risesoft.pojo.Y9Result<String>saveAndForwarding(String itemId, String processSerialNumber, String processDefinitionKey, String userChoice, String sponsorGuid, String routeToTaskId, Map<String,Object> variables)Description: 启动流程并发送net.risesoft.pojo.Y9Result<String>saveAndForwardingByTaskKey(String itemId, String processSerialNumber, String processDefinitionKey, String userChoice, String sponsorGuid, String routeToTaskId, String startRouteToTaskId, Map<String,Object> variables)Description: 启动流程并发送(指定)net.risesoft.pojo.Y9Result<Object>saveAndSubmitTo(String itemId, String processSerialNumber)Description: 启动流程并提交SignTaskConfigModelsignTaskConfig(String itemId, String processDefinitionId, String taskDefinitionKey, String processSerialNumber)获取签收任务配置net.risesoft.pojo.Y9Result<String>start4Forwarding(String taskId, String routeToTaskId, String sponsorGuid, List<String> userList)StartProcessResultModelstartProcess(String itemId, String processSerialNumber, String processDefinitionKey)启动流程,用于当前人启动本租户的流程,启动者是人StartProcessResultModelstartProcess(String itemId, String processSerialNumber, String processDefinitionKey, String userIds)启动流程,多人Map<String,Object>startProcessByTaskKey(String itemId, String processSerialNumber, String processDefinitionKey, String startRouteToTaskId)启动流程,指定任务节点net.risesoft.pojo.Y9Result<Object>submitTo(String processSerialNumber, String taskId)Description: 启动流程并提交
-
-
-
方法详细资料
-
add
public OpenDataModel add(String itemId, boolean mobile)
从接口复制的说明:DocumentServiceDescription: 事项新建公文- 指定者:
add在接口中DocumentService- 参数:
itemId- 事项id- 返回:
-
complete
public void complete(String taskId) throws Exception
从接口复制的说明:DocumentServiceDescription: 办结- 指定者:
complete在接口中DocumentService- 参数:
taskId- 任务id- 抛出:
Exception
-
docUserChoise
public DocUserChoiseModel docUserChoise(String itemId, String processDefinitionKey, String processDefinitionId, String taskId, String taskDefKey, String processInstanceId)
从接口复制的说明:DocumentServiceDescription: 发送对象获取(单个串行-并行节点)- 指定者:
docUserChoise在接口中DocumentService- 参数:
itemId- 事项idprocessDefinitionKey- 流程定义keyprocessDefinitionId- 流程定义idtaskId- 任务idprocessInstanceId- 流程实例id- 返回:
-
edit
public OpenDataModel edit(String itembox, String taskId, String processInstanceId, String itemId, boolean mobile)
从接口复制的说明:DocumentServiceDescription: 办件办理- 指定者:
edit在接口中DocumentServicetaskId- 任务idprocessInstanceId- 流程实例iditemId- 事项id- 返回:
-
forwarding
public net.risesoft.pojo.Y9Result<String> forwarding(String taskId, String sponsorHandle, String userChoice, String routeToTaskId, String sponsorGuid)
从接口复制的说明:DocumentServiceDescription: 发送- 指定者:
forwarding在接口中DocumentService- 参数:
taskId- 任务id- 返回:
-
genDocumentModel
public OpenDataModel genDocumentModel(String itemId, String processDefinitionKey, String processDefinitionId, String taskDefinitionKey, boolean mobile, OpenDataModel model)
从接口复制的说明:DocumentServiceDescription: 获取绑定表单- 指定者:
genDocumentModel在接口中DocumentService- 参数:
itemId- 事项idprocessDefinitionKey- 流程定义keyprocessDefinitionId- 流程定义idtaskDefinitionKey- 任务节点key- 返回:
-
getFirstItem
public String getFirstItem()
从接口复制的说明:DocumentServiceDescription: 获取首个事项id- 指定者:
getFirstItem在接口中DocumentService- 返回:
-
getFormIdByItemId
public String getFormIdByItemId(String itemId, String processDefinitionKey)
从接口复制的说明:DocumentService根据事项id获取绑定表单- 指定者:
getFormIdByItemId在接口中DocumentService- 参数:
itemId- 事项idprocessDefinitionKey- 流程定义key- 返回:
-
getUserChoice
public List<net.risesoft.model.platform.OrgUnit> getUserChoice(String itemId, String processDefinitionId, String taskDefinitionKey, String processSerialNumber)
-
listItems
public List<ItemListModel> listItems()
从接口复制的说明:DocumentService获取新建事项列表- 指定者:
listItems在接口中DocumentService- 返回:
-
listMyItems
public List<ItemListModel> listMyItems()
从接口复制的说明:DocumentService获取个人有权限列表- 指定者:
listMyItems在接口中DocumentService- 返回:
-
menuControl
public OpenDataModel menuControl(String itemId, String processDefinitionId, String taskDefKey, String taskId, OpenDataModel model, String itembox)
从接口复制的说明:DocumentServiceDescription: 获取菜单- 指定者:
menuControl在接口中DocumentService- 参数:
itemId- 事项idprocessDefinitionId- 流程定义idtaskId- 任务id- 返回:
-
parseUserChoice
public List<String> parseUserChoice(String userChoice)
从接口复制的说明:DocumentServiceDescription: 解析工作流发送时用户选取的人员- 指定者:
parseUserChoice在接口中DocumentService- 返回:
-
parserRouteToTaskId
public net.risesoft.pojo.Y9Result<net.risesoft.model.processadmin.TargetModel> parserRouteToTaskId(String itemId, String processSerialNumber, String processDefinitionId, String taskDefKey, String taskId)
-
parserUser
public net.risesoft.pojo.Y9Result<List<String>> parserUser(String itemId, String processDefinitionId, String routeToTaskId, String routeToTaskName, String processInstanceId, String multiInstance)
- 指定者:
parserUser在接口中DocumentService
-
reposition
public net.risesoft.pojo.Y9Result<String> reposition(String taskId, String userChoice)
从接口复制的说明:DocumentService重定位- 指定者:
reposition在接口中DocumentService- 参数:
taskId- 任务id- 返回:
-
saveAndForwarding
public net.risesoft.pojo.Y9Result<String> saveAndForwarding(String itemId, String processSerialNumber, String processDefinitionKey, String userChoice, String sponsorGuid, String routeToTaskId, Map<String,Object> variables)
从接口复制的说明:DocumentServiceDescription: 启动流程并发送- 指定者:
saveAndForwarding在接口中DocumentService- 参数:
itemId- 事项idprocessSerialNumber- 流程编号processDefinitionKey- 流程定义key- 返回:
-
saveAndForwardingByTaskKey
public net.risesoft.pojo.Y9Result<String> saveAndForwardingByTaskKey(String itemId, String processSerialNumber, String processDefinitionKey, String userChoice, String sponsorGuid, String routeToTaskId, String startRouteToTaskId, Map<String,Object> variables)
从接口复制的说明:DocumentServiceDescription: 启动流程并发送(指定)- 指定者:
saveAndForwardingByTaskKey在接口中DocumentService- 参数:
itemId- 事项idprocessSerialNumber- 流程编号processDefinitionKey- 流程定义key- 返回:
-
saveAndSubmitTo
public net.risesoft.pojo.Y9Result<Object> saveAndSubmitTo(String itemId, String processSerialNumber)
从接口复制的说明:DocumentServiceDescription: 启动流程并提交- 指定者:
saveAndSubmitTo在接口中DocumentService- 参数:
itemId- 事项idprocessSerialNumber- 流程编号- 返回:
-
signTaskConfig
public SignTaskConfigModel signTaskConfig(String itemId, String processDefinitionId, String taskDefinitionKey, String processSerialNumber)
从接口复制的说明:DocumentService获取签收任务配置- 指定者:
signTaskConfig在接口中DocumentService- 参数:
itemId- 事项idprocessDefinitionId- 流程定义idtaskDefinitionKey- 任务节点keyprocessSerialNumber- 流程编号- 返回:
-
start4Forwarding
public net.risesoft.pojo.Y9Result<String> start4Forwarding(String taskId, String routeToTaskId, String sponsorGuid, List<String> userList)
-
startProcess
public StartProcessResultModel startProcess(String itemId, String processSerialNumber, String processDefinitionKey)
从接口复制的说明:DocumentService启动流程,用于当前人启动本租户的流程,启动者是人- 指定者:
startProcess在接口中DocumentService- 参数:
itemId- 事项idprocessSerialNumber- 流程编号processDefinitionKey- 流程定义key- 返回:
-
startProcess
public StartProcessResultModel startProcess(String itemId, String processSerialNumber, String processDefinitionKey, String userIds)
从接口复制的说明:DocumentService启动流程,多人- 指定者:
startProcess在接口中DocumentService- 参数:
itemId- 事项idprocessSerialNumber- 流程编号processDefinitionKey- 流程定义key- 返回:
-
startProcessByTaskKey
public Map<String,Object> startProcessByTaskKey(String itemId, String processSerialNumber, String processDefinitionKey, String startRouteToTaskId)
从接口复制的说明:DocumentService启动流程,指定任务节点- 指定者:
startProcessByTaskKey在接口中DocumentService- 参数:
itemId- 事项idprocessSerialNumber- 流程编号processDefinitionKey- 流程定义key- 返回:
-
submitTo
public net.risesoft.pojo.Y9Result<Object> submitTo(String processSerialNumber, String taskId)
从接口复制的说明:DocumentServiceDescription: 启动流程并提交- 指定者:
submitTo在接口中DocumentService- 参数:
processSerialNumber- 流程编号taskId- 任务id- 返回:
-
-