SelectionRule.mtd
17.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
{
"$type": "Sungero.Metadata.EntityMetadata, Sungero.Metadata",
"NameGuid": "18279fa8-62f8-4d72-a870-3465943d7080",
"Name": "SelectionRule",
"Actions": [
{
"NameGuid": "ce38fbf3-7ae0-4059-8a56-e13da2e3dc6b",
"Name": "ShowDocumentsByRule",
"ActionArea": "Card",
"GenerateHandler": true,
"LargeIconName": "Action_ShowDocumentsByRule_large_ce38fbf37ae040598a56e13da2e3dc6b.png",
"SmallIconName": "Action_ShowDocumentsByRule_small_ce38fbf37ae040598a56e13da2e3dc6b.png"
}
],
"BaseGuid": "04581d26-0780-4cfd-b3cd-c2cafc5798b0",
"CanBeNavigationPropertyType": true,
"Code": "SelectionRule",
"CreationAreaMetadata": {
"NameGuid": "f7766750-eee2-4fcd-8003-5c06a90d1f44",
"Name": "CreationArea",
"Buttons": [],
"IsAncestorMetadata": true
},
"ExtraSearchProperties": [],
"FilterPanel": {
"NameGuid": "b0125fbd-3b91-4dbb-914a-689276216404",
"Name": "FilterPanel",
"Controls": [],
"IsAncestorMetadata": true
},
"Forms": [
{
"$type": "Sungero.Metadata.StandaloneFormMetadata, Sungero.Metadata",
"NameGuid": "6bb28aeb-0fd0-4738-b491-db09a3c7367d",
"Name": "Card",
"Controls": [
{
"$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
"NameGuid": "1d2fa164-aaeb-4b18-b303-ae06c6ab8049",
"Name": "MainGroup",
"SharedNestedGroupsAlignment": true
},
{
"$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
"NameGuid": "3875bda3-fd29-44d9-b2d7-0ca8750ffdf3",
"Name": "SelectionGroup",
"ColumnDefinitions": [
{
"Percentage": 81.25
},
{
"Percentage": 18.75
}
],
"ColumnNumber": 0,
"ColumnSpan": 1,
"GroupType": "WithTitleNoBorder",
"ParentGuid": "1d2fa164-aaeb-4b18-b303-ae06c6ab8049",
"RowNumber": 0,
"RowSpan": 1
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "f52b615e-b41d-470e-8402-b80a66be8b18",
"Name": "Name",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"ParentGuid": "3875bda3-fd29-44d9-b2d7-0ca8750ffdf3",
"PropertyGuid": "f935820c-e6fc-4195-9a33-52348eeb134f",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "f3689f35-8aa9-4e28-b4b7-33bf26c4daf3",
"Name": "Status",
"ColumnNumber": 1,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.DropDownEditorToEnumerationBinder",
"ParentGuid": "3875bda3-fd29-44d9-b2d7-0ca8750ffdf3",
"PropertyGuid": "1dcedc29-5140-4770-ac92-eabc212326a1",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
"NameGuid": "8bbf6f98-3a5c-4516-9925-899b6d8ac3ca",
"Name": "FilteringGroup",
"ColumnNumber": 0,
"ColumnSpan": 1,
"GroupType": "WithTitleNoBorder",
"ParentGuid": "1d2fa164-aaeb-4b18-b303-ae06c6ab8049",
"RowNumber": 1,
"RowSpan": 1,
"SharedNestedGroupsAlignment": true
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "353122a4-3857-416e-ab9f-1654b33fdfed",
"Name": "DocumentKinds",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.MultiSelectEditorToCollectionBinder",
"ParentGuid": "8bbf6f98-3a5c-4516-9925-899b6d8ac3ca",
"PropertyGuid": "6e6ea515-909a-4289-9650-b9b89b885af4",
"RowNumber": 0,
"RowSpan": 1,
"Settings": [
{
"Name": "NavigationPropertyGuid",
"Value": "b6088428-7f18-410c-bb0b-62afcd8ccec4"
}
]
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "be2558c8-48b5-4c02-adad-f4248bc27622",
"Name": "Deparments",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.MultiSelectEditorToCollectionBinder",
"ParentGuid": "8bbf6f98-3a5c-4516-9925-899b6d8ac3ca",
"PropertyGuid": "3668d439-5d75-40f4-b46a-2e24c0baf9d8",
"RowNumber": 1,
"RowSpan": 1,
"Settings": [
{
"Name": "NavigationPropertyGuid",
"Value": "cf5b8249-178c-4842-80f9-d9c51bc32e65"
}
]
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "e91938f4-af04-410f-9453-c313115cecd8",
"Name": "CaseFiles",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.MultiSelectEditorToCollectionBinder",
"ParentGuid": "8bbf6f98-3a5c-4516-9925-899b6d8ac3ca",
"PropertyGuid": "ae65896f-9ac3-4887-a9dd-7e1704a153cd",
"RowNumber": 2,
"RowSpan": 1,
"Settings": [
{
"Name": "NavigationPropertyGuid",
"Value": "55b2705e-83b7-43f1-8d62-70681f5a4992"
}
]
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "d2c338a0-ecce-4025-8596-5b1e1a5f104a",
"Name": "FunctionName",
"ColumnNumber": 2,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"ParentGuid": "0568b075-a9d3-4874-b667-cd71d96f65c7",
"PropertyGuid": "cefc828f-7f0d-4f0e-ae79-a819e5e98964",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
"NameGuid": "4ae7be9f-b4cc-43bc-9216-a15d5260c11f",
"Name": "FuncFilterGroup",
"ColumnDefinitions": [
{
"Percentage": 48.34
},
{
"Percentage": 43.81
},
{
"Percentage": 7.85
}
],
"ColumnNumber": 0,
"ColumnSpan": 1,
"GroupType": "WithTitleNoBorder",
"ParentGuid": "8bbf6f98-3a5c-4516-9925-899b6d8ac3ca",
"RowNumber": 3,
"RowSpan": 1
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "7bbe058b-f4ae-4ddc-ad5d-53846ffdf5f0",
"Name": "FunctionName",
"ColumnNumber": 1,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"ParentGuid": "4ae7be9f-b4cc-43bc-9216-a15d5260c11f",
"PropertyGuid": "078104e6-91a7-4583-9143-5acbc833ff35",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "3aa3120d-1a68-4457-a2e4-bf9dd9c6a0d5",
"Name": "FunctionType",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"ParentGuid": "4ae7be9f-b4cc-43bc-9216-a15d5260c11f",
"PropertyGuid": "ba8e32d6-18d2-4560-9366-b833f3f614dd",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.HyperlinkControlMetadata, Sungero.Metadata",
"NameGuid": "d974202d-6f79-4333-83f1-a6b151680585",
"Name": "SelectionDialog",
"ColumnNumber": 2,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.HyperlinkToSourceBinder",
"FunctionName": "SelectFilteringFunctionDialog",
"HeaderLocation": "None",
"ParentGuid": "4ae7be9f-b4cc-43bc-9216-a15d5260c11f",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlGroupMetadata, Sungero.Metadata",
"NameGuid": "0568b075-a9d3-4874-b667-cd71d96f65c7",
"Name": "FuncPorocessGroup",
"ColumnDefinitions": [
{
"Percentage": 36.73
},
{
"Percentage": 12.41
},
{
"Percentage": 50.86
}
],
"ColumnNumber": 0,
"ColumnSpan": 1,
"GroupType": "WithTitleNoBorder",
"ParentGuid": "8bbf6f98-3a5c-4516-9925-899b6d8ac3ca",
"RowNumber": 4,
"RowSpan": 1
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "495612af-633a-4dce-acf6-a8fbba334feb",
"Name": "ContainerType",
"ColumnNumber": 0,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"ParentGuid": "0568b075-a9d3-4874-b667-cd71d96f65c7",
"PropertyGuid": "1181d9ea-d00c-478c-b63c-31112d72c92b",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.HyperlinkControlMetadata, Sungero.Metadata",
"NameGuid": "33d6461c-2ac6-4228-9a3c-e3e03a36eda4",
"Name": "Control",
"ColumnNumber": 1,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.HyperlinkToSourceBinder",
"FunctionName": "SelectArchiveDocsTypeFunctionDialog",
"HeaderLocation": "None",
"ParentGuid": "0568b075-a9d3-4874-b667-cd71d96f65c7",
"RowNumber": 0,
"RowSpan": 1,
"Settings": []
},
{
"$type": "Sungero.Metadata.ControlMetadata, Sungero.Metadata",
"NameGuid": "54726f5a-3206-4e7b-8ae7-742d761ac49c",
"Name": "Priority",
"ColumnNumber": 1,
"ColumnSpan": 1,
"DataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
"ParentGuid": "3875bda3-fd29-44d9-b2d7-0ca8750ffdf3",
"PropertyGuid": "017b2337-2463-4204-8ef1-08fc0ac85f52",
"RowNumber": 1,
"RowSpan": 1,
"Settings": []
}
]
}
],
"HandledEvents": [
"CreatedServer"
],
"IconResourcesKeys": [],
"OperationsClass": "",
"Properties": [
{
"$type": "Sungero.Metadata.EnumPropertyMetadata, Sungero.Metadata",
"NameGuid": "1dcedc29-5140-4770-ac92-eabc212326a1",
"Name": "Status",
"IsAncestorMetadata": true,
"Overridden": [
"IsVisibility"
]
},
{
"$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
"NameGuid": "f935820c-e6fc-4195-9a33-52348eeb134f",
"Name": "Name",
"Code": "Name",
"IsDisplayValue": true,
"IsQuickSearchAllowed": true,
"IsRequired": true,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"PreviousPropertyGuid": "1dcedc29-5140-4770-ac92-eabc212326a1"
},
{
"$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
"NameGuid": "6e6ea515-909a-4289-9650-b9b89b885af4",
"Name": "DocumentKinds",
"Code": "RuleDocKinds",
"EntityGuid": "d3bf6fae-8758-4d26-a2b2-0b03b7cd98f4",
"IsShowedInList": false,
"PreviousPropertyGuid": "f935820c-e6fc-4195-9a33-52348eeb134f",
"Versions": []
},
{
"$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
"NameGuid": "3668d439-5d75-40f4-b46a-2e24c0baf9d8",
"Name": "Departments",
"Code": "RuleDeparts",
"EntityGuid": "3f6480ad-0640-418b-acea-ece012a021cf",
"IsShowedInList": false,
"PreviousPropertyGuid": "6e6ea515-909a-4289-9650-b9b89b885af4",
"Versions": []
},
{
"$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
"NameGuid": "cefc828f-7f0d-4f0e-ae79-a819e5e98964",
"Name": "ProcessingFunction",
"Code": "ProcessFunc",
"IsRequired": true,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"PreviousPropertyGuid": "3668d439-5d75-40f4-b46a-2e24c0baf9d8"
},
{
"$type": "Sungero.Metadata.CollectionPropertyMetadata, Sungero.Metadata",
"NameGuid": "ae65896f-9ac3-4887-a9dd-7e1704a153cd",
"Name": "CaseFiles",
"Code": "RuleCaseFiles",
"EntityGuid": "a736bd32-2a10-4c33-a926-2a97b258dbe6",
"IsShowedInList": false,
"PreviousPropertyGuid": "cefc828f-7f0d-4f0e-ae79-a819e5e98964"
},
{
"$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
"NameGuid": "078104e6-91a7-4583-9143-5acbc833ff35",
"Name": "FilteringFunction",
"Code": "FilterFunc",
"IsEnabled": false,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"PreviousPropertyGuid": "ae65896f-9ac3-4887-a9dd-7e1704a153cd"
},
{
"$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
"NameGuid": "ba8e32d6-18d2-4560-9366-b833f3f614dd",
"Name": "FilteringModule",
"Code": "FilterModule",
"IsEnabled": false,
"Length": 500,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"PreviousPropertyGuid": "078104e6-91a7-4583-9143-5acbc833ff35",
"Versions": []
},
{
"$type": "Sungero.Metadata.StringPropertyMetadata, Sungero.Metadata",
"NameGuid": "1181d9ea-d00c-478c-b63c-31112d72c92b",
"Name": "ArchiveDocumentType",
"Code": "ArcDocType",
"IsRequired": true,
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.StringEditorToStringBinder",
"PreviousPropertyGuid": "ba8e32d6-18d2-4560-9366-b833f3f614dd"
},
{
"$type": "Sungero.Metadata.IntegerPropertyMetadata, Sungero.Metadata",
"NameGuid": "017b2337-2463-4204-8ef1-08fc0ac85f52",
"Name": "Priority",
"Code": "Priority",
"ListDataBinderTypeName": "Sungero.Presentation.CommonDataBinders.NumericEditorToIntAndDoubleBinder",
"PreviousPropertyGuid": "1181d9ea-d00c-478c-b63c-31112d72c92b"
}
],
"PublicFunctions": [
{
"Name": "EnqueueDocumentByRule",
"Parameters": [
{
"Name": "selectionRule",
"ParameterType": "global::DirRX.Container.ISelectionRule",
"ParameterTypeFullName": "DirRX.Container.ISelectionRule, Sungero.Domain.Interfaces"
},
{
"Name": "document",
"ParameterType": "global::Sungero.Docflow.IOfficialDocument",
"ParameterTypeFullName": "Sungero.Docflow.IOfficialDocument, Sungero.Domain.Interfaces"
}
],
"ReturnType": "global::DirRX.Container.ITransferEventLog",
"ReturnTypeFullName": "DirRX.Container.ITransferEventLog, Sungero.Domain.Interfaces"
},
{
"Name": "GetDocumentsByRule",
"IsRemote": true,
"Parameters": [
{
"Name": "selectionRule",
"ParameterType": "global::DirRX.Container.ISelectionRule",
"ParameterTypeFullName": "DirRX.Container.ISelectionRule, Sungero.Domain.Interfaces"
}
],
"Placement": "Shared",
"ReturnType": "global::System.Linq.IQueryable<global::Sungero.Docflow.IOfficialDocument>",
"ReturnTypeFullName": "System.Linq.IQueryable"
}
],
"PublicStructures": [],
"ResourcesKeys": [
"ArchiveTypeLabel",
"FunctionNameLabel",
"ModuleNameLabel",
"SelectFilteringFunctionTitle",
"SelectArchiveTypeTitle"
],
"RibbonCardMetadata": {
"NameGuid": "f50626e9-10da-44d6-ab61-12529d3a0883",
"Name": "RibbonCard",
"Categories": [],
"Elements": [
{
"$type": "Sungero.Metadata.RibbonActionButtonMetadata, Sungero.Metadata",
"NameGuid": "0e9a0f46-7d9b-4fda-af25-78a066b6c8ee",
"Name": "ActionButton",
"ActionGuid": "ce38fbf3-7ae0-4059-8a56-e13da2e3dc6b",
"ButtonSize": "Large",
"Index": 0,
"ParentGuid": "46f37d83-d794-4427-9794-4cd357fc3b51"
}
],
"Groups": [
{
"NameGuid": "46f37d83-d794-4427-9794-4cd357fc3b51",
"Name": "Other",
"IconName": null,
"Index": 21,
"ParentGuid": "21a31627-5f58-4416-8c4a-90f538ee2e57",
"SmallIconName": null
}
],
"IsAncestorMetadata": true,
"Pages": [],
"RibbonKind": "Card"
},
"RibbonCollectionMetadata": {
"NameGuid": "bc33ce17-eabb-431a-99ef-2a9cddd44c44",
"Name": "RibbonCollection",
"Categories": [],
"Elements": [],
"Groups": [],
"IsAncestorMetadata": true,
"Pages": []
},
"Versions": [
{
"Type": "EntityMetadata",
"Number": 11
}
]
}