-
Notifications
You must be signed in to change notification settings - Fork 0
/
group.model.TimeSheets.prs
248 lines (248 loc) · 13 KB
/
group.model.TimeSheets.prs
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
<properties>
<properties class="linked-hash-map">
<entry>
<string>replication</string>
<table>
<format maxRecords="12" minRecords="12">
<fields>
<field description="Property" keyfield="true" name="variable" readonly="true" type="S">
<help>Name of the variable to apply the replication rule to.</help>
<defaultValue/>
</field>
<field description="Description" name="description" readonly="true" type="S">
<help>Description of the Property</help>
<defaultValue/>
</field>
<field description="Auto-replication" name="replicate" type="B">
<help>Use automatic replication for this variable</help>
<defaultValue>0</defaultValue>
</field>
<field description="Use Common Table" name="useMaster" type="B">
<help>Use a master value for this property. This setting may be enabled only if Auto-replication is disabled for this property and Current Common Table with Master Value is not empty.</help>
<defaultValue>0</defaultValue>
</field>
<field description="Current Common Table with Master Value" name="master" readonly="true" type="S">
<help>Description and location of the Common Table that may be used as a master value of a property. This is a read-only field.</help>
<defaultValue/>
</field>
</fields>
<bindings>
<binding>
<reference>useMaster#enabled</reference>
<expression>{replicate} == false && {master} != ''</expression>
</binding>
</bindings>
</format>
<records>
<record>
<value name="variable">templates</value>
<value name="description">Templates</value>
</record>
<record>
<value name="variable">childInfo</value>
<value name="description">Properties</value>
</record>
<record>
<value name="variable">modelVariables</value>
<value name="description">Model Variables</value>
</record>
<record>
<value name="variable">modelFunctions</value>
<value name="description">Model Functions</value>
</record>
<record>
<value name="variable">modelEvents</value>
<value name="description">Model Events</value>
</record>
<record>
<value name="variable">bindings</value>
<value name="description">Bindings</value>
</record>
<record>
<value name="variable">ruleSets</value>
<value name="description">Rule Sets</value>
</record>
<record>
<value name="variable">statisticsProperties</value>
<value name="description">Statistics Channels</value>
</record>
<record>
<value name="variable">granulator</value>
<value name="description">Granulation</value>
</record>
<record>
<value name="variable">companies</value>
<value name="description">companies</value>
</record>
<record>
<value name="variable">activities</value>
<value name="description">activities</value>
</record>
<record>
<value name="variable">operations</value>
<value name="description">operations</value>
</record>
</records>
</table>
</entry>
<entry>
<string>childInfo</string>
<table>
<format maxRecords="1" minRecords="1">
<fields>
<field description="Group Name" name="name" type="S">
<validators contentType="base64">HEweMSA1MB0cUh5cdyteXk5hbWUgbWF5IGNvbnRhaW4gb25seSBMYXRpbiBsZXR0ZXJzLCBkaWdpdHMsIGFuZCB1bmRlcnNjb3Jlcx0=</validators>
<help>Name of the object and corresponding system context, required to refer to this object from other parts of the system. It should satisfy the context naming conventions. WARNING: changing name will corrupt all references to the object.</help>
<defaultValue/>
</field>
<field description="Group Description" name="description" notReplicated="true" type="S">
<validators contentType="base64">HEweMCAxMDAdHFIeW15ccHtDbnRybH1dKl5eRGVzY3JpcHRpb24gbWF5IGNvbnRhaW4gb25seSBwcmludGFibGUgY2hhcmFjdGVycx0=</validators>
<help>Textual description of the group. This is also a description of the group context.</help>
<defaultValue/>
</field>
<field description="Enable Auto-replication" name="autoReplication" type="B">
<help>Enables auto-replication for this group.</help>
<defaultValue>0</defaultValue>
</field>
<field description="Hide Members From Primary Location" name="hideMembers" type="B">
<help>If this flag is enabled, group member contexts are shown inside the group, but not shown under their parent context. This is a mapping feature that affects only the visual representation of the server context tree, e.g. in System Tree.</help>
<defaultValue>0</defaultValue>
</field>
<field description="Show Member Count" name="showMemberCount" type="B">
<help>Enables displaying the group member count. If this flag is enabled, the group member count will be displayed in parentheses after the group description string.</help>
<defaultValue>1</defaultValue>
</field>
<field description="Validity Expression" editor="expression" name="validityExpression" type="S">
<editorOptions contentType="base64">HEYeHBxjb250ZXh0HRxTHRxGHk4dHEEeGh0cRB5EZWZhdWx0IENvbnRleHQdHRwcdGFibGUdHFQdHEYeTh0cQR4aHRxEHkRlZmF1bHQgVGFibGUdHRwccmVmZXJlbmNlcx0cVB0cRh5OHRxBHhxGHhwccmVmZXJlbmNlHRxTHRxBHh0cRB5SZWZlcmVuY2UdHRwcZGVzY3JpcHRpb24dHFMdHEEeHRxEHkRlc2NyaXB0aW9uHR0dHRxEHlJlZmVyZW5jZXMdHRwcZXhwZWN0ZWRSZXN1bHQdHFMdHEYeTh0cQR4aHRxEHkV4cGVjdGVkIFJlc3VsdB0dHBxjb250ZXh0RGVzY3JpcHRpb24dHFMdHEYeTh0cQR4aHRxEHkRlZmF1bHQgQ29udGV4dCBEZXNjcmlwdGlvbh0dHBx0YWJsZURlc2NyaXB0aW9uHRxTHRxGHk4dHEEeGh0cRB5EZWZhdWx0IFRhYmxlIERlc2NyaXB0aW9uHR0cTR4xHRxYHjEdHRxSHhwaHRwaHRwcUh4cLjojdHlwZR0cQ29udGV4dCBUeXBlHR0cUh4cLjodHENvbnRleHQgUGF0aB0dHRwaHRwaHRwaHR0=</editorOptions>
<help>Determines which contexts may be automatically added to the group. </help>
<group>Dynamic Grouping</group>
<defaultValue/>
</field>
<field description="Validity Update Rules" name="validityListeners" type="T">
<help>A list of context masks and event names. If event specified by Event field of this table occurs in any of context matching to the mask specified by Mask field in the same record, Validity Expression will be recalculated for this context. This feature is used for automatically adding/removing a certain context from a group if some changes occur in it.</help>
<group>Dynamic Grouping</group>
<defaultValue>
<table>
<format maxRecords="2147483647">
<fields>
<field description="Context Mask" editor="contextmask" icon="fi_context" keyfield="true" name="mask" type="S">
<help>Mask of contexts to monitor events in
</help>
<defaultValue/>
</field>
<field description="Event" extendableSelectionValues="true" icon="fi_event" keyfield="true" name="event" type="S">
<help>Name of Event to listen for</help>
<defaultValue/>
</field>
<field description="Target Expression" editor="expression" icon="fi_expression" name="expression" nullable="true" type="S">
<help>If specified, points to a context those validity should be checked. If Target Expression is not specified (what is suitable in most cases), the system checks validity of context in that Event has occurred.</help>
<defaultValue>
<nullValue/>
</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>event#choices</reference>
<expression>{utilities:eventsByMask('{mask}')}</expression>
</binding>
</bindings>
<validators contentType="base64">HEseHQ==</validators>
</format>
</table>
</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>replication$#enabled</reference>
<expression>{autoReplication}</expression>
</binding>
</bindings>
</format>
<records>
<record>
<value name="name">TimeSheets</value>
<value name="hideMembers">1</value>
</record>
</records>
</table>
</entry>
<entry>
<string>groupStatus</string>
<table>
<format maxRecords="1" minRecords="1">
<fields>
<field description="Enable Custom Status" name="enabled" type="B">
<help>Flag that controls whether custom status is enabled for a group.</help>
<defaultValue>0</defaultValue>
</field>
<field description="Member Status Variable" name="variable" type="S">
<help>Variable of group members that will be used to calculate status of each member.</help>
<defaultValue/>
</field>
<field description="Member Status Expression" editor="expression" name="expression" type="S">
<help>This expression will be evaluated for every group member to find out a status value (String) for this member. This value will be than looked up in the Status Table setting.</help>
<defaultValue/>
</field>
<field description="Status Table" name="statuses" type="T">
<help>The lookup table used to calculate aggregate status of the group.</help>
<defaultValue>
<table>
<format maxRecords="2147483647" reorderable="true">
<fields>
<field description="Member Status Expression Result" keyfield="true" name="status" type="S">
<help>Result of Member Status Expression evaluation</help>
<defaultValue/>
</field>
<field description="Color" name="color" type="I">
<selectionValues>
<option description="Light Yellow">112</option>
<option description="Light Red">113</option>
<option description="Light Magenta">114</option>
<option description="Light Blue">115</option>
<option description="Dark Grey">100</option>
<option description="Dark Green">101</option>
<option description="Dark Yellow">102</option>
<option description="Dark Red">103</option>
<option description="Dark Magenta">104</option>
<option description="Dark Blue">105</option>
<option description="Light Grey">110</option>
<option description="Light Green">111</option>
</selectionValues>
<help>A color that will be used to mark the group with such status (there are twelve predefined group status colors).</help>
<defaultValue>100</defaultValue>
</field>
<field description="Description" name="description" type="S">
<help>Description of this status</help>
<defaultValue/>
</field>
</fields>
<validators contentType="base64">HEseHQ==</validators>
</format>
</table>
</defaultValue>
</field>
</fields>
<bindings>
<binding>
<reference>variable#enabled</reference>
<expression>{enabled}</expression>
</binding>
<binding>
<reference>expression#enabled</reference>
<expression>{enabled}</expression>
</binding>
<binding>
<reference>statuses#enabled</reference>
<expression>{enabled}</expression>
</binding>
</bindings>
</format>
<records>
<record/>
</records>
</table>
</entry>
</properties>
</properties>