ref #7833 registration start view only shows references for which the user has permis...
[cdm-vaadin.git] / src / main / java / eu / etaxonomy / cdm / vaadin / view / AnnotationsEditor.java
1 /**
2 * Copyright (C) 2018 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;
10
11 import eu.etaxonomy.cdm.model.common.AnnotationType;
12 import eu.etaxonomy.cdm.vaadin.component.common.FilterableAnnotationsField;
13
14 /**
15 * @author a.kohlbecker
16 * @since Jun 25, 2018
17 *
18 */
19 public interface AnnotationsEditor {
20
21 /**
22 *
23 * @return the EDITABLE_ANOTATION_TYPES
24 */
25 public AnnotationType[] getEditableAnotationTypes();
26
27 /**
28 *
29 * @param EDITABLE_ANOTATION_TYPES the EDITABLE_ANOTATION_TYPES to set
30 */
31 public void setEditableAnotationTypes(AnnotationType... editableAnotationTypes);
32
33 /**
34 * @return
35 */
36 public FilterableAnnotationsField getAnnotationsField();
37
38 }