Project

General

Profile

Download (814 Bytes) Statistics
| Branch: | Tag: | Revision:
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.vaadin.mvp;
10

    
11
import com.vaadin.data.fieldgroup.FieldGroup.CommitEvent;
12

    
13
/**
14
 * Usually a notification to a presenter to
15
 * prepare for a save operation by starting a transaction
16
 *
17
 * @author a.kohlbecker
18
 * @since Apr 5, 2017
19
 *
20
 */
21
public class EditorPreSaveEvent {
22

    
23
    private CommitEvent commitEvent;
24

    
25
    /**
26
     * @param commitEvent
27
     */
28
    public EditorPreSaveEvent(CommitEvent commitEvent) {
29
        this.commitEvent = commitEvent;
30
    }
31

    
32
    public CommitEvent getCommitEvent(){
33
        return commitEvent;
34
    }
35

    
36
}
(9-9/10)