Revision 10cc0e5e
Added by Cherian Mathew almost 9 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/util/CdmVaadinSessionUtilities.java | ||
---|---|---|
43 | 43 |
} |
44 | 44 |
|
45 | 45 |
public static void initCdmDataChangeService() { |
46 |
if(getCurrentCdmDataChangeService() != null) { |
|
47 |
logger.info("replacing data change service with new one"); |
|
48 |
} |
|
46 |
// if(getCurrentCdmDataChangeService() != null) {
|
|
47 |
// logger.info("replacing data change service with new one");
|
|
48 |
// }
|
|
49 | 49 |
setCurrentAttribute(CdmDataChangeService.KEY, new CdmDataChangeService()); |
50 | 50 |
} |
51 | 51 |
|
... | ... | |
54 | 54 |
} |
55 | 55 |
|
56 | 56 |
public static void initSelectionService() { |
57 |
if(getCurrentSelectionService() != null) { |
|
58 |
logger.info("replacing selection service with new one"); |
|
59 |
} |
|
57 |
// if(getCurrentSelectionService() != null) {
|
|
58 |
// logger.info("replacing selection service with new one");
|
|
59 |
// }
|
|
60 | 60 |
setCurrentAttribute(SelectionService.KEY, new SelectionService()); |
61 | 61 |
} |
62 | 62 |
|
... | ... | |
65 | 65 |
} |
66 | 66 |
|
67 | 67 |
public static void initBasicEventService() { |
68 |
if(getCurrentBasicEventService() != null) { |
|
69 |
logger.info("replacing basic event service with new one"); |
|
70 |
} |
|
68 |
// if(getCurrentBasicEventService() != null) {
|
|
69 |
// logger.info("replacing basic event service with new one");
|
|
70 |
// }
|
|
71 | 71 |
setCurrentAttribute(BasicEventService.KEY, new BasicEventService()); |
72 | 72 |
} |
73 | 73 |
|
Also available in: Unified diff
NewTaxonBaseComposite : add exception handling when name already exists
StatusComposite : added tab sheet with main / excluded tabs
CdmQueryFactory, LeafNodeTaxonContainer : added rank filter for ranks below species aggregate
NewTaxonBasePresenter : added check if name exists
NewTaxonBasePresenterTest (.xml) : corrected data for valid names and added test for name check
CdmVaadinOperation : added method to set exception