流程控制器
| Fields inherited from class | Fields |
|---|---|
class bropen.framework.controller.DatatableController |
__$stMC, $0x000abropen_toolkit_traits_InterceptorTrait__RAW_ENCODER, $static$1bropen_toolkit_traits_InterceptorTrait__RAW_ENCODER, $0x001abropen_framework_traits_ControllerTrait__TRANSACTION_ACTIONS, $static$1bropen_framework_traits_ControllerTrait__TRANSACTION_ACTIONS, $0x0002bropen_framework_traits_ControllerTrait__osmOrganizationService, $ins$1bropen_framework_traits_ControllerTrait__osmOrganizationService, $0x0002bropen_framework_traits_ControllerTrait__osmEmployeeService, $ins$1bropen_framework_traits_ControllerTrait__osmEmployeeService, $0x0002bropen_framework_traits_ControllerTrait__secUserService, $ins$1bropen_framework_traits_ControllerTrait__secUserService, $0x0002bropen_framework_traits_ControllerTrait__attachmentService, $ins$1bropen_framework_traits_ControllerTrait__attachmentService, $0x0002bropen_framework_traits_ControllerTrait__settingService, $ins$1bropen_framework_traits_ControllerTrait__settingService |
| Type | Name and description |
|---|---|
ArchiveService |
archiveService |
bropen.framework.core.biz.BizPermissionService |
bizPermissionService |
bropen.framework.core.ErrorService |
errorService |
bropen.framework.core.osm.OsmHandoverService |
osmHandoverService |
bropen.framework.core.osm.OsmTreeService |
osmTreeService |
ProcessEmulateService |
processEmulateService |
ProcessEngineService |
processEngineService |
ProcessFlowchartService |
processFlowchartService |
ProcessGroupService |
processGroupService |
ProcessNotificationService |
processNotificationService |
ProcessPermissionService |
processPermissionService |
ProcessPredictService |
processPredictService |
ProcessRollbackService |
processRollbackService |
ProcessSupervisorService |
processSupervisorService |
ProcessViewService |
processViewService |
| Type | Name and description |
|---|---|
Object |
archive(Long id)AJAX:归档 |
Object |
chooseEmpIdent(String controllerName, String entry, Long bizId, String eiIds)创建流程前,如果有多个身份,则在拦截器中自动拦截、并重定向过来选择员工身份 |
Object |
commonOpinions(String command)AJAX:自定义常用意见 |
Object |
completeToread()AJAX:批量处理待阅 |
Object |
configOnekey()AJAX:一键提交配置 |
Object |
countMyWork4Index()AJAX:计算待办、待阅任务数量总数 |
Object |
countWorks()AJAX:待办/待阅/草稿任务数量 |
Object |
create(String docController)创建流程实例 |
Object |
edit()打开待办、待阅、草稿 |
Object |
editOffice()AJAX:正文编辑(依赖 ntko 插件) |
Object |
emulate()仿真 |
Object |
getCreateTree()根据文档分组,计算当前用户的起草树 |
Object |
getCriticalFlowchart(Long id, String entry, String revision)显示关键路径流程图 |
protected Map |
getDataTable(List<Map> listMapping, Map params, Map options)获得基于 DataTable 的任务列表视图的返回结果 |
Object |
getFullFlowchart(Long id, String entry)显示完整的流程图 |
protected Class |
getListClass(String actionName) |
Object |
getParticipantTree()根据文档分组,计算当前用户的列表(参与)树 |
Object |
getPreviousTaskNodeIds()AJAX:根据当前任务和路径,获得“退回上一环节”的nodeId |
Object |
handover()AJAX: 任务移交 |
Object |
listDone()已办任务列表(不包含我起草的) |
Object |
listDraft()草稿任务列表 |
Object |
listDrafted()我起草的任务列表(==流程实例) |
Object |
listFreqCreate()计算常用起草业务列表 |
Object |
listFreqParticipant()计算常用业务列表 |
Object |
listReaded()已阅任务列表 |
Object |
listTodo()待办任务列表 |
Object |
listToread()待阅任务列表 |
Object |
nextActorsAsJSON()AJAX:根据当前任务和路径,获得下一处理/候选人列表 |
Object |
nextReadersAsJSON()AJAX:根据当前任务和路径,获得下一待阅人列表 |
Object |
saveOpinion()AJAX保存意见草稿:目前是按照意见标签,一条意见提交一次,可优化 |
Object |
selectactorsMode()AJAX:根据当前任务和路径,执行selectactors上的脚本,并返回选人策略 |
Object |
selectreadersMode()AJAX:根据当前任务和路径,执行selectreaders上的脚本,并返回选人策略 |
Object |
sendToread()AJAX:根据任务获得发送知会操作的候选人列表,或发送阅知/知会 |
Object |
sendUrgence()AJAX:发送催办 |
Object |
show()打开已办、已阅、只读状态的待办,或者有权限访问的流程 |
Object |
showOpinionLog(Long id)AJAX:所有意见:按照时间顺序显示,同时显示机构、员工头衔等信息 |
Object |
showPredictLog(Long id)显示流程预测的流程日志 |
Object |
showProcessLog(Long id, String entry)AJAX:流程日志(图) |
Object |
showReadLog(Long id)AJAX:阅文日志 |
Object |
submit()提交到下一处理 |
Object |
uploadFile()AJAX:上传附件/获得附件列表 |
| Methods inherited from class | Name |
|---|---|
class bropen.framework.controller.DatatableController |
bropen.framework.controller.DatatableController#getEmployeeId(), bropen.framework.controller.DatatableController#getTransactionManager(), bropen.framework.controller.DatatableController#getOsmEmployeeService(), bropen.framework.controller.DatatableController#setOsmEmployeeService(bropen.framework.core.OsmEmployeeService), bropen.framework.controller.DatatableController#updateDynamicTable(Object, Class, String, String, Map, String, String, Map), bropen.framework.controller.DatatableController#updateDynamicTable(Object, Class, String, String, Map, String, String), bropen.framework.controller.DatatableController#getOsmOrganizationService(), bropen.framework.controller.DatatableController#getSettingService(), bropen.framework.controller.DatatableController#setSettingService(bropen.framework.core.SettingService), bropen.framework.controller.DatatableController#getSecUserService(), bropen.framework.controller.DatatableController#setSecUserService(bropen.framework.core.SecUserService), bropen.framework.controller.DatatableController#setOsmOrganizationService(bropen.framework.core.OsmOrganizationService), bropen.framework.controller.DatatableController#getEmployee(), bropen.framework.controller.DatatableController#orderByParams(Map, String), bropen.framework.controller.DatatableController#orderByParams(), bropen.framework.controller.DatatableController#orderByParams(Map), bropen.framework.controller.DatatableController#paginateParams(), bropen.framework.controller.DatatableController#paginateParams(Integer), bropen.framework.controller.DatatableController#renderError(Object, Object), bropen.framework.controller.DatatableController#renderError(Object), bropen.framework.controller.DatatableController#renderExport(Map), bropen.framework.controller.DatatableController#isAjax(), bropen.framework.controller.DatatableController#renderAjaxMessage(String), bropen.framework.controller.DatatableController#renderAjaxMessage(bropen.toolkit.api.Response), bropen.framework.controller.DatatableController#renderAjaxMessage(bropen.toolkit.api.Response, String), bropen.framework.controller.DatatableController#renderAjaxMessage(Map), bropen.framework.controller.DatatableController#renderAjaxMessage(String, String), bropen.framework.controller.DatatableController#renderAjaxMessage(Map, String), bropen.framework.controller.DatatableController#renderAjaxError(Object, String), bropen.framework.controller.DatatableController#renderAjaxError(Object), bropen.framework.controller.DatatableController#renderClose(), bropen.framework.controller.DatatableController#renderClose(Map), bropen.framework.controller.DatatableController#exportDataTable(), bropen.framework.controller.DatatableController#exportAttachments(), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$paginateParams(), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$paginateParams(Integer), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$paginateParams(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$paginateParams(Integer), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$orderByParams(Map), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$orderByParams(), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$orderByParams(Map, String), bropen.framework.controller.DatatableController#updateDynamicTables(Object, Map), bropen.framework.controller.DatatableController#updateDynamicTables(Object, Map, Map), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$updateDynamicTables(Object, Map), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$updateDynamicTables(Object, Map, Map), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$updateDynamicTable(Object, Class, String, String, Map, String, String), bropen.framework.controller.DatatableController#bropen_toolkit_traits_ControllerTraittrait$super$updateDynamicTable(Object, Class, String, String, Map, String, String, Map), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderAjaxMessage(bropen.toolkit.api.Response), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderAjaxMessage(bropen.toolkit.api.Response, String), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderAjaxMessage(String), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderAjaxMessage(Map), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderAjaxMessage(String, String), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderAjaxMessage(Map, String), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$isAjax(), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderAjaxError(Object), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderAjaxError(Object, String), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderClose(), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$renderClose(Map), bropen.framework.controller.DatatableController#nocache(), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTraittrait$super$nocache(), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTrait__RAW_ENCODER$get(), bropen.framework.controller.DatatableController#bropen_toolkit_traits_InterceptorTrait__RAW_ENCODER$set(org.grails.encoder.Encoder), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getEmployee(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getUser(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getEmployeeId(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getUserId(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getUsername(), bropen.framework.controller.DatatableController#updateAttachments(org.grails.datastore.gorm.GormEntity), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$updateAttachments(org.grails.datastore.gorm.GormEntity), bropen.framework.controller.DatatableController#deleteFailedAttachments(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$deleteFailedAttachments(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$withInstance(Class, Closure, String, String), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$withInstance(Closure), bropen.framework.controller.DatatableController#saveReferences(org.grails.datastore.gorm.GormEntity), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$saveReferences(org.grails.datastore.gorm.GormEntity), bropen.framework.controller.DatatableController#findTemplateFile(String, String, Map), bropen.framework.controller.DatatableController#findTemplateFile(String, String), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$findTemplateFile(String, String), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$findTemplateFile(String, String, Map), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$renderExport(Map), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getOsmOrganizationService(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$setOsmOrganizationService(bropen.framework.core.OsmOrganizationService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getOsmEmployeeService(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$setOsmEmployeeService(bropen.framework.core.OsmEmployeeService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getSecUserService(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$setSecUserService(bropen.framework.core.SecUserService), bropen.framework.controller.DatatableController#getAttachmentService(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getAttachmentService(), bropen.framework.controller.DatatableController#setAttachmentService(bropen.framework.core.AttachmentService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$setAttachmentService(bropen.framework.core.AttachmentService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$getSettingService(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTraittrait$super$setSettingService(bropen.framework.core.SettingService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__settingService$get(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__attachmentService$get(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__secUserService$get(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__osmEmployeeService$get(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__osmOrganizationService$get(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__TRANSACTION_ACTIONS$get(), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__TRANSACTION_ACTIONS$set(List), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__osmOrganizationService$set(bropen.framework.core.OsmOrganizationService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__osmEmployeeService$set(bropen.framework.core.OsmEmployeeService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__secUserService$set(bropen.framework.core.SecUserService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__attachmentService$set(bropen.framework.core.AttachmentService), bropen.framework.controller.DatatableController#bropen_framework_traits_ControllerTrait__settingService$set(bropen.framework.core.SettingService), bropen.framework.controller.DatatableController#renderMessage(Object), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderMessage(Object), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderError(Object, Object), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderError(Object), bropen.framework.controller.DatatableController#renderWarning(Object), bropen.framework.controller.DatatableController#renderWarning(Object, Object), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderWarning(Object, Object), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderWarning(Object), bropen.framework.controller.DatatableController#renderText(Object), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderText(Object), bropen.framework.controller.DatatableController#renderDenied(Object, Object), bropen.framework.controller.DatatableController#renderDenied(Object), bropen.framework.controller.DatatableController#renderDenied(), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderDenied(), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderDenied(Object), bropen.framework.controller.DatatableController#bropen_framework_traits_InterceptorTraittrait$super$renderDenied(Object, Object), bropen.framework.controller.DatatableController#getMetaClass(), bropen.framework.controller.DatatableController#setMetaClass(MetaClass), bropen.framework.controller.DatatableController#raw(Object), bropen.framework.controller.DatatableController#setTransactionManager(org.springframework.transaction.PlatformTransactionManager), bropen.framework.controller.DatatableController#getUsername(), bropen.framework.controller.DatatableController#getUser(), bropen.framework.controller.DatatableController#getUserId(), bropen.framework.controller.DatatableController#withInstance(Closure), bropen.framework.controller.DatatableController#withInstance(Class, Closure, String, String), bropen.framework.controller.DatatableController#setProperty(String, Object), bropen.framework.controller.DatatableController#getProperty(String), bropen.framework.controller.DatatableController#invokeMethod(String, Object), bropen.framework.controller.DatatableController#wait(long, int), bropen.framework.controller.DatatableController#wait(long), bropen.framework.controller.DatatableController#wait(), bropen.framework.controller.DatatableController#equals(Object), bropen.framework.controller.DatatableController#toString(), bropen.framework.controller.DatatableController#hashCode(), bropen.framework.controller.DatatableController#getClass(), bropen.framework.controller.DatatableController#notify(), bropen.framework.controller.DatatableController#notifyAll() |
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
AJAX:归档
创建流程前,如果有多个身份,则在拦截器中自动拦截、并重定向过来选择员工身份
AJAX:自定义常用意见
command - 操作指令:save=保存、delete=删除、update=更新、get=获取AJAX:批量处理待阅
all - 是否处理当前用户所有待阅taskIds - 如果 all 为否,则根据任务ID(多值以逗号或分号分隔)处理待阅AJAX:一键提交配置
command - REQUIRED save,delete,getdocController - REQUIRED 业务控制器名sfId - REQUIRED 路径idtype - REQUIRED 意见/候选人/全部(opinion/actors/all)value - 保存(save)一键提交对应的值AJAX:计算待办、待阅任务数量总数
AJAX:待办/待阅/草稿任务数量
创建流程实例
打开待办、待阅、草稿
id - 流程实例的ID,不能为空taskId - 当前任务的ID,如果为空,则根据taskNode和taskGroupId,取流程实例中当前用户的第一个需要办理的任务taskNode - 当前任务的环节名称,当taskId为空时启用进行任务查询taskGroupId - 当前任务的分支分组名称,当taskId为空时启用进行任务查询。如果参数不存在,则表示所有分组均可;如果参数为null,则表示主干;否则为特定的分组ID。AJAX:正文编辑(依赖 ntko 插件)
taskId - 当前任务的ID仿真
根据文档分组,计算当前用户的起草树
显示关键路径流程图
id - /entry REQUIRED 流程实例的id、或表示流程定义路径的entry获得基于 DataTable 的任务列表视图的返回结果
显示完整的流程图
id - /entry REQUIRED 流程实例的id、或表示流程定义路径的entry根据文档分组,计算当前用户的列表(参与)树
AJAX:根据当前任务和路径,获得“退回上一环节”的nodeId
taskId - 任务IDsfId - 路径IDAJAX: 任务移交
taskIds - 逗号或分号分隔的任务ID列表actorEiId - 接收人的员工身份ID已办任务列表(不包含我起草的)
草稿任务列表
我起草的任务列表(==流程实例)
计算常用起草业务列表
计算常用业务列表
已阅任务列表
待办任务列表
待阅任务列表
AJAX:根据当前任务和路径,获得下一处理/候选人列表
taskId - 任务IDsfId - 路径IDinputsfId - 网关或子流程入口路径ID、或子流程内指向结束的路径AJAX:根据当前任务和路径,获得下一待阅人列表
taskId - 任务IDsfId - 路径IDAJAX保存意见草稿:目前是按照意见标签,一条意见提交一次,可优化
command - 操作名,不允许为空;如果为“delete”则表示删除原来的意见,“save”为创建或更新意见taskId - 当前任务的ID,不允许为空groupId - 指定非当前任务的分支分组ID(当前未使用),即某个意见仅针对某个分组的tag - 意见标签content - 意见正文rollback - 是否是撤回意见:自动发布sfId - 路径IDAJAX:根据当前任务和路径,执行selectactors上的脚本,并返回选人策略
taskId - 任务IDsfId - 路径IDinputsfId - 网关或子流程入口路径IDtype - sf=从本路径上取selectactors属性并计算,node=从下一环节上取AJAX:根据当前任务和路径,执行selectreaders上的脚本,并返回选人策略
taskId - 任务IDsfId - 路径IDAJAX:根据任务获得发送知会操作的候选人列表,或发送阅知/知会
包含两种参数组合:
taskId - 指定任务:任务IDreaders - 指定任务:如果有该参数,则为发送,其值为分号/逗号分隔的阅知人ID;否则为获取候选人列表taskIds - 批量发送:逗号或分号分隔的任务ID列表receiverEiIds - 批量发送:接收人的员工身份IDAJAX:发送催办
打开已办、已阅、只读状态的待办,或者有权限访问的流程
id - 流程实例的ID,不能为空submitedTaskId - 刚成功提交的任务ID,如果为空则根据taskId来判断任务taskId - 当前任务的ID,如果为空,则取流程实例中当前用户的第一个需要办理的任务taskNode - 当前任务的环节名称,当submitedTaskId、taskId为空时启用进行任务查询taskGroupId - 当前任务的分支分组名称,当submitedTaskId、taskId为空时启用进行任务查询。如果参数不存在,则表示所有分组均可;如果参数为null,则表示主干;否则为特定的分组ID。readonly - 打开的文档如果是未办的待办、未提交的草稿,默认会定向到文档控制器的edit操作;如果本参数为否,则仅定向到show操作admin - 是否是从管理端打开文档supervisor - 是否是督办人、跟踪人,从督办列表、或通知消息(如邮件)中打开文档AJAX:所有意见:按照时间顺序显示,同时显示机构、员工头衔等信息
id - 流程实例ID显示流程预测的流程日志
id - REQUIRED 流程实例的idAJAX:流程日志(图)
id - /entry REQUIRED 流程实例的id、或代表流程定义路径的entryreadLog - 是否显示阅文日志, 默认falseAJAX:阅文日志
提交到下一处理
id - 流程实例的ID,不允许为空taskId - 当前任务的ID,不允许为空submitSequenceFlows - 提交的路径信息taskGroupId - 目标任务分组ID。如果参数不存在或为null,则表示无分组;否则为特定的分组ID。taskGroupName - 目标任务分组名称,当taskGroupId为特定分组ID时有效AJAX:上传附件/获得附件列表
command - 操作名:空=渲染附件上传的view,upload=上传附件操作(post),get=获得附件列表taskId - 当前任务的IDtag - 对应的附件标签名:upload时自动包含在附件输入框的名称中;get时如果为空,则取所有附件;渲染view时不允许为空