Исходный код вики Интерфейс bim
Версия 20.1 от Bimit Administrator на 09.02.2022, 12:37
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | Основной интерфейс для получения и работы с данными. В данном интерфейсе доступны следующие методы: | ||
2 | |||
3 | * getProject | ||
4 | * getProfile | ||
5 | * getProjectModels | ||
6 | * getModelRevisions | ||
7 | * getProjectTasks - получение списка всех задач проекта | ||
8 | * getElement | ||
9 | * getElements | ||
10 | * getGeometryElement | ||
11 | * getGeometryElements | ||
12 | * getGeometryProject | ||
13 | * getGeometryModel | ||
14 | * getGeometryElementA | ||
15 | * getGeometryElementB | ||
16 | * showElements | ||
17 | * createGroupElements | ||
18 | * showGroupElements | ||
19 | * createCondition | ||
20 | * getProjectCollisions | ||
21 | * getModelCollisions | ||
22 | |||
23 | (% class="box" %) | ||
24 | ((( | ||
25 | **getProject** взятие проекта на котором выполняется плагин | ||
26 | ))) | ||
27 | |||
28 | * **bim.getProject() **- метод представляет следующую структуру | ||
29 | |||
30 | ((( | ||
31 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:489px; width:1089px" %) | ||
32 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
33 | (% style="line-height:1.2" %) | ||
34 | (% 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" %)Поле | ||
35 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
36 | (% style="line-height:1.2" %) | ||
37 | (% 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" %)Тип данных поля | ||
38 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
39 | (% style="line-height:1.2" %) | ||
40 | (% 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" %)Описание поля | ||
41 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
42 | (% style="line-height:1.2" %) | ||
43 | (% 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" %)Метод взятия данных поля | ||
44 | ))) | ||
45 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
46 | (% style="line-height:1.2" %) | ||
47 | (% 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 | ||
48 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
49 | (% style="line-height:1.2" %) | ||
50 | (% 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 | ||
51 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
52 | (% style="line-height:1.2" %) | ||
53 | (% 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" %)идентификатор проекта | ||
54 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
55 | (% style="line-height:1.2" %) | ||
56 | (% 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" %)getUuid() | ||
57 | ))) | ||
58 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
59 | (% style="line-height:1.2" %) | ||
60 | (% 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" %)alias | ||
61 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
62 | (% style="line-height:1.2" %) | ||
63 | (% 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 | ||
64 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
65 | (% style="line-height:1.2" %) | ||
66 | (% 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" %)уникальное название английское | ||
67 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
68 | (% style="line-height:1.2" %) | ||
69 | (% 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" %)getAlias() | ||
70 | ))) | ||
71 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
72 | (% style="line-height:1.2" %) | ||
73 | (% 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" %)title | ||
74 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
75 | (% style="line-height:1.2" %) | ||
76 | (% 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 | ||
77 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
78 | (% style="line-height:1.2" %) | ||
79 | (% 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" %)заголовок | ||
80 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
81 | (% style="line-height:1.2" %) | ||
82 | (% 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" %)getTitle() | ||
83 | ))) | ||
84 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
85 | (% style="line-height:1.2" %) | ||
86 | (% 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" %)description | ||
87 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
88 | (% style="line-height:1.2" %) | ||
89 | (% 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 | ||
90 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
91 | (% style="line-height:1.2" %) | ||
92 | (% 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" %)описание | ||
93 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
94 | (% style="line-height:1.2" %) | ||
95 | (% 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" %)getDescription() | ||
96 | ))) | ||
97 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
98 | (% style="line-height:1.2" %) | ||
99 | (% 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" %)color | ||
100 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
101 | (% style="line-height:1.2" %) | ||
102 | (% 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 | ||
103 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
104 | (% style="line-height:1.2" %) | ||
105 | (% 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" %)цвет метки проекта | ||
106 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
107 | (% style="line-height:1.2" %) | ||
108 | (% 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" %)getColor() | ||
109 | ))) | ||
110 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
111 | (% style="line-height:1.2" %) | ||
112 | (% 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" %)preview | ||
113 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
114 | (% style="line-height:1.2" %) | ||
115 | (% 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 | ||
116 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
117 | (% style="line-height:1.2" %) | ||
118 | (% 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" %)ссылка на картинку превью проекта | ||
119 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
120 | (% style="line-height:1.2" %) | ||
121 | (% 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" %)getPreview() | ||
122 | ))) | ||
123 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
124 | (% style="line-height:1.2" %) | ||
125 | (% 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 | ||
126 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
127 | (% style="line-height:1.2" %) | ||
128 | (% 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 | ||
129 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
130 | (% style="line-height:1.2" %) | ||
131 | (% 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" %)дата создания | ||
132 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
133 | (% style="line-height:1.2" %) | ||
134 | (% 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() | ||
135 | ))) | ||
136 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
137 | (% style="line-height:1.2" %) | ||
138 | (% 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" %)editDate | ||
139 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
140 | (% style="line-height:1.2" %) | ||
141 | (% 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 | ||
142 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
143 | (% style="line-height:1.2" %) | ||
144 | (% 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" %)дата последнего редактирования | ||
145 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
146 | (% style="line-height:1.2" %) | ||
147 | (% 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" %)getEditDate() | ||
148 | ))) | ||
149 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
150 | (% style="line-height:1.2" %) | ||
151 | (% 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" %)profileUuid | ||
152 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
153 | (% style="line-height:1.2" %) | ||
154 | (% 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 | ||
155 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
156 | (% style="line-height:1.2" %) | ||
157 | (% 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" %)идентификатор пользователя автора проекта | ||
158 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
159 | (% style="line-height:1.2" %) | ||
160 | (% 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" %)getProfileUuid() | ||
161 | ))) | ||
162 | ))) | ||
163 | |||
164 | **Пример использования:** | ||
165 | |||
166 | {{code language="java"}} | ||
167 | def project = bim.getProject() | ||
168 | def editProjectDate = project.getEditDate() | ||
169 | console.info(editProjectDate.toString()) | ||
170 | // -> “INFO: 2022-01-01 01:01:12.567 +0300” | ||
171 | |||
172 | {{/code}} | ||
173 | |||
174 | (% class="box" %) | ||
175 | ((( | ||
176 | **getProjectTasks** - получение списка всех задач проекта | ||
177 | ))) | ||
178 | |||
179 | * **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру: | ||
180 | |||
181 | ((( | ||
182 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; width:1096px" %) | ||
183 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
184 | (% style="line-height:1.2" %) | ||
185 | (% 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" %)**Поле ** | ||
186 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
187 | (% style="line-height:1.2" %) | ||
188 | (% 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" %)**Тип данных поля** | ||
189 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
190 | (% style="line-height:1.2" %) | ||
191 | (% 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" %)**Описание поля** | ||
192 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
193 | (% style="line-height:1.2" %) | ||
194 | (% 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" %)Метод взятия данных поля | ||
195 | ))) | ||
196 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
197 | (% style="line-height:1.2" %) | ||
198 | (% 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 | ||
199 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
200 | (% style="line-height:1.2" %) | ||
201 | (% 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 | ||
202 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
203 | (% style="line-height:1.2" %) | ||
204 | (% 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" %)идентификатор задачи | ||
205 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
206 | (% style="line-height:1.2" %) | ||
207 | (% 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" %)getUuid() | ||
208 | ))) | ||
209 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
210 | (% style="line-height:1.2" %) | ||
211 | (% 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" %)title | ||
212 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
213 | (% style="line-height:1.2" %) | ||
214 | (% 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 | ||
215 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
216 | (% style="line-height:1.2" %) | ||
217 | (% 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" %)заголовок задачи | ||
218 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
219 | (% style="line-height:1.2" %) | ||
220 | (% 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" %)getTitle() | ||
221 | ))) | ||
222 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
223 | (% style="line-height:1.2" %) | ||
224 | (% 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" %)name | ||
225 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
226 | (% style="line-height:1.2" %) | ||
227 | (% 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 | ||
228 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
229 | (% style="line-height:1.2" %) | ||
230 | (% 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" %)наименование задачи | ||
231 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
232 | (% style="line-height:1.2" %) | ||
233 | (% 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" %)getName() | ||
234 | ))) | ||
235 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
236 | (% style="line-height:1.2" %) | ||
237 | (% 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" %)description | ||
238 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
239 | (% style="line-height:1.2" %) | ||
240 | (% 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 | ||
241 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
242 | (% style="line-height:1.2" %) | ||
243 | (% 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" %)описание задачи | ||
244 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
245 | (% style="line-height:1.2" %) | ||
246 | (% 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" %)getDescription() | ||
247 | ))) | ||
248 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
249 | (% style="line-height:1.2" %) | ||
250 | (% 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" %)responderUuid | ||
251 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
252 | (% style="line-height:1.2" %) | ||
253 | (% 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 | ||
254 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
255 | (% style="line-height:1.2" %) | ||
256 | (% 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" %)идентификатор пользователя на которого назначена задача | ||
257 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
258 | (% style="line-height:1.2" %) | ||
259 | (% 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" %)getResponderUuid() | ||
260 | ))) | ||
261 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
262 | (% style="line-height:1.2" %) | ||
263 | (% 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" %)creatorUuid | ||
264 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
265 | (% style="line-height:1.2" %) | ||
266 | (% 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 | ||
267 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
268 | (% style="line-height:1.2" %) | ||
269 | (% 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" %)идентификатор пользователя создавшего задачу | ||
270 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
271 | (% style="line-height:1.2" %) | ||
272 | (% 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" %)getCreatorUuid() | ||
273 | ))) | ||
274 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
275 | (% style="line-height:1.2" %) | ||
276 | (% 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" %)priority | ||
277 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
278 | (% style="line-height:1.2" %) | ||
279 | (% 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" %)Enum: | ||
280 | |||
281 | (% style="line-height:1.2" %) | ||
282 | (% 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" %)LOW, NORMAL, HIGH | ||
283 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
284 | (% style="line-height:1.2" %) | ||
285 | (% 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" %)приоритет задачи | ||
286 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
287 | (% style="line-height:1.2" %) | ||
288 | (% 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" %)getPriority() | ||
289 | ))) | ||
290 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
291 | (% style="line-height:1.2" %) | ||
292 | (% 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" %)taskType | ||
293 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
294 | (% style="line-height:1.2" %) | ||
295 | (% 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" %)Enum: | ||
296 | |||
297 | (% style="line-height:1.2" %) | ||
298 | (% 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" %)TASK, BUG, IMPROVEMENT | ||
299 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
300 | (% style="line-height:1.2" %) | ||
301 | (% 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" %)тип задачи | ||
302 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
303 | (% style="line-height:1.2" %) | ||
304 | (% 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" %)getTaskType() | ||
305 | ))) | ||
306 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
307 | (% style="line-height:1.2" %) | ||
308 | (% 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 | ||
309 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
310 | (% style="line-height:1.2" %) | ||
311 | (% 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 | ||
312 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
313 | (% style="line-height:1.2" %) | ||
314 | (% 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" %)дата создания задачи | ||
315 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
316 | (% style="line-height:1.2" %) | ||
317 | (% 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() | ||
318 | ))) | ||
319 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
320 | (% style="line-height:1.2" %) | ||
321 | (% 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" %)completeStatus | ||
322 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
323 | (% style="line-height:1.2" %) | ||
324 | (% 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" %)Enum: | ||
325 | |||
326 | (% style="line-height:1.2" %) | ||
327 | (% 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" %) NEW, DISCUSS, PROGRESS, READY, CLOSED | ||
328 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
329 | (% style="line-height:1.2" %) | ||
330 | (% 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" %)статус задачи | ||
331 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
332 | (% style="line-height:1.2" %) | ||
333 | (% 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" %)getCompleteStatus() | ||
334 | ))) | ||
335 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
336 | (% style="line-height:1.2" %) | ||
337 | (% 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" %)worldX | ||
338 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
339 | (% style="line-height:1.2" %) | ||
340 | (% 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" %)double | ||
341 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
342 | (% style="line-height:1.2" %) | ||
343 | (% 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" %)координаты метки привязанной к задаче | ||
344 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
345 | (% style="line-height:1.2" %) | ||
346 | (% 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" %)getWorldX() | ||
347 | ))) | ||
348 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
349 | (% style="line-height:1.2" %) | ||
350 | (% 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" %)worldY | ||
351 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
352 | (% style="line-height:1.2" %) | ||
353 | (% 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" %)double | ||
354 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
355 | (% style="line-height:1.2" %) | ||
356 | (% 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" %)координаты метки привязанной к задаче | ||
357 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
358 | (% style="line-height:1.2" %) | ||
359 | (% 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" %)getWorldY() | ||
360 | ))) | ||
361 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
362 | (% style="line-height:1.2" %) | ||
363 | (% 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" %)worldZ | ||
364 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
365 | (% style="line-height:1.2" %) | ||
366 | (% 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" %)double | ||
367 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
368 | (% style="line-height:1.2" %) | ||
369 | (% 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" %)координаты метки привязанной к задаче | ||
370 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
371 | (% style="line-height:1.2" %) | ||
372 | (% 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" %)getWorldZ() | ||
373 | ))) | ||
374 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
375 | (% style="line-height:1.2" %) | ||
376 | (% 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" %)entityId | ||
377 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
378 | (% style="line-height:1.2" %) | ||
379 | (% 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 | ||
380 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
381 | (% style="line-height:1.2" %) | ||
382 | (% 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" %)идентификатор элемента если есть | ||
383 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
384 | (% style="line-height:1.2" %) | ||
385 | (% 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" %)getEntityId() | ||
386 | ))) | ||
387 | ))) | ||
388 | |||
389 | **Пример использования** | ||
390 | |||
391 | {{code language="java"}} | ||
392 | def listTasks = bim.getProjectTasks() | ||
393 | for (Task task: listTasks ) { | ||
394 | def taskUuid= task.getUuid() | ||
395 | |||
396 | // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” | ||
397 | } | ||
398 | {{/code}} | ||
399 | |||
400 | |||
401 | |||
402 | |||
403 |