Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / feature / FeatureStoreNotification.java @ 40559

History | View | Annotate | Download (4 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.fmap.dal.feature;
25

    
26
import org.gvsig.fmap.dal.DataSet;
27
import org.gvsig.fmap.dal.DataStoreNotification;
28
import org.gvsig.tools.undo.command.Command;
29

    
30
public interface FeatureStoreNotification extends DataStoreNotification {
31

    
32

    
33

    
34
        public static final String BEFORE_UNDO = "before_Undo_DataStore";
35
        public static final String BEFORE_REDO = "before_Redo_DataStore";
36

    
37
        public static final String AFTER_UNDO = "after_Undo_DataStore";
38
        public static final String AFTER_REDO = "after_Redo_DataStore";
39

    
40
        public static final String BEFORE_REFRESH = "before_refresh";
41
        public static final String AFTER_REFRESH = "after_refresh";
42

    
43
        public static final String LOCKS_CHANGE = "after_LockedChange_DataStore";
44

    
45
        public static final String BEFORE_STARTEDITING = "before_StartEditing_DataStore";
46
        public static final String AFTER_STARTEDITING = "after_StartEditing_DataStore";
47

    
48
        public static final String BEFORE_CANCELEDITING = "before_CancelEditing_DataStore";
49
        public static final String AFTER_CANCELEDITING = "after_CancelEditing_DataStore";
50

    
51
        public static final String BEFORE_FINISHEDITING = "before_FinishEditing_DataStore";
52
        public static final String AFTER_FINISHEDITING = "after_FinishEditing_DataStore";
53

    
54

    
55
        public static final String BEFORE_UPDATE_TYPE = "before_Update_Type";
56
        public static final String AFTER_UPDATE_TYPE = "after_Update_Type";
57

    
58
        public static final String BEFORE_UPDATE = "before_Update_Feature";
59
        public static final String AFTER_UPDATE = "after_Update_Feature";
60

    
61
        public static final String BEFORE_DELETE = "before_Delete_Feature";
62
        public static final String AFTER_DELETE = "after_Delete_Feature";
63

    
64
        public static final String BEFORE_INSERT = "before_Insert_Feature";
65
        public static final String AFTER_INSERT = "after_Insert_Feature";
66

    
67
        public static final String LOAD_FINISHED = "Load_Finished";
68
        public static final String TRANSFORM_CHANGE = "Transform_Change";
69

    
70
    /**
71
     * Notifies about a Feature index filling operation being started. The
72
     * notification object will provide the index object.
73
     */
74
    public static final String INDEX_FILLING_STARTED = "Index_Filling_Started";
75
    /**
76
     * Notifies about a Feature index finished filling successfully. The
77
     * notification object will provide the index object.
78
     */
79
    public static final String INDEX_FILLING_SUCCESS = "Index_Filling_Success";
80
    /**
81
     * Notifies about a Feature index filling operation being cancelled. The
82
     * notification object will provide the index object.
83
     */
84
    public static final String INDEX_FILLING_CANCELLED =
85
        "Index_Filling_Cancelled";
86
    /**
87
     * Notifies about a Feature index finished operation error. The notification
88
     * will provide the source exception.
89
     */
90
    public static final String INDEX_FILLING_ERROR = "Index_Filling_Error";
91

    
92
        public Feature getFeature();
93

    
94
        public DataSet getCollectionResult();
95

    
96
        public boolean loadSucefully();
97

    
98
        public Exception getExceptionLoading();
99

    
100
        public Command getCommand();
101

    
102
        public EditableFeatureType getFeatureType();
103
}