1
|
/**
|
2
|
* Copyright (C) 2017 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.vaadin.view.name;
|
10
|
|
11
|
import java.util.Collection;
|
12
|
import java.util.EnumSet;
|
13
|
|
14
|
import org.apache.commons.lang3.BooleanUtils;
|
15
|
import org.springframework.context.annotation.Scope;
|
16
|
import org.springframework.security.core.GrantedAuthority;
|
17
|
|
18
|
import com.vaadin.shared.ui.label.ContentMode;
|
19
|
import com.vaadin.spring.annotation.SpringComponent;
|
20
|
import com.vaadin.ui.Alignment;
|
21
|
import com.vaadin.ui.CheckBox;
|
22
|
import com.vaadin.ui.GridLayout;
|
23
|
import com.vaadin.ui.Label;
|
24
|
import com.vaadin.ui.ListSelect;
|
25
|
import com.vaadin.ui.TextField;
|
26
|
|
27
|
import eu.etaxonomy.cdm.model.common.CdmBase;
|
28
|
import eu.etaxonomy.cdm.model.name.Rank;
|
29
|
import eu.etaxonomy.cdm.model.name.TaxonName;
|
30
|
import eu.etaxonomy.cdm.model.reference.Reference;
|
31
|
import eu.etaxonomy.cdm.persistence.hibernate.permission.CRUD;
|
32
|
import eu.etaxonomy.cdm.vaadin.component.common.TeamOrPersonField;
|
33
|
import eu.etaxonomy.cdm.vaadin.event.ReferenceEditorAction;
|
34
|
import eu.etaxonomy.cdm.vaadin.event.TaxonNameEditorAction;
|
35
|
import eu.etaxonomy.cdm.vaadin.security.AccessRestrictedView;
|
36
|
import eu.etaxonomy.cdm.vaadin.security.UserHelper;
|
37
|
import eu.etaxonomy.cdm.vaadin.util.converter.SetToListConverter;
|
38
|
import eu.etaxonomy.vaadin.component.SwitchableTextField;
|
39
|
import eu.etaxonomy.vaadin.component.ToManyRelatedEntitiesComboboxSelect;
|
40
|
import eu.etaxonomy.vaadin.component.ToOneRelatedEntityCombobox;
|
41
|
import eu.etaxonomy.vaadin.event.EditorActionType;
|
42
|
import eu.etaxonomy.vaadin.mvp.AbstractCdmPopupEditor;
|
43
|
import eu.etaxonomy.vaadin.permission.EditPermissionTester;
|
44
|
|
45
|
/**
|
46
|
* @author a.kohlbecker
|
47
|
* @since May 22, 2017
|
48
|
*
|
49
|
*/
|
50
|
@SpringComponent
|
51
|
@Scope("prototype")
|
52
|
public class TaxonNamePopupEditor extends AbstractCdmPopupEditor<TaxonName, TaxonNameEditorPresenter> implements TaxonNamePopupEditorView, AccessRestrictedView {
|
53
|
|
54
|
private static final long serialVersionUID = -7037436241474466359L;
|
55
|
|
56
|
private final static int GRID_COLS = 4;
|
57
|
|
58
|
private final static int GRID_ROWS = 13;
|
59
|
|
60
|
private static final boolean HAS_BASIONYM_DEFAULT = false;
|
61
|
|
62
|
private TextField genusOrUninomialField;
|
63
|
|
64
|
private TextField infraGenericEpithetField;
|
65
|
|
66
|
private TextField specificEpithetField;
|
67
|
|
68
|
private TextField infraSpecificEpithetField;
|
69
|
|
70
|
private SwitchableTextField fullTitleCacheFiled;
|
71
|
|
72
|
private SwitchableTextField protectedNameCacheField;
|
73
|
|
74
|
private ToOneRelatedEntityCombobox<Reference> nomReferenceCombobox;
|
75
|
|
76
|
private TextField nomenclaturalReferenceDetail;
|
77
|
|
78
|
private TeamOrPersonField exBasionymAuthorshipField;
|
79
|
|
80
|
private TeamOrPersonField basionymAuthorshipField;
|
81
|
|
82
|
private ToManyRelatedEntitiesComboboxSelect<TaxonName> basionymsComboboxSelect;
|
83
|
|
84
|
private CheckBox basionymToggle;
|
85
|
|
86
|
private CheckBox validationToggle;
|
87
|
|
88
|
private ListSelect rankSelect;
|
89
|
|
90
|
private TeamOrPersonField combinationAuthorshipField;
|
91
|
|
92
|
private TeamOrPersonField exCombinationAuthorshipField;
|
93
|
|
94
|
private EnumSet<TaxonNamePopupEditorMode> modesActive = EnumSet.noneOf(TaxonNamePopupEditorMode.class);
|
95
|
|
96
|
/**
|
97
|
* @param layout
|
98
|
* @param dtoType
|
99
|
*/
|
100
|
public TaxonNamePopupEditor() {
|
101
|
super(new GridLayout(GRID_COLS, GRID_ROWS), TaxonName.class);
|
102
|
}
|
103
|
|
104
|
/**
|
105
|
* {@inheritDoc}
|
106
|
*/
|
107
|
@Override
|
108
|
public String getWindowCaption() {
|
109
|
return "Name editor";
|
110
|
}
|
111
|
|
112
|
|
113
|
|
114
|
/**
|
115
|
* {@inheritDoc}
|
116
|
*/
|
117
|
@Override
|
118
|
public int getWindowPixelWidth() {
|
119
|
return 800;
|
120
|
}
|
121
|
|
122
|
/**
|
123
|
* {@inheritDoc}
|
124
|
*/
|
125
|
@Override
|
126
|
public void focusFirst() {
|
127
|
// titleField.focus();
|
128
|
|
129
|
}
|
130
|
|
131
|
/**
|
132
|
* {@inheritDoc}
|
133
|
*/
|
134
|
@Override
|
135
|
protected String getDefaultComponentStyles() {
|
136
|
return "tiny";
|
137
|
}
|
138
|
|
139
|
/**
|
140
|
* {@inheritDoc}
|
141
|
*/
|
142
|
@Override
|
143
|
protected void initContent() {
|
144
|
|
145
|
GridLayout grid = (GridLayout)getFieldLayout();
|
146
|
// grid.setSizeFull();
|
147
|
grid.setSpacing(true);
|
148
|
grid.setColumnExpandRatio(0, 0.3f);
|
149
|
grid.setColumnExpandRatio(1, 0.3f);
|
150
|
grid.setColumnExpandRatio(2, 0.3f);
|
151
|
grid.setColumnExpandRatio(3, 0.0f);
|
152
|
|
153
|
/*
|
154
|
- nameType: preset, needs to be set in the presenter for new names
|
155
|
- appendedPhrase: -> TODO field
|
156
|
- nomenclaturalMicroReference: -> TODO field
|
157
|
- nomenclaturalReference -> field but disabled for REGISTRY
|
158
|
- rank -> SelectField which determines the visiblity of the other fields
|
159
|
|
160
|
- fullTitleCache + protectedFullTitleCache -> SwitchableTextField : ADVANCED_MODE
|
161
|
- nameCache + protectedNameCache -> SwitchableTextField : ADVANCED_MODE
|
162
|
|
163
|
- homotypicalGroup -> hidden
|
164
|
- typeDesignations -> hidden
|
165
|
- descriptions -> hidden
|
166
|
- taxonBases -> hidden
|
167
|
- registrations -> hidden
|
168
|
|
169
|
- relationsFromThisName-> TODO implement later
|
170
|
- relationsToThisName -> TODO implement later
|
171
|
|
172
|
- genusOrUninomial -> textField
|
173
|
- infraGenericEpithet -> textField
|
174
|
- specificEpithet -> textField
|
175
|
- infraSpecificEpithet -> textField
|
176
|
|
177
|
- authorshipCache + protectedAuthorshipCache -> SwitchableTextField : only ADVANCED_MODE and disabled for REGISTRY
|
178
|
- basionymAuthorship -> field but disabled for REGISTRY, basionym is set as nameRelationShip
|
179
|
- combinationAuthorship -> field but disabled for REGISTRY author team of the reference
|
180
|
- exCombinationAuthorship -> textField
|
181
|
- exBasionymAuthorship -> textField
|
182
|
|
183
|
- status -> TODO field
|
184
|
- monomHybrid -> TODO implement hybrids later
|
185
|
- binomHybrid -> TODO implement hybrids later
|
186
|
- trinomHybrid -> TODO implement hybrids later
|
187
|
|
188
|
- hybridParentRelations -> TODO implement hybrids later
|
189
|
- hybridChildRelations -> TODO implement hybrids later
|
190
|
- hybridFormula -> TODO implement hybrids later
|
191
|
|
192
|
** ViralName attributes **
|
193
|
- acronym
|
194
|
|
195
|
** BacterialName attributes **
|
196
|
- subGenusAuthorship
|
197
|
- nameApprobation
|
198
|
- breed
|
199
|
- publicationYear
|
200
|
- originalPublicationYear
|
201
|
- cultivarName
|
202
|
*/
|
203
|
|
204
|
int row = 0;
|
205
|
|
206
|
rankSelect = new ListSelect("Rank");
|
207
|
rankSelect.setNullSelectionAllowed(false);
|
208
|
rankSelect.setRows(1);
|
209
|
rankSelect.setWidth(100, Unit.PERCENTAGE);
|
210
|
rankSelect.addValueChangeListener(e -> updateFieldVisibility());
|
211
|
addField(rankSelect, "rank", 0, row, 1, row);
|
212
|
grid.setComponentAlignment(rankSelect, Alignment.TOP_RIGHT);
|
213
|
|
214
|
basionymToggle = new CheckBox("With basionym");
|
215
|
basionymToggle.setValue(HAS_BASIONYM_DEFAULT);
|
216
|
basionymToggle.addValueChangeListener(e -> {
|
217
|
updateFieldVisibility();
|
218
|
});
|
219
|
basionymToggle.setStyleName(getDefaultComponentStyles());
|
220
|
grid.addComponent(basionymToggle, 2, row, 3, row);
|
221
|
grid.setComponentAlignment(basionymToggle, Alignment.BOTTOM_LEFT);
|
222
|
|
223
|
row++;
|
224
|
validationToggle = new CheckBox("Validation");
|
225
|
validationToggle.addValueChangeListener(e -> {
|
226
|
boolean enable = e.getProperty().getValue() != null && (Boolean)e.getProperty().getValue();
|
227
|
exCombinationAuthorshipField.setVisible(enable);
|
228
|
});
|
229
|
grid.addComponent(validationToggle, 2, row, 3, row);
|
230
|
grid.setComponentAlignment(validationToggle, Alignment.BOTTOM_LEFT);
|
231
|
|
232
|
row++;
|
233
|
// fullTitleCache
|
234
|
fullTitleCacheFiled = addSwitchableTextField("Full title cache", "fullTitleCache", "protectedFullTitleCache", 0, row, GRID_COLS-1, row);
|
235
|
fullTitleCacheFiled.setWidth(100, Unit.PERCENTAGE);
|
236
|
row++;
|
237
|
protectedNameCacheField = addSwitchableTextField("Name cache", "nameCache", "protectedNameCache", 0, row, GRID_COLS-1, row);
|
238
|
protectedNameCacheField.setWidth(100, Unit.PERCENTAGE);
|
239
|
row++;
|
240
|
genusOrUninomialField = addTextField("Genus or uninomial", "genusOrUninomial", 0, row, 1, row);
|
241
|
genusOrUninomialField.setWidth(200, Unit.PIXELS);
|
242
|
infraGenericEpithetField = addTextField("Infrageneric epithet", "infraGenericEpithet", 2, row, 3, row);
|
243
|
infraGenericEpithetField.setWidth(200, Unit.PIXELS);
|
244
|
row++;
|
245
|
specificEpithetField = addTextField("Specific epithet", "specificEpithet", 0, row, 1, row);
|
246
|
specificEpithetField.setWidth(200, Unit.PIXELS);
|
247
|
infraSpecificEpithetField = addTextField("Infraspecific epithet", "infraSpecificEpithet", 2, row, 3, row);
|
248
|
infraSpecificEpithetField.setWidth(200, Unit.PIXELS);
|
249
|
|
250
|
row++;
|
251
|
grid.addComponent(new Label("Hint: <i>Edit nomenclatural authors in the nomenclatural reference.</i>", ContentMode.HTML), 0, row, 3, row);
|
252
|
|
253
|
row++;
|
254
|
combinationAuthorshipField = new TeamOrPersonField("combination author(s)");
|
255
|
combinationAuthorshipField.setWidth(100, Unit.PERCENTAGE);
|
256
|
addField(combinationAuthorshipField, "combinationAuthorship", 0, row, GRID_COLS-1, row);
|
257
|
|
258
|
row++;
|
259
|
nomReferenceCombobox = new ToOneRelatedEntityCombobox<Reference>("Nomenclatural reference", Reference.class);
|
260
|
nomReferenceCombobox.addClickListenerAddEntity(e -> getViewEventBus().publish(this,
|
261
|
new ReferenceEditorAction(EditorActionType.ADD, null, nomReferenceCombobox, this)
|
262
|
));
|
263
|
nomReferenceCombobox.addClickListenerEditEntity(e -> {
|
264
|
if(nomReferenceCombobox.getValue() != null){
|
265
|
getViewEventBus().publish(this,
|
266
|
new ReferenceEditorAction(
|
267
|
EditorActionType.EDIT,
|
268
|
nomReferenceCombobox.getValue().getId(),
|
269
|
nomReferenceCombobox,
|
270
|
this)
|
271
|
);
|
272
|
}
|
273
|
});
|
274
|
// nomReferenceCombobox.setWidth(300, Unit.PIXELS);
|
275
|
nomReferenceCombobox.setWidth("100%");
|
276
|
addField(nomReferenceCombobox, "nomenclaturalReference", 0, row, 2, row);
|
277
|
nomenclaturalReferenceDetail = addTextField("Reference detail", "nomenclaturalMicroReference", 3, row, 3, row);
|
278
|
nomenclaturalReferenceDetail.setWidth(100, Unit.PIXELS);
|
279
|
|
280
|
row++;
|
281
|
exCombinationAuthorshipField = new TeamOrPersonField("Ex-combination author(s)");
|
282
|
exCombinationAuthorshipField.setWidth(100, Unit.PERCENTAGE);
|
283
|
addField(exCombinationAuthorshipField, "exCombinationAuthorship", 0, row, GRID_COLS-1, row);
|
284
|
|
285
|
// Basionym
|
286
|
row++;
|
287
|
basionymsComboboxSelect = new ToManyRelatedEntitiesComboboxSelect<TaxonName>(TaxonName.class, "Basionym");
|
288
|
basionymsComboboxSelect.setConverter(new SetToListConverter<TaxonName>());
|
289
|
addField(basionymsComboboxSelect, "basionyms", 0, row, 3, row);
|
290
|
basionymsComboboxSelect.setWidth(100, Unit.PERCENTAGE);
|
291
|
basionymsComboboxSelect.withEditButton(true);
|
292
|
basionymsComboboxSelect.setEditPermissionTester(new EditPermissionTester() {
|
293
|
|
294
|
@Override
|
295
|
public boolean userHasEditPermission(Object bean) {
|
296
|
return UserHelper.fromSession().userHasPermission((CdmBase)bean, CRUD.UPDATE, CRUD.DELETE);
|
297
|
}
|
298
|
});
|
299
|
basionymsComboboxSelect.setEditActionListener(e -> {
|
300
|
|
301
|
Object fieldValue = e.getSource().getValue();
|
302
|
Integer beanId = null;
|
303
|
if(fieldValue != null){
|
304
|
beanId = ((CdmBase)fieldValue).getId();
|
305
|
|
306
|
}
|
307
|
getViewEventBus().publish(this, new TaxonNameEditorAction(e.getAction(), beanId, e.getSource(), this));
|
308
|
});
|
309
|
grid.setComponentAlignment(basionymsComboboxSelect, Alignment.TOP_RIGHT);
|
310
|
row++;
|
311
|
basionymAuthorshipField = new TeamOrPersonField("Basionym author(s)");
|
312
|
basionymAuthorshipField.setWidth(100, Unit.PERCENTAGE);
|
313
|
addField(basionymAuthorshipField, "basionymAuthorship", 0, row, GRID_COLS-1, row);
|
314
|
row++;
|
315
|
exBasionymAuthorshipField = new TeamOrPersonField("Ex-basionym author(s)");
|
316
|
exBasionymAuthorshipField.setWidth(100, Unit.PERCENTAGE);
|
317
|
addField(exBasionymAuthorshipField, "exBasionymAuthorship", 0, row, GRID_COLS-1, row);
|
318
|
|
319
|
|
320
|
|
321
|
setAdvancedModeEnabled(true);
|
322
|
registerAdvancedModeComponents(fullTitleCacheFiled, protectedNameCacheField);
|
323
|
registerAdvancedModeComponents(basionymAuthorshipField.getCachFields());
|
324
|
registerAdvancedModeComponents(exBasionymAuthorshipField.getCachFields());
|
325
|
registerAdvancedModeComponents(combinationAuthorshipField.getCachFields());
|
326
|
registerAdvancedModeComponents(exCombinationAuthorshipField.getCachFields());
|
327
|
setAdvancedMode(false);
|
328
|
|
329
|
}
|
330
|
|
331
|
/**
|
332
|
* @param rank
|
333
|
* @return
|
334
|
*/
|
335
|
private void updateFieldVisibility() {
|
336
|
|
337
|
// TODO use getField() instead and remove field references
|
338
|
|
339
|
TaxonName taxonName = getBean();
|
340
|
Rank rank = taxonName.getRank();
|
341
|
|
342
|
boolean isSpeciesOrBelow = !rank.isHigher(Rank.SPECIES());
|
343
|
Boolean withBasionym = BooleanUtils.isTrue(basionymToggle.getValue());
|
344
|
Boolean withValidation = BooleanUtils.isTrue(validationToggle.getValue());
|
345
|
|
346
|
basionymAuthorshipField.setVisible(withBasionym != null && withBasionym);
|
347
|
exBasionymAuthorshipField.setVisible(withBasionym);
|
348
|
basionymsComboboxSelect.setVisible(withBasionym);
|
349
|
|
350
|
if(taxonName != null){
|
351
|
if(modesActive.contains(TaxonNamePopupEditorMode.suppressReplacementAuthorshipData)){
|
352
|
basionymAuthorshipField.setVisible(taxonName.getBasionymAuthorship() != null);
|
353
|
exBasionymAuthorshipField.setVisible(taxonName.getExBasionymAuthorship() != null);
|
354
|
}
|
355
|
}
|
356
|
|
357
|
infraSpecificEpithetField.setVisible(rank.isInfraSpecific());
|
358
|
specificEpithetField.setVisible(isSpeciesOrBelow);
|
359
|
infraGenericEpithetField.setVisible(rank.isInfraGenericButNotSpeciesGroup());
|
360
|
genusOrUninomialField.setCaption(isSpeciesOrBelow ? "Genus" : "Uninomial");
|
361
|
exCombinationAuthorshipField.setVisible(isSpeciesOrBelow && withValidation);
|
362
|
}
|
363
|
|
364
|
@Override
|
365
|
protected void afterItemDataSourceSet() {
|
366
|
TaxonName taxonName = getBean();
|
367
|
boolean showBasionymSection = taxonName.getBasionyms().size() > 0
|
368
|
|| taxonName.getBasionymAuthorship() != null
|
369
|
|| taxonName.getExBasionymAuthorship() != null;
|
370
|
basionymToggle.setValue(showBasionymSection);
|
371
|
basionymToggle.setReadOnly(showBasionymSection);
|
372
|
|
373
|
boolean showExAuthors = taxonName.getExCombinationAuthorship() != null;
|
374
|
validationToggle.setValue(showExAuthors);
|
375
|
validationToggle.setReadOnly(showExAuthors);
|
376
|
exCombinationAuthorshipField.setVisible(showExAuthors);
|
377
|
|
378
|
if(isModeEnabled(TaxonNamePopupEditorMode.suppressReplacementAuthorshipData)){
|
379
|
combinationAuthorshipField.setVisible(taxonName.getCombinationAuthorship() != null);
|
380
|
}
|
381
|
if(isModeEnabled(TaxonNamePopupEditorMode.nomenclaturalReferenceSectionEditingOnly) && getBean().getNomenclaturalReference() != null) {
|
382
|
nomReferenceCombobox.setCaption("Selection limited to nomenclatural reference and sections");
|
383
|
}
|
384
|
|
385
|
}
|
386
|
|
387
|
/**
|
388
|
* {@inheritDoc}
|
389
|
*/
|
390
|
@Override
|
391
|
public boolean allowAnonymousAccess() {
|
392
|
return false;
|
393
|
}
|
394
|
|
395
|
/**
|
396
|
* {@inheritDoc}
|
397
|
*/
|
398
|
@Override
|
399
|
public Collection<Collection<GrantedAuthority>> allowedGrantedAuthorities() {
|
400
|
return null;
|
401
|
}
|
402
|
|
403
|
/**
|
404
|
* {@inheritDoc}
|
405
|
*/
|
406
|
@Override
|
407
|
public ToOneRelatedEntityCombobox<Reference> getNomReferenceCombobox() {
|
408
|
return nomReferenceCombobox;
|
409
|
}
|
410
|
|
411
|
/**
|
412
|
* {@inheritDoc}
|
413
|
*/
|
414
|
@Override
|
415
|
public ToManyRelatedEntitiesComboboxSelect<TaxonName> getBasionymComboboxSelect() {
|
416
|
return basionymsComboboxSelect;
|
417
|
}
|
418
|
|
419
|
/**
|
420
|
* {@inheritDoc}
|
421
|
*/
|
422
|
@Override
|
423
|
public ListSelect getRankSelect() {
|
424
|
return rankSelect;
|
425
|
}
|
426
|
|
427
|
/**
|
428
|
* @return the exBasionymAuthorshipField
|
429
|
*/
|
430
|
@Override
|
431
|
public TeamOrPersonField getExBasionymAuthorshipField() {
|
432
|
return exBasionymAuthorshipField;
|
433
|
}
|
434
|
|
435
|
/**
|
436
|
* @return the basionymAuthorshipField
|
437
|
*/
|
438
|
@Override
|
439
|
public TeamOrPersonField getBasionymAuthorshipField() {
|
440
|
return basionymAuthorshipField;
|
441
|
}
|
442
|
|
443
|
/**
|
444
|
* @return the combinationAuthorshipField
|
445
|
*/
|
446
|
@Override
|
447
|
public TeamOrPersonField getCombinationAuthorshipField() {
|
448
|
return combinationAuthorshipField;
|
449
|
}
|
450
|
|
451
|
/**
|
452
|
* @return the exCombinationAuthorshipField
|
453
|
*/
|
454
|
@Override
|
455
|
public TeamOrPersonField getExCombinationAuthorshipField() {
|
456
|
return exCombinationAuthorshipField;
|
457
|
}
|
458
|
|
459
|
@Override
|
460
|
public void enableMode(TaxonNamePopupEditorMode mode){
|
461
|
modesActive.add(mode);
|
462
|
}
|
463
|
|
464
|
@Override
|
465
|
public boolean isModeEnabled(TaxonNamePopupEditorMode mode){
|
466
|
return modesActive.contains(mode);
|
467
|
}
|
468
|
|
469
|
@Override
|
470
|
public void disableMode(TaxonNamePopupEditorMode mode){
|
471
|
modesActive.remove(mode);
|
472
|
}
|
473
|
|
474
|
@Override
|
475
|
public EnumSet<TaxonNamePopupEditorMode> getModesActive(){
|
476
|
return modesActive;
|
477
|
}
|
478
|
|
479
|
@Override
|
480
|
public CheckBox getBasionymToggle() {
|
481
|
return basionymToggle;
|
482
|
}
|
483
|
|
484
|
/**
|
485
|
* {@inheritDoc}
|
486
|
*/
|
487
|
@Override
|
488
|
public void setReadOnly(boolean readOnly) {
|
489
|
boolean basionymToggleReadonly = basionymToggle.isReadOnly();
|
490
|
boolean validationToggleReadonly = validationToggle.isReadOnly();
|
491
|
super.setReadOnly(readOnly);
|
492
|
// preserve old readonly states if they were true
|
493
|
if(basionymToggleReadonly){
|
494
|
basionymToggle.setReadOnly(true);
|
495
|
}
|
496
|
if(validationToggleReadonly){
|
497
|
validationToggle.setReadOnly(true);
|
498
|
}
|
499
|
}
|
500
|
|
501
|
|
502
|
|
503
|
|
504
|
}
|