Исходный код вики Интерфейс bim
Версия 32.1 от Bimit Administrator на 09.02.2022, 13:26
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | Основной интерфейс для получения и работы с данными. В данном интерфейсе доступны следующие методы: | ||
2 | |||
3 | * [[getProject>>||anchor="HgetProject"]] | ||
4 | * getProfile | ||
5 | * getProjectModels | ||
6 | * getModelRevisions | ||
7 | * [[getProjectTasks>>doc:||anchor="HgetProjectTasks"]]- получение списка всех задач проекта | ||
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 | === === | ||
24 | |||
25 | === === | ||
26 | |||
27 | (% class="box infomessage" %) | ||
28 | ((( | ||
29 | ====== getProject ====== | ||
30 | |||
31 | взятие проекта на котором выполняется плагин | ||
32 | ))) | ||
33 | |||
34 | * **bim.getProject() **- метод представляет следующую структуру | ||
35 | |||
36 | ((( | ||
37 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; height:489px; width:1089px" %) | ||
38 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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:227px" %)((( | ||
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 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
45 | (% style="line-height:1.2" %) | ||
46 | (% 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" %)Описание поля | ||
47 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
48 | (% style="line-height:1.2" %) | ||
49 | (% 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" %)Метод взятия данных поля | ||
50 | ))) | ||
51 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)uuid | ||
54 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)uuid | ||
57 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
58 | (% style="line-height:1.2" %) | ||
59 | (% 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" %)идентификатор проекта | ||
60 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
61 | (% style="line-height:1.2" %) | ||
62 | (% 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() | ||
63 | ))) | ||
64 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)alias | ||
67 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)string | ||
70 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
71 | (% style="line-height:1.2" %) | ||
72 | (% 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" %)уникальное название английское | ||
73 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
74 | (% style="line-height:1.2" %) | ||
75 | (% 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() | ||
76 | ))) | ||
77 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)title | ||
80 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)string | ||
83 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
84 | (% style="line-height:1.2" %) | ||
85 | (% 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" %)заголовок | ||
86 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
87 | (% style="line-height:1.2" %) | ||
88 | (% 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() | ||
89 | ))) | ||
90 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)description | ||
93 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)string | ||
96 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
97 | (% style="line-height:1.2" %) | ||
98 | (% 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" %)описание | ||
99 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
100 | (% style="line-height:1.2" %) | ||
101 | (% 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() | ||
102 | ))) | ||
103 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)color | ||
106 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)string | ||
109 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
110 | (% style="line-height:1.2" %) | ||
111 | (% 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" %)цвет метки проекта | ||
112 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
113 | (% style="line-height:1.2" %) | ||
114 | (% 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() | ||
115 | ))) | ||
116 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)preview | ||
119 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)string | ||
122 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
123 | (% style="line-height:1.2" %) | ||
124 | (% 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" %)ссылка на картинку превью проекта | ||
125 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
126 | (% style="line-height:1.2" %) | ||
127 | (% 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() | ||
128 | ))) | ||
129 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)createDate | ||
132 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)date | ||
135 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
136 | (% style="line-height:1.2" %) | ||
137 | (% 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" %)дата создания | ||
138 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
139 | (% style="line-height:1.2" %) | ||
140 | (% 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() | ||
141 | ))) | ||
142 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)editDate | ||
145 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)date | ||
148 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
149 | (% style="line-height:1.2" %) | ||
150 | (% 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" %)дата последнего редактирования | ||
151 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
152 | (% style="line-height:1.2" %) | ||
153 | (% 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() | ||
154 | ))) | ||
155 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:155px" %)((( | ||
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" %)profileUuid | ||
158 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:227px" %)((( | ||
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" %)uuid | ||
161 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:453px" %)((( | ||
162 | (% style="line-height:1.2" %) | ||
163 | (% 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" %)идентификатор пользователя автора проекта | ||
164 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
165 | (% style="line-height:1.2" %) | ||
166 | (% 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() | ||
167 | ))) | ||
168 | ))) | ||
169 | |||
170 | **Пример использования:** | ||
171 | |||
172 | {{code language="java"}} | ||
173 | def project = bim.getProject() | ||
174 | def editProjectDate = project.getEditDate() | ||
175 | console.info(editProjectDate.toString()) | ||
176 | // -> “INFO: 2022-01-01 01:01:12.567 +0300” | ||
177 | |||
178 | {{/code}} | ||
179 | |||
180 | |||
181 | |||
182 | === === | ||
183 | |||
184 | (% class="box infomessage" %) | ||
185 | ((( | ||
186 | ====== **getProjectTasks** - получение списка всех задач проекта ====== | ||
187 | ))) | ||
188 | |||
189 | * **getProjectTasks()** метод, который возвращает структуру списка задач, каждая задача представляет из себя следующую структуру: | ||
190 | |||
191 | ((( | ||
192 | (% cellspacing="0" style="border-collapse:collapse; border:medium none; width:1096px" %) | ||
193 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
194 | (% style="line-height:1.2" %) | ||
195 | (% 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" %)**Поле ** | ||
196 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)**Тип данных поля** | ||
199 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)**Описание поля** | ||
202 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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 | ))) | ||
206 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
207 | (% style="line-height:1.2" %) | ||
208 | (% 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 | ||
209 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)uuid | ||
212 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)идентификатор задачи | ||
215 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getUuid() | ||
218 | ))) | ||
219 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
220 | (% style="line-height:1.2" %) | ||
221 | (% 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 | ||
222 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)string | ||
225 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)заголовок задачи | ||
228 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getTitle() | ||
231 | ))) | ||
232 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
233 | (% style="line-height:1.2" %) | ||
234 | (% 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 | ||
235 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)string | ||
238 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)наименование задачи | ||
241 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getName() | ||
244 | ))) | ||
245 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
246 | (% style="line-height:1.2" %) | ||
247 | (% 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 | ||
248 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)string | ||
251 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)описание задачи | ||
254 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getDescription() | ||
257 | ))) | ||
258 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
259 | (% style="line-height:1.2" %) | ||
260 | (% 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 | ||
261 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)uuid | ||
264 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)идентификатор пользователя на которого назначена задача | ||
267 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getResponderUuid() | ||
270 | ))) | ||
271 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
272 | (% style="line-height:1.2" %) | ||
273 | (% 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 | ||
274 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)uuid | ||
277 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)идентификатор пользователя создавшего задачу | ||
280 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getCreatorUuid() | ||
283 | ))) | ||
284 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
285 | (% style="line-height:1.2" %) | ||
286 | (% 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 | ||
287 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
288 | (% style="line-height:1.2" %) | ||
289 | (% 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: | ||
290 | |||
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" %)LOW, NORMAL, HIGH | ||
293 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)приоритет задачи | ||
296 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getPriority() | ||
299 | ))) | ||
300 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
301 | (% style="line-height:1.2" %) | ||
302 | (% 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 | ||
303 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
304 | (% style="line-height:1.2" %) | ||
305 | (% 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: | ||
306 | |||
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" %)TASK, BUG, IMPROVEMENT | ||
309 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)тип задачи | ||
312 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getTaskType() | ||
315 | ))) | ||
316 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
317 | (% style="line-height:1.2" %) | ||
318 | (% 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 | ||
319 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)date-time | ||
322 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)дата создания задачи | ||
325 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getCreateDate() | ||
328 | ))) | ||
329 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
330 | (% style="line-height:1.2" %) | ||
331 | (% 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 | ||
332 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
333 | (% style="line-height:1.2" %) | ||
334 | (% 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: | ||
335 | |||
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" %) NEW, DISCUSS, PROGRESS, READY, CLOSED | ||
338 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)статус задачи | ||
341 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getCompleteStatus() | ||
344 | ))) | ||
345 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
346 | (% style="line-height:1.2" %) | ||
347 | (% 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 | ||
348 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)double | ||
351 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)координаты метки привязанной к задаче | ||
354 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getWorldX() | ||
357 | ))) | ||
358 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
359 | (% style="line-height:1.2" %) | ||
360 | (% 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 | ||
361 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)double | ||
364 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)координаты метки привязанной к задаче | ||
367 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getWorldY() | ||
370 | ))) | ||
371 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
372 | (% style="line-height:1.2" %) | ||
373 | (% 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 | ||
374 | )))|(% style="background-color:#cccccc; border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
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" %)double | ||
377 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
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" %)координаты метки привязанной к задаче | ||
380 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
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" %)getWorldZ() | ||
383 | ))) | ||
384 | |(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:159px" %)((( | ||
385 | (% style="line-height:1.2" %) | ||
386 | (% 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 | ||
387 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:226px" %)((( | ||
388 | (% style="line-height:1.2" %) | ||
389 | (% 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 | ||
390 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:451px" %)((( | ||
391 | (% style="line-height:1.2" %) | ||
392 | (% 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" %)идентификатор элемента если есть | ||
393 | )))|(% style="border-color:#000000; border-style:solid; border-width:1px; padding:7px; vertical-align:top; width:256px" %)((( | ||
394 | (% style="line-height:1.2" %) | ||
395 | (% 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() | ||
396 | ))) | ||
397 | ))) | ||
398 | |||
399 | **Пример использования** | ||
400 | |||
401 | {{code language="java"}} | ||
402 | def listTasks = bim.getProjectTasks() | ||
403 | for (Task task: listTasks ) { | ||
404 | def taskUuid= task.getUuid() | ||
405 | |||
406 | // console.info(taskUuid .toString()) -> “INFO: c73df7aa-7ddd-11ec-90d6-0242ac120003” | ||
407 | } | ||
408 | {{/code}} | ||
409 | |||
410 | |||
411 | |||
412 | |||
413 |