Project

General

Profile

Revision 97a7cfe2

ID97a7cfe2ccb5ab6b7fd73fe55b53e29fc3424122
Parent c43b6a2e
Child 16510d70

Added by Andreas Müller over 3 years ago

cleanup

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/util/DistributionEditorUtil.java
36 36

  
37 37
    public static final String SEPARATOR = ";;";
38 38

  
39
    public static final boolean INCLUDE_UNPUBLISHED = true;
40

  
39 41
    /**
40
     * Updates the vaadin session attributes related to the chosen 
42
     * Updates the vaadin session attributes related to the chosen
41 43
     * {@link TaxonNode}s, {@link NamedArea}s and {@link Classification}
42 44
     * and refreshes the given {@code distributionStatusTableView}.
43 45
     * @param distributionTableView The view to refresh after updating the session variables.
......
56 58
	}
57 59

  
58 60
    /**
59
     * Clears the session attributes related to the chosen 
61
     * Clears the session attributes related to the chosen
60 62
     * {@link TaxonNode}s, {@link TermVocabulary} of {@link NamedArea}s,
61 63
     * {@link NamedArea}s and {@link Classification}.
62 64
     */
src/main/java/eu/etaxonomy/cdm/vaadin/util/DistributionStatusQuery.java
40 40
/**
41 41
 * A {@link Query} for populating a {@link LazyQueryContainer} with distribution status data.
42 42
 * Currently unused.
43
 * 
43
 *
44 44
 * @author freimeier
45 45
 * @since 16.11.2017
46 46
 */
......
73 73
    }
74 74

  
75 75
    /**
76
     * 
76
     *
77 77
     * {@inheritDoc}
78 78
     */
79 79
    @Override
80 80
    public Item constructItem() {
81 81
        return null;
82 82
    }
83
    
83

  
84 84
   /**
85
    * 
85
    *
86 86
    * {@inheritDoc}
87 87
    */
88 88
    @Override
......
91 91
    }
92 92

  
93 93
	/**
94
	 * 
94
	 *
95 95
	 * {@inheritDoc}
96 96
	 */
97 97
    @Override
......
120 120
    }
121 121

  
122 122
    /**
123
     * 
123
     *
124 124
     * {@inheritDoc}
125 125
     */
126 126
    @Override
......
138 138
    }
139 139

  
140 140
    /**
141
     * 
141
     *
142 142
     * {@inheritDoc}
143 143
     */
144 144
    @Override
src/main/java/eu/etaxonomy/cdm/vaadin/util/SQLUtils.java
25 25
 */
26 26
public class SQLUtils {
27 27

  
28
    @SuppressWarnings("unused")
28 29
    private static final Logger logger = Logger.getLogger(SQLUtils.class);
29 30

  
30 31
    public static String correctCase(final String databaseIdentifier, DatabaseMetaData databaseMetaData) throws SQLException
src/main/java/eu/etaxonomy/cdm/vaadin/view/distributionStatus/DistributionTablePresenter.java
320 320
	 * and their children.
321 321
	 */
322 322
	private List<TaxonNode> getAllNodes(){
323
	    boolean includeUnpublished = true;
323
	    boolean includeUnpublished = DistributionEditorUtil.INCLUDE_UNPUBLISHED;
324 324

  
325 325
	    List<TaxonNode> allNodes = new ArrayList<>();
326 326

  
src/main/java/eu/etaxonomy/cdm/vaadin/view/distributionStatus/DistributionTableViewBean.java
57 57
import eu.etaxonomy.cdm.vaadin.util.CdmQueryFactory;
58 58
import eu.etaxonomy.cdm.vaadin.util.CdmSpringContextHelper;
59 59
import eu.etaxonomy.cdm.vaadin.util.DistributionEditorUtil;
60
import eu.etaxonomy.cdm.vaadin.util.DistributionStatusQuery;
61 60
import eu.etaxonomy.cdm.vaadin.view.AbstractPageView;
62 61

  
63 62
/**
64 63
 * The main view of the distribution status editor.
65
 * 
64
 *
66 65
 * @author freimeier
67 66
 * @since 18.10.2017
68 67
 *

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)