Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From version 46.1
edited by Bimit Administrator
on 10.02.2022, 13:52
on 10.02.2022, 13:52
Change comment:
There is no comment for this version
To version 48.1
edited by Bimit Administrator
on 10.02.2022, 14:09
on 10.02.2022, 14:09
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,6 +5,7 @@ 5 5 * [[getProjectModels>>||anchor="HgetProjectModels"]] - взятие всех активных моделей проекта на котором выполняется плагин 6 6 * [[getModelRevisions>>||anchor="HgetModelRevisions"]] - взятие всех ревизий модели 7 7 * [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]] - получение списка всех задач проекта 8 +* [[getTaskComments>>||anchor="HgetTaskComments"]] - получение списка всех комментариев у задачи по идентификатору задача 8 8 * getElement 9 9 * getElements 10 10 * getGeometryElement ... ... @@ -203,7 +203,7 @@ 203 203 **Пример использования:** 204 204 205 205 {{code language="java"}} 206 - def listModels = bim.getProjectModels()207 +def listModels = bim.getProjectModels() 207 207 for (Model model: listModels ) { 208 208 def modelUuid = model.getUuid() 209 209 ... ... @@ -461,4 +461,74 @@ 461 461 {{/code}} 462 462 463 463 465 +(% class="box infomessage" %) 466 +((( 467 +getTaskComments - получение списка всех комментариев у задачи по идентификатору задача 468 +))) 464 464 470 +* **getTaskComments(UUID taskUuid)** 471 + 472 +((( 473 +(% cellspacing="0" style="border-collapse:collapse; border:medium none; height:223px; table-layout:fixed; width:850px" %) 474 +|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)((( 475 +(% style="line-height:1.2" %) 476 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Поле 477 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)((( 478 +(% style="line-height:1.2" %) 479 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Тип данных поля 480 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)((( 481 +(% style="line-height:1.2" %) 482 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Описание поля 483 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)((( 484 +(% style="line-height:1.2" %) 485 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)Метод взятия данных поля 486 +))) 487 +|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)((( 488 +(% style="line-height:1.2" %) 489 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)createDate 490 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)((( 491 +(% style="line-height:1.2" %) 492 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)date-time 493 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)((( 494 +(% style="line-height:1.2" %) 495 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)дата создания комментария 496 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)((( 497 +(% style="line-height:1.2" %) 498 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getCreateDate() 499 +))) 500 +|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)((( 501 +(% style="line-height:1.2" %) 502 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)text 503 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)((( 504 +(% style="line-height:1.2" %) 505 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)string 506 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)((( 507 +(% style="line-height:1.2" %) 508 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)комментарий 509 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)((( 510 +(% style="line-height:1.2" %) 511 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getText() 512 +))) 513 +|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:149px" width="NaN" %)((( 514 +(% style="line-height:1.2" %) 515 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)authorUuid 516 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:259px" %)((( 517 +(% style="line-height:1.2" %) 518 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)uuid 519 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:292px" %)((( 520 +(% style="line-height:1.2" %) 521 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)автор комментария 522 +)))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:457px" %)((( 523 +(% style="line-height:1.2" %) 524 +(% style="color:#000000; font-family:Arial; font-size:11pt; font-style:normal; font-variant:normal; font-weight:400; overflow-wrap:break-word; overflow:hidden; text-decoration:none; white-space:pre-wrap" %)getAuthorUuid() 525 +))) 526 +))) 527 + 528 +**Пример использования:** 529 + 530 +{{code language="java"}} 531 +def listComments = bim.getTaskComments(c73df7aa-7ddd-11ec-90d6-0242ac120003) 532 +for (Comment comment: listComments ) { 533 + def authorUuid= comment.setAuthorUuid() 534 + 535 +{{/code}}