1 |
5dd8e8b0
|
Andreas Müller
|
// $Id$
|
2 |
|
|
/**
|
3 |
|
|
* Copyright (C) 2007 EDIT
|
4 |
|
|
* European Distributed Institute of Taxonomy
|
5 |
|
|
* http://www.e-taxonomy.eu
|
6 |
|
|
*
|
7 |
|
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8 |
|
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9 |
|
|
*/
|
10 |
|
|
|
11 |
|
|
package eu.etaxonomy.cdm.io.berlinModel.in.validation;
|
12 |
|
|
|
13 |
|
|
import org.apache.log4j.Logger;
|
14 |
|
|
|
15 |
|
|
import eu.etaxonomy.cdm.io.berlinModel.in.BerlinModelImportState;
|
16 |
|
|
import eu.etaxonomy.cdm.io.common.IOValidator;
|
17 |
|
|
|
18 |
|
|
/**
|
19 |
|
|
* @author a.mueller
|
20 |
|
|
* @created 17.02.2010
|
21 |
|
|
*/
|
22 |
|
|
public class BerlinModelUserImportValidator implements IOValidator<BerlinModelImportState> {
|
23 |
|
|
@SuppressWarnings("unused")
|
24 |
|
|
private static final Logger logger = Logger.getLogger(BerlinModelUserImportValidator.class);
|
25 |
|
|
|
26 |
|
|
@Override
|
27 |
|
|
public boolean validate(BerlinModelImportState state) {
|
28 |
|
|
boolean result = true;
|
29 |
|
|
System.out.println("Checking for users not yet implemented");
|
30 |
|
|
//result &= checkArticlesWithoutJournal(bmiConfig);
|
31 |
|
|
//result &= checkPartOfJournal(bmiConfig);
|
32 |
|
|
|
33 |
|
|
return result;
|
34 |
|
|
}
|
35 |
|
|
|
36 |
|
|
}
|