describe.json 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245
  1. {
  2. "jaxrs": [
  3. {
  4. "name": "AttachmentAction",
  5. "className": "com.x.processplatform.service.processing.jaxrs.attachment.AttachmentAction",
  6. "description": "附件操作",
  7. "methods": [
  8. {
  9. "name": "copyToWork",
  10. "className": "com.x.processplatform.service.processing.jaxrs.attachment.ActionCopyToWork",
  11. "description": "由指定的工作拷贝附件.",
  12. "type": "POST",
  13. "path": "jaxrs/attachment/copy/work/{workId}",
  14. "contentType": "application/json",
  15. "resultContentType": "application/json; charset\u003dUTF-8",
  16. "useJsonElementParameter": false,
  17. "pathParameters": [
  18. {
  19. "name": "workId",
  20. "type": "String",
  21. "description": "工作标识"
  22. }
  23. ],
  24. "formParameters": [],
  25. "queryParameters": [],
  26. "ins": [
  27. {
  28. "name": "attachmentList",
  29. "type": "List\u003cWiAttachment\u003e",
  30. "isCollection": true,
  31. "description": "附件对象",
  32. "isBaseType": false
  33. }
  34. ],
  35. "outs": [
  36. {
  37. "name": "id",
  38. "type": "String",
  39. "isCollection": false,
  40. "description": "id"
  41. }
  42. ]
  43. },
  44. {
  45. "name": "delete",
  46. "className": "com.x.processplatform.service.processing.jaxrs.attachment.ActionDelete",
  47. "description": "删除指定work下的附件.",
  48. "type": "DELETE",
  49. "path": "jaxrs/attachment/{id}/work/{workId}",
  50. "contentType": "application/json",
  51. "resultContentType": "application/json; charset\u003dUTF-8",
  52. "useJsonElementParameter": false,
  53. "pathParameters": [
  54. {
  55. "name": "id",
  56. "type": "String",
  57. "description": "附件标识"
  58. },
  59. {
  60. "name": "workId",
  61. "type": "String",
  62. "description": "工作标识"
  63. }
  64. ],
  65. "formParameters": [],
  66. "queryParameters": [],
  67. "ins": [],
  68. "outs": [
  69. {
  70. "name": "id",
  71. "type": "String",
  72. "isCollection": false,
  73. "description": "id"
  74. }
  75. ]
  76. }
  77. ]
  78. },
  79. {
  80. "name": "CacheAction",
  81. "className": "com.x.base.core.project.jaxrs.cache.CacheAction",
  82. "description": "缓存操作",
  83. "methods": [
  84. {
  85. "name": "configFlush",
  86. "className": "com.x.base.core.project.jaxrs.cache.ActionConfigFlush",
  87. "description": "接收config flush 信号.",
  88. "type": "GET",
  89. "path": "jaxrs/cache/config/flush",
  90. "contentType": "application/json",
  91. "resultContentType": "application/json; charset\u003dUTF-8",
  92. "useJsonElementParameter": false,
  93. "pathParameters": [],
  94. "formParameters": [],
  95. "queryParameters": [],
  96. "ins": [],
  97. "outs": [
  98. {
  99. "name": "value",
  100. "type": "Boolean",
  101. "isCollection": false,
  102. "description": "布尔值."
  103. }
  104. ]
  105. },
  106. {
  107. "name": "receive",
  108. "className": "com.x.base.core.project.jaxrs.cache.ActionReceive",
  109. "description": "接收Cache刷新信息.",
  110. "type": "PUT",
  111. "path": "jaxrs/cache",
  112. "contentType": "application/json",
  113. "resultContentType": "application/json; charset\u003dUTF-8",
  114. "useJsonElementParameter": false,
  115. "pathParameters": [],
  116. "formParameters": [],
  117. "queryParameters": [],
  118. "ins": [
  119. {
  120. "name": "nodeName",
  121. "type": "String",
  122. "isCollection": false,
  123. "description": "节点名",
  124. "isBaseType": true
  125. },
  126. {
  127. "name": "className",
  128. "type": "String",
  129. "isCollection": false,
  130. "description": "类名",
  131. "isBaseType": true
  132. },
  133. {
  134. "name": "keys",
  135. "type": "List\u003cObject\u003e",
  136. "isCollection": true,
  137. "description": "关键字",
  138. "isBaseType": false
  139. }
  140. ],
  141. "outs": [
  142. {
  143. "name": "value",
  144. "type": "String",
  145. "isCollection": false,
  146. "description": "字符串值"
  147. }
  148. ]
  149. }
  150. ]
  151. },
  152. {
  153. "name": "EchoAction",
  154. "className": "com.x.base.core.project.jaxrs.echo.EchoAction",
  155. "description": "响应",
  156. "methods": [
  157. {
  158. "name": "get",
  159. "className": "com.x.base.core.project.jaxrs.echo.ActionGet",
  160. "description": "获取应答.",
  161. "type": "GET",
  162. "path": "jaxrs/echo",
  163. "contentType": "application/json",
  164. "useJsonElementParameter": false,
  165. "pathParameters": [],
  166. "formParameters": [],
  167. "queryParameters": [],
  168. "ins": [],
  169. "outs": [
  170. {
  171. "name": "servletContextName",
  172. "type": "String",
  173. "isCollection": false,
  174. "description": "上下文根"
  175. },
  176. {
  177. "name": "serverTime",
  178. "type": "Date",
  179. "isCollection": false,
  180. "description": "服务器时间"
  181. }
  182. ]
  183. }
  184. ]
  185. },
  186. {
  187. "name": "FireScheduleAction",
  188. "className": "com.x.base.core.project.jaxrs.fireschedule.FireScheduleAction",
  189. "description": "触发任务",
  190. "methods": [
  191. {
  192. "name": "execute",
  193. "className": "com.x.base.core.project.jaxrs.fireschedule.ActionExecute",
  194. "description": "接受x_program_center发送过来的运行schedule.",
  195. "type": "GET",
  196. "path": "jaxrs/fireschedule/classname/{className}",
  197. "contentType": "application/json",
  198. "useJsonElementParameter": false,
  199. "pathParameters": [
  200. {
  201. "name": "className",
  202. "type": "String",
  203. "description": "运行类"
  204. }
  205. ],
  206. "formParameters": [],
  207. "queryParameters": [],
  208. "ins": [],
  209. "outs": [
  210. {
  211. "name": "value",
  212. "type": "Boolean",
  213. "isCollection": false,
  214. "description": "布尔值."
  215. }
  216. ]
  217. }
  218. ]
  219. },
  220. {
  221. "name": "JobAction",
  222. "className": "com.x.processplatform.service.processing.jaxrs.job.JobAction",
  223. "description": "工作",
  224. "methods": [
  225. {
  226. "name": "deleteWithJob",
  227. "className": "com.x.processplatform.service.processing.jaxrs.job.ActionDelete",
  228. "description": "删除Job所有相关联的工作.",
  229. "type": "DELETE",
  230. "path": "jaxrs/job/{job}",
  231. "contentType": "application/json",
  232. "resultContentType": "application/json; charset\u003dUTF-8",
  233. "useJsonElementParameter": false,
  234. "pathParameters": [
  235. {
  236. "name": "job",
  237. "type": "String",
  238. "description": ""
  239. }
  240. ],
  241. "formParameters": [],
  242. "queryParameters": [],
  243. "ins": [],
  244. "outs": []
  245. }
  246. ]
  247. },
  248. {
  249. "name": "LoggerAction",
  250. "className": "com.x.base.core.project.jaxrs.logger.LoggerAction",
  251. "description": "日志操作",
  252. "methods": [
  253. {
  254. "name": "debug",
  255. "className": "com.x.base.core.project.jaxrs.logger.ActionDebug",
  256. "description": "设置日志级别为DEBUG.",
  257. "type": "GET",
  258. "path": "jaxrs/logger/debug",
  259. "contentType": "application/json",
  260. "resultContentType": "application/json; charset\u003dUTF-8",
  261. "useJsonElementParameter": false,
  262. "pathParameters": [],
  263. "formParameters": [],
  264. "queryParameters": [],
  265. "ins": [],
  266. "outs": [
  267. {
  268. "name": "value",
  269. "type": "Boolean",
  270. "isCollection": false,
  271. "description": "布尔值."
  272. }
  273. ]
  274. },
  275. {
  276. "name": "get",
  277. "className": "com.x.base.core.project.jaxrs.logger.ActionGet",
  278. "description": "获取当前日志级别.",
  279. "type": "GET",
  280. "path": "jaxrs/logger",
  281. "contentType": "application/json",
  282. "resultContentType": "application/json; charset\u003dUTF-8",
  283. "useJsonElementParameter": false,
  284. "pathParameters": [],
  285. "formParameters": [],
  286. "queryParameters": [],
  287. "ins": [],
  288. "outs": [
  289. {
  290. "name": "value",
  291. "type": "String",
  292. "isCollection": false,
  293. "description": "字符串值"
  294. }
  295. ]
  296. },
  297. {
  298. "name": "info",
  299. "className": "com.x.base.core.project.jaxrs.logger.ActionInfo",
  300. "description": "设置日志级别为INFO",
  301. "type": "GET",
  302. "path": "jaxrs/logger/info",
  303. "contentType": "application/json",
  304. "resultContentType": "application/json; charset\u003dUTF-8",
  305. "useJsonElementParameter": false,
  306. "pathParameters": [],
  307. "formParameters": [],
  308. "queryParameters": [],
  309. "ins": [],
  310. "outs": [
  311. {
  312. "name": "value",
  313. "type": "Boolean",
  314. "isCollection": false,
  315. "description": "布尔值."
  316. }
  317. ]
  318. },
  319. {
  320. "name": "trace",
  321. "className": "com.x.base.core.project.jaxrs.logger.ActionTrace",
  322. "description": "设置日志级别为TRACE.",
  323. "type": "GET",
  324. "path": "jaxrs/logger/trace",
  325. "contentType": "application/json",
  326. "resultContentType": "application/json; charset\u003dUTF-8",
  327. "useJsonElementParameter": false,
  328. "pathParameters": [],
  329. "formParameters": [],
  330. "queryParameters": [],
  331. "ins": [],
  332. "outs": [
  333. {
  334. "name": "value",
  335. "type": "Boolean",
  336. "isCollection": false,
  337. "description": "布尔值."
  338. }
  339. ]
  340. },
  341. {
  342. "name": "warn",
  343. "className": "com.x.base.core.project.jaxrs.logger.ActionWarn",
  344. "description": "设置日志级别为WARN",
  345. "type": "GET",
  346. "path": "jaxrs/logger/warn",
  347. "contentType": "application/json",
  348. "resultContentType": "application/json; charset\u003dUTF-8",
  349. "useJsonElementParameter": false,
  350. "pathParameters": [],
  351. "formParameters": [],
  352. "queryParameters": [],
  353. "ins": [],
  354. "outs": [
  355. {
  356. "name": "value",
  357. "type": "Boolean",
  358. "isCollection": false,
  359. "description": "布尔值."
  360. }
  361. ]
  362. }
  363. ]
  364. },
  365. {
  366. "name": "ReadAction",
  367. "className": "com.x.processplatform.service.processing.jaxrs.read.ReadAction",
  368. "description": "待阅操作",
  369. "methods": [
  370. {
  371. "name": "createWithWork",
  372. "className": "com.x.processplatform.service.processing.jaxrs.read.ActionCreateWithWork",
  373. "description": "根据工作创建待阅.",
  374. "type": "POST",
  375. "path": "jaxrs/read/work/{workId}",
  376. "contentType": "application/json",
  377. "resultContentType": "application/json; charset\u003dUTF-8",
  378. "useJsonElementParameter": false,
  379. "pathParameters": [
  380. {
  381. "name": "workId",
  382. "type": "String",
  383. "description": "工作标识"
  384. }
  385. ],
  386. "formParameters": [],
  387. "queryParameters": [],
  388. "ins": [
  389. {
  390. "name": "identityList",
  391. "type": "List\u003cString\u003e",
  392. "isCollection": true,
  393. "description": "待阅标识",
  394. "isBaseType": true
  395. },
  396. {
  397. "name": "notify",
  398. "type": "Boolean",
  399. "isCollection": false,
  400. "description": "发送待阅通知",
  401. "isBaseType": true
  402. }
  403. ],
  404. "outs": [
  405. {
  406. "name": "id",
  407. "type": "String",
  408. "isCollection": false,
  409. "description": "id"
  410. }
  411. ]
  412. },
  413. {
  414. "name": "createWithWorkCompleted",
  415. "className": "com.x.processplatform.service.processing.jaxrs.read.ActionCreateWithWorkCompleted",
  416. "description": "根据工作创建待阅.",
  417. "type": "POST",
  418. "path": "jaxrs/read/workcompleted/{workCompletedId}",
  419. "contentType": "application/json",
  420. "resultContentType": "application/json; charset\u003dUTF-8",
  421. "useJsonElementParameter": false,
  422. "pathParameters": [
  423. {
  424. "name": "workCompletedId",
  425. "type": "String",
  426. "description": "工作标识"
  427. }
  428. ],
  429. "formParameters": [],
  430. "queryParameters": [],
  431. "ins": [
  432. {
  433. "name": "identityList",
  434. "type": "List\u003cString\u003e",
  435. "isCollection": true,
  436. "description": "待阅标识",
  437. "isBaseType": true
  438. },
  439. {
  440. "name": "notify",
  441. "type": "Boolean",
  442. "isCollection": false,
  443. "description": "发送待阅通知",
  444. "isBaseType": true
  445. }
  446. ],
  447. "outs": [
  448. {
  449. "name": "id",
  450. "type": "String",
  451. "isCollection": false,
  452. "description": "id"
  453. }
  454. ]
  455. },
  456. {
  457. "name": "delete",
  458. "className": "com.x.processplatform.service.processing.jaxrs.read.ActionDelete",
  459. "description": "删除待阅.",
  460. "type": "DELETE",
  461. "path": "jaxrs/read/{id}",
  462. "contentType": "application/json",
  463. "resultContentType": "application/json; charset\u003dUTF-8",
  464. "useJsonElementParameter": false,
  465. "pathParameters": [
  466. {
  467. "name": "id",
  468. "type": "String",
  469. "description": "待阅标识"
  470. }
  471. ],
  472. "formParameters": [],
  473. "queryParameters": [],
  474. "ins": [],
  475. "outs": [
  476. {
  477. "name": "id",
  478. "type": "String",
  479. "isCollection": false,
  480. "description": "id"
  481. }
  482. ]
  483. },
  484. {
  485. "name": "processing",
  486. "className": "com.x.processplatform.service.processing.jaxrs.read.ActionProcessing",
  487. "description": "处理待阅,生成已阅.",
  488. "type": "PUT",
  489. "path": "jaxrs/read/{id}/processing",
  490. "contentType": "application/json",
  491. "resultContentType": "application/json; charset\u003dUTF-8",
  492. "useJsonElementParameter": false,
  493. "pathParameters": [
  494. {
  495. "name": "id",
  496. "type": "String",
  497. "description": "待阅标识"
  498. }
  499. ],
  500. "formParameters": [],
  501. "queryParameters": [],
  502. "ins": [],
  503. "outs": [
  504. {
  505. "name": "id",
  506. "type": "String",
  507. "isCollection": false,
  508. "description": "id"
  509. }
  510. ]
  511. },
  512. {
  513. "name": "putWithReset",
  514. "className": "com.x.processplatform.service.processing.jaxrs.read.ActionReset",
  515. "description": "重置待阅.",
  516. "type": "PUT",
  517. "path": "jaxrs/read/{id}/reset",
  518. "contentType": "application/json",
  519. "resultContentType": "application/json; charset\u003dUTF-8",
  520. "useJsonElementParameter": false,
  521. "pathParameters": [
  522. {
  523. "name": "id",
  524. "type": "String",
  525. "description": "待阅标识"
  526. }
  527. ],
  528. "formParameters": [],
  529. "queryParameters": [],
  530. "ins": [
  531. {
  532. "name": "identityList",
  533. "type": "List\u003cString\u003e",
  534. "isCollection": true,
  535. "description": "身份",
  536. "isBaseType": true
  537. }
  538. ],
  539. "outs": [
  540. {
  541. "name": "id",
  542. "type": "String",
  543. "isCollection": false,
  544. "description": "id"
  545. }
  546. ]
  547. }
  548. ]
  549. },
  550. {
  551. "name": "TaskAction",
  552. "className": "com.x.processplatform.service.processing.jaxrs.task.TaskAction",
  553. "description": "待办",
  554. "methods": [
  555. {
  556. "name": "delete",
  557. "className": "com.x.processplatform.service.processing.jaxrs.task.ActionDelete",
  558. "description": "删除待办.",
  559. "type": "DELETE",
  560. "path": "jaxrs/task/{id}",
  561. "contentType": "application/json",
  562. "resultContentType": "application/json; charset\u003dUTF-8",
  563. "useJsonElementParameter": false,
  564. "pathParameters": [
  565. {
  566. "name": "id",
  567. "type": "String",
  568. "description": "标识"
  569. }
  570. ],
  571. "formParameters": [],
  572. "queryParameters": [],
  573. "ins": [],
  574. "outs": [
  575. {
  576. "name": "id",
  577. "type": "String",
  578. "isCollection": false,
  579. "description": "id"
  580. }
  581. ]
  582. },
  583. {
  584. "name": "listWithFilter",
  585. "className": "com.x.processplatform.service.processing.jaxrs.task.ActionListWithFilter",
  586. "description": "根据过滤条件列示待办,过滤条件:personList,applicationList,processList,creatorUnitList",
  587. "type": "POST",
  588. "path": "jaxrs/task/list/filter/count/{count}",
  589. "contentType": "application/json",
  590. "resultContentType": "application/json; charset\u003dUTF-8",
  591. "useJsonElementParameter": false,
  592. "pathParameters": [
  593. {
  594. "name": "count",
  595. "type": "Integer",
  596. "description": "数量"
  597. }
  598. ],
  599. "formParameters": [],
  600. "queryParameters": [],
  601. "ins": [],
  602. "outs": [
  603. {
  604. "name": "id",
  605. "type": "String",
  606. "isCollection": false,
  607. "description": "数据库主键,自动生成."
  608. },
  609. {
  610. "name": "job",
  611. "type": "String",
  612. "isCollection": false,
  613. "description": "任务."
  614. },
  615. {
  616. "name": "title",
  617. "type": "String",
  618. "isCollection": false,
  619. "description": "标题."
  620. },
  621. {
  622. "name": "startTime",
  623. "type": "Date",
  624. "isCollection": false,
  625. "description": "开始时间."
  626. },
  627. {
  628. "name": "startTimeMonth",
  629. "type": "String",
  630. "isCollection": false,
  631. "description": "用于在Filter中分类使用."
  632. },
  633. {
  634. "name": "work",
  635. "type": "String",
  636. "isCollection": false,
  637. "description": "工作ID."
  638. },
  639. {
  640. "name": "application",
  641. "type": "String",
  642. "isCollection": false,
  643. "description": "应用."
  644. },
  645. {
  646. "name": "applicationName",
  647. "type": "String",
  648. "isCollection": false,
  649. "description": "应用名称."
  650. },
  651. {
  652. "name": "applicationAlias",
  653. "type": "String",
  654. "isCollection": false,
  655. "description": "应用别名."
  656. },
  657. {
  658. "name": "process",
  659. "type": "String",
  660. "isCollection": false,
  661. "description": "流程ID."
  662. },
  663. {
  664. "name": "processName",
  665. "type": "String",
  666. "isCollection": false,
  667. "description": "流程名称."
  668. },
  669. {
  670. "name": "processAlias",
  671. "type": "String",
  672. "isCollection": false,
  673. "description": "流程别名."
  674. },
  675. {
  676. "name": "serial",
  677. "type": "String",
  678. "isCollection": false,
  679. "description": "编号"
  680. },
  681. {
  682. "name": "person",
  683. "type": "String",
  684. "isCollection": false,
  685. "description": "当前处理人"
  686. },
  687. {
  688. "name": "identity",
  689. "type": "String",
  690. "isCollection": false,
  691. "description": "当前处理人Identity"
  692. },
  693. {
  694. "name": "unit",
  695. "type": "String",
  696. "isCollection": false,
  697. "description": "当前处理人所在组织."
  698. },
  699. {
  700. "name": "activity",
  701. "type": "String",
  702. "isCollection": false,
  703. "description": "活动ID."
  704. },
  705. {
  706. "name": "activityName",
  707. "type": "String",
  708. "isCollection": false,
  709. "description": "活动名称."
  710. },
  711. {
  712. "name": "activityAlias",
  713. "type": "String",
  714. "isCollection": false,
  715. "description": "活动别名."
  716. },
  717. {
  718. "name": "activityDescription",
  719. "type": "String",
  720. "isCollection": false,
  721. "description": "活动说明."
  722. },
  723. {
  724. "name": "activityType",
  725. "type": "ActivityType",
  726. "isCollection": false,
  727. "description": "活动类型."
  728. },
  729. {
  730. "name": "activityToken",
  731. "type": "String",
  732. "isCollection": false,
  733. "description": "活动Token."
  734. },
  735. {
  736. "name": "creatorPerson",
  737. "type": "String",
  738. "isCollection": false,
  739. "description": "创建人"
  740. },
  741. {
  742. "name": "creatorIdentity",
  743. "type": "String",
  744. "isCollection": false,
  745. "description": "创建人Identity"
  746. },
  747. {
  748. "name": "creatorUnit",
  749. "type": "String",
  750. "isCollection": false,
  751. "description": "创建人部门"
  752. },
  753. {
  754. "name": "expireTime",
  755. "type": "Date",
  756. "isCollection": false,
  757. "description": "任务截止时间."
  758. },
  759. {
  760. "name": "expired",
  761. "type": "Boolean",
  762. "isCollection": false,
  763. "description": "是否已经超时."
  764. },
  765. {
  766. "name": "urgeTime",
  767. "type": "Date",
  768. "isCollection": false,
  769. "description": "催办时间."
  770. },
  771. {
  772. "name": "urged",
  773. "type": "Boolean",
  774. "isCollection": false,
  775. "description": "是否已经催办过."
  776. },
  777. {
  778. "name": "routeList",
  779. "type": "List\u003cString\u003e",
  780. "isCollection": true,
  781. "description": "当前活动可供选择的路由."
  782. },
  783. {
  784. "name": "routeNameList",
  785. "type": "List\u003cString\u003e",
  786. "isCollection": true,
  787. "description": "当前活动可供选择的路由名称."
  788. },
  789. {
  790. "name": "routeOpinionList",
  791. "type": "List\u003cString\u003e",
  792. "isCollection": true,
  793. "description": "当前活动可供选择的路由对应的默认意见."
  794. },
  795. {
  796. "name": "routeName",
  797. "type": "String",
  798. "isCollection": false,
  799. "description": "选择的路由名称."
  800. },
  801. {
  802. "name": "opinion",
  803. "type": "String",
  804. "isCollection": false,
  805. "description": "处理意见."
  806. },
  807. {
  808. "name": "modified",
  809. "type": "Boolean",
  810. "isCollection": false,
  811. "description": "是否在前台保存过数据."
  812. },
  813. {
  814. "name": "viewed",
  815. "type": "Boolean",
  816. "isCollection": false,
  817. "description": "是否查看过."
  818. },
  819. {
  820. "name": "allowRapid",
  821. "type": "Boolean",
  822. "isCollection": false,
  823. "description": "允许快速处理."
  824. },
  825. {
  826. "name": "createTime",
  827. "type": "Date",
  828. "isCollection": false,
  829. "description": "创建时间,自动生成,索引创建在约束中."
  830. },
  831. {
  832. "name": "updateTime",
  833. "type": "Date",
  834. "isCollection": false,
  835. "description": "修改时间,自动生成,索引创建在约束中."
  836. }
  837. ]
  838. },
  839. {
  840. "name": "processing",
  841. "className": "com.x.processplatform.service.processing.jaxrs.task.ActionProcessing",
  842. "description": "保存并继续流转.",
  843. "type": "PUT",
  844. "path": "jaxrs/task/{id}/processing",
  845. "contentType": "application/json",
  846. "resultContentType": "application/json; charset\u003dUTF-8",
  847. "useJsonElementParameter": false,
  848. "pathParameters": [
  849. {
  850. "name": "id",
  851. "type": "String",
  852. "description": "标识"
  853. }
  854. ],
  855. "formParameters": [],
  856. "queryParameters": [],
  857. "ins": [
  858. {
  859. "name": "processingType",
  860. "type": "ProcessingType",
  861. "isCollection": false,
  862. "description": "流转类型.",
  863. "isBaseType": false
  864. },
  865. {
  866. "name": "finallyProcessingWork",
  867. "type": "Boolean",
  868. "isCollection": false,
  869. "description": "最后是否触发work的流转,默认流转.",
  870. "isBaseType": true
  871. }
  872. ],
  873. "outs": [
  874. {
  875. "name": "id",
  876. "type": "String",
  877. "isCollection": false,
  878. "description": "id"
  879. }
  880. ]
  881. },
  882. {
  883. "name": "reset",
  884. "className": "com.x.processplatform.service.processing.jaxrs.task.ActionReset",
  885. "description": "重置处理人.",
  886. "type": "PUT",
  887. "path": "jaxrs/task/{id}/reset",
  888. "contentType": "application/json",
  889. "resultContentType": "application/json; charset\u003dUTF-8",
  890. "useJsonElementParameter": false,
  891. "pathParameters": [
  892. {
  893. "name": "id",
  894. "type": "String",
  895. "description": "标识"
  896. }
  897. ],
  898. "formParameters": [],
  899. "queryParameters": [],
  900. "ins": [
  901. {
  902. "name": "identityList",
  903. "type": "List\u003cString\u003e",
  904. "isCollection": true,
  905. "description": "身份",
  906. "isBaseType": true
  907. }
  908. ],
  909. "outs": [
  910. {
  911. "name": "id",
  912. "type": "String",
  913. "isCollection": false,
  914. "description": "id"
  915. }
  916. ]
  917. }
  918. ]
  919. },
  920. {
  921. "name": "TestAction",
  922. "className": "com.x.processplatform.service.processing.jaxrs.test.TestAction",
  923. "description": "测试",
  924. "methods": [
  925. {
  926. "name": "delayTrigger",
  927. "className": "com.x.processplatform.service.processing.jaxrs.test.ActionDelay",
  928. "description": "立即执行延时任务.",
  929. "type": "GET",
  930. "path": "jaxrs/test/delay",
  931. "contentType": "application/json",
  932. "resultContentType": "application/json; charset\u003dUTF-8",
  933. "useJsonElementParameter": false,
  934. "pathParameters": [],
  935. "formParameters": [],
  936. "queryParameters": [],
  937. "ins": [],
  938. "outs": [
  939. {
  940. "name": "value",
  941. "type": "Boolean",
  942. "isCollection": false,
  943. "description": "布尔值."
  944. }
  945. ]
  946. },
  947. {
  948. "name": "scanExpire",
  949. "className": "com.x.processplatform.service.processing.jaxrs.test.ActionExpire",
  950. "description": "立即执行过期任务.",
  951. "type": "GET",
  952. "path": "jaxrs/test/expire",
  953. "contentType": "application/json",
  954. "resultContentType": "application/json; charset\u003dUTF-8",
  955. "useJsonElementParameter": false,
  956. "pathParameters": [],
  957. "formParameters": [],
  958. "queryParameters": [],
  959. "ins": [],
  960. "outs": [
  961. {
  962. "name": "value",
  963. "type": "Boolean",
  964. "isCollection": false,
  965. "description": "布尔值."
  966. }
  967. ]
  968. },
  969. {
  970. "name": "scanTrigger",
  971. "className": "com.x.processplatform.service.processing.jaxrs.test.ActionReorganize",
  972. "description": "立即执行整理任务.",
  973. "type": "GET",
  974. "path": "jaxrs/test/reorganize",
  975. "contentType": "application/json",
  976. "resultContentType": "application/json; charset\u003dUTF-8",
  977. "useJsonElementParameter": false,
  978. "pathParameters": [],
  979. "formParameters": [],
  980. "queryParameters": [],
  981. "ins": [],
  982. "outs": [
  983. {
  984. "name": "value",
  985. "type": "Boolean",
  986. "isCollection": false,
  987. "description": "布尔值."
  988. }
  989. ]
  990. },
  991. {
  992. "name": "scanUrge",
  993. "className": "com.x.processplatform.service.processing.jaxrs.test.ActionUrge",
  994. "description": "立即执行催办任务.",
  995. "type": "GET",
  996. "path": "jaxrs/test/urge",
  997. "contentType": "application/json",
  998. "resultContentType": "application/json; charset\u003dUTF-8",
  999. "useJsonElementParameter": false,
  1000. "pathParameters": [],
  1001. "formParameters": [],
  1002. "queryParameters": [],
  1003. "ins": [],
  1004. "outs": [
  1005. {
  1006. "name": "value",
  1007. "type": "Boolean",
  1008. "isCollection": false,
  1009. "description": "布尔值."
  1010. }
  1011. ]
  1012. }
  1013. ]
  1014. },
  1015. {
  1016. "name": "WorkAction",
  1017. "className": "com.x.processplatform.service.processing.jaxrs.work.WorkAction",
  1018. "description": "工作",
  1019. "methods": [
  1020. {
  1021. "name": "assignCreate",
  1022. "className": "com.x.processplatform.service.processing.jaxrs.work.ActionAssignCreate",
  1023. "description": "赋值创建一个处于start状态的work.",
  1024. "type": "POST",
  1025. "path": "jaxrs/work",
  1026. "contentType": "application/json",
  1027. "resultContentType": "application/json; charset\u003dUTF-8",
  1028. "useJsonElementParameter": false,
  1029. "pathParameters": [],
  1030. "formParameters": [],
  1031. "queryParameters": [],
  1032. "ins": [
  1033. {
  1034. "name": "application",
  1035. "type": "String",
  1036. "isCollection": false,
  1037. "description": "应用标识",
  1038. "isBaseType": true
  1039. },
  1040. {
  1041. "name": "process",
  1042. "type": "String",
  1043. "isCollection": false,
  1044. "description": "流程标识",
  1045. "isBaseType": true
  1046. },
  1047. {
  1048. "name": "identity",
  1049. "type": "String",
  1050. "isCollection": false,
  1051. "description": "身份标识",
  1052. "isBaseType": true
  1053. },
  1054. {
  1055. "name": "title",
  1056. "type": "String",
  1057. "isCollection": false,
  1058. "description": "标题",
  1059. "isBaseType": true
  1060. },
  1061. {
  1062. "name": "data",
  1063. "type": "Data",
  1064. "isCollection": false,
  1065. "description": "业务数据",
  1066. "isBaseType": false
  1067. },
  1068. {
  1069. "name": "attachmentList",
  1070. "type": "List\u003cWiAttachment\u003e",
  1071. "isCollection": true,
  1072. "description": "附件",
  1073. "isBaseType": false
  1074. },
  1075. {
  1076. "name": "processing",
  1077. "type": "Boolean",
  1078. "isCollection": false,
  1079. "description": "自动流转",
  1080. "isBaseType": true
  1081. }
  1082. ],
  1083. "outs": [
  1084. {
  1085. "name": "id",
  1086. "type": "String",
  1087. "isCollection": false,
  1088. "description": "id"
  1089. }
  1090. ]
  1091. },
  1092. {
  1093. "name": "create",
  1094. "className": "com.x.processplatform.service.processing.jaxrs.work.ActionCreate",
  1095. "description": "创建一个处于start状态的工作.",
  1096. "type": "POST",
  1097. "path": "jaxrs/work/process/{processId}",
  1098. "contentType": "application/json",
  1099. "resultContentType": "application/json; charset\u003dUTF-8",
  1100. "useJsonElementParameter": true,
  1101. "pathParameters": [
  1102. {
  1103. "name": "processId",
  1104. "type": "String",
  1105. "description": "流程标识"
  1106. }
  1107. ],
  1108. "formParameters": [],
  1109. "queryParameters": [],
  1110. "ins": [],
  1111. "outs": [
  1112. {
  1113. "name": "id",
  1114. "type": "String",
  1115. "isCollection": false,
  1116. "description": "id"
  1117. }
  1118. ]
  1119. },
  1120. {
  1121. "name": "delete",
  1122. "className": "com.x.processplatform.service.processing.jaxrs.work.ActionDelete",
  1123. "description": "删除单个工作.",
  1124. "type": "DELETE",
  1125. "path": "jaxrs/work/{id}",
  1126. "contentType": "application/json",
  1127. "resultContentType": "application/json; charset\u003dUTF-8",
  1128. "useJsonElementParameter": false,
  1129. "pathParameters": [
  1130. {
  1131. "name": "id",
  1132. "type": "String",
  1133. "description": "工作标识"
  1134. }
  1135. ],
  1136. "formParameters": [],
  1137. "queryParameters": [],
  1138. "ins": [],
  1139. "outs": [
  1140. {
  1141. "name": "id",
  1142. "type": "String",
  1143. "isCollection": false,
  1144. "description": "id"
  1145. }
  1146. ]
  1147. },
  1148. {
  1149. "name": "processing",
  1150. "className": "com.x.processplatform.service.processing.jaxrs.work.ActionProcessing",
  1151. "description": "流转一个流程实例.",
  1152. "type": "PUT",
  1153. "path": "jaxrs/work/{id}/processing",
  1154. "contentType": "application/json",
  1155. "resultContentType": "application/json; charset\u003dUTF-8",
  1156. "useJsonElementParameter": false,
  1157. "pathParameters": [
  1158. {
  1159. "name": "id",
  1160. "type": "String",
  1161. "description": "工作标识"
  1162. }
  1163. ],
  1164. "formParameters": [],
  1165. "queryParameters": [],
  1166. "ins": [],
  1167. "outs": [
  1168. {
  1169. "name": "id",
  1170. "type": "String",
  1171. "isCollection": false,
  1172. "description": "id"
  1173. }
  1174. ]
  1175. },
  1176. {
  1177. "name": "reroute",
  1178. "className": "com.x.processplatform.service.processing.jaxrs.work.ActionReroute",
  1179. "description": "调度.",
  1180. "type": "PUT",
  1181. "path": "jaxrs/work/{id}/reroute/activity/{activityId}",
  1182. "contentType": "application/json",
  1183. "resultContentType": "application/json; charset\u003dUTF-8",
  1184. "useJsonElementParameter": true,
  1185. "pathParameters": [
  1186. {
  1187. "name": "activityId",
  1188. "type": "String",
  1189. "description": "活动标识"
  1190. },
  1191. {
  1192. "name": "id",
  1193. "type": "String",
  1194. "description": "工作标识"
  1195. }
  1196. ],
  1197. "formParameters": [],
  1198. "queryParameters": [],
  1199. "ins": [],
  1200. "outs": [
  1201. {
  1202. "name": "id",
  1203. "type": "String",
  1204. "isCollection": false,
  1205. "description": "id"
  1206. }
  1207. ]
  1208. },
  1209. {
  1210. "name": "retract",
  1211. "className": "com.x.processplatform.service.processing.jaxrs.work.ActionRetract",
  1212. "description": "召回,文件往回撤一步.",
  1213. "type": "PUT",
  1214. "path": "jaxrs/work/{id}/retract/worklog/{workLogId}",
  1215. "contentType": "application/json",
  1216. "resultContentType": "application/json; charset\u003dUTF-8",
  1217. "useJsonElementParameter": false,
  1218. "pathParameters": [
  1219. {
  1220. "name": "id",
  1221. "type": "String",
  1222. "description": "工作标识"
  1223. },
  1224. {
  1225. "name": "workLogId",
  1226. "type": "String",
  1227. "description": "工作日志标识"
  1228. }
  1229. ],
  1230. "formParameters": [],
  1231. "queryParameters": [],
  1232. "ins": [],
  1233. "outs": [
  1234. {
  1235. "name": "id",
  1236. "type": "String",
  1237. "isCollection": false,
  1238. "description": "id"
  1239. }
  1240. ]
  1241. }
  1242. ]
  1243. }
  1244. ]
  1245. }