Changes for page Интерфейс bim
Last modified by Bimit Administrator on 02.10.2024, 09:47
From version 47.1
edited by Bimit Administrator
on 10.02.2022, 13:53
on 10.02.2022, 13:53
Change comment:
There is no comment for this version
To version 49.1
edited by Bimit Administrator
on 10.02.2022, 14:11
on 10.02.2022, 14:11
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 ... ... @@ -461,3 +461,134 @@ 461 461 {{/code}} 462 462 463 463 465 +(% class="box infomessage" %) 466 +((( 467 +getTaskComments - получение списка всех комментариев у задачи по идентификатору задача 468 +))) 469 + 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}} 536 + 537 + 538 +(% style="margin-left:2px" %) 539 +((( 540 +(% cellspacing="0" style="border-collapse:collapse; border:medium none; height:225px; width:850px" %) 541 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:134px" %)((( 542 +(% style="line-height:1.2" %) 543 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Поле 544 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:115px" %)((( 545 +(% style="line-height:1.2" %) 546 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Тип данных поля 547 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:147px" %)((( 548 +(% style="line-height:1.2" %) 549 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Описание поля 550 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:141px" %)((( 551 +(% style="line-height:1.2" %) 552 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)Метод взятия данных поля 553 +))) 554 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:134px" %)((( 555 +(% style="line-height:1.2" %) 556 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)createDate 557 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:115px" %)((( 558 +(% style="line-height:1.2" %) 559 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)date-time 560 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:147px" %)((( 561 +(% style="line-height:1.2" %) 562 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)дата создания комментария 563 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:141px" %)((( 564 +(% style="line-height:1.2" %) 565 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)getCreateDate() 566 +))) 567 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:134px" %)((( 568 +(% style="line-height:1.2" %) 569 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)text 570 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:115px" %)((( 571 +(% style="line-height:1.2" %) 572 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)string 573 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:147px" %)((( 574 +(% style="line-height:1.2" %) 575 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)комментарий 576 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:141px" %)((( 577 +(% style="line-height:1.2" %) 578 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)getText() 579 +))) 580 +|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:134px" %)((( 581 +(% style="line-height:1.2" %) 582 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)authorUuid 583 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:115px" %)((( 584 +(% style="line-height:1.2" %) 585 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)uuid 586 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:147px" %)((( 587 +(% style="line-height:1.2" %) 588 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)автор комментария 589 +)))|(% style="border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top; width:141px" %)((( 590 +(% style="line-height:1.2" %) 591 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 11pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)getAuthorUuid() 592 +))) 593 +))) 594 + 595 +