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 @ 40435
History | View | Annotate | Download (3.04 KB)
1 | 40435 | jjdelcerro | package org.gvsig.fmap.dal.feature; |
---|---|---|---|
2 | |||
3 | import org.gvsig.fmap.dal.DataSet; |
||
4 | import org.gvsig.fmap.dal.DataStoreNotification; |
||
5 | import org.gvsig.tools.undo.command.Command; |
||
6 | |||
7 | public interface FeatureStoreNotification extends DataStoreNotification { |
||
8 | |||
9 | |||
10 | |||
11 | public static final String BEFORE_UNDO = "before_Undo_DataStore"; |
||
12 | public static final String BEFORE_REDO = "before_Redo_DataStore"; |
||
13 | |||
14 | public static final String AFTER_UNDO = "after_Undo_DataStore"; |
||
15 | public static final String AFTER_REDO = "after_Redo_DataStore"; |
||
16 | |||
17 | public static final String BEFORE_REFRESH = "before_refresh"; |
||
18 | public static final String AFTER_REFRESH = "after_refresh"; |
||
19 | |||
20 | public static final String LOCKS_CHANGE = "after_LockedChange_DataStore"; |
||
21 | |||
22 | public static final String BEFORE_STARTEDITING = "before_StartEditing_DataStore"; |
||
23 | public static final String AFTER_STARTEDITING = "after_StartEditing_DataStore"; |
||
24 | |||
25 | public static final String BEFORE_CANCELEDITING = "before_CancelEditing_DataStore"; |
||
26 | public static final String AFTER_CANCELEDITING = "after_CancelEditing_DataStore"; |
||
27 | |||
28 | public static final String BEFORE_FINISHEDITING = "before_FinishEditing_DataStore"; |
||
29 | public static final String AFTER_FINISHEDITING = "after_FinishEditing_DataStore"; |
||
30 | |||
31 | |||
32 | public static final String BEFORE_UPDATE_TYPE = "before_Update_Type"; |
||
33 | public static final String AFTER_UPDATE_TYPE = "after_Update_Type"; |
||
34 | |||
35 | public static final String BEFORE_UPDATE = "before_Update_Feature"; |
||
36 | public static final String AFTER_UPDATE = "after_Update_Feature"; |
||
37 | |||
38 | public static final String BEFORE_DELETE = "before_Delete_Feature"; |
||
39 | public static final String AFTER_DELETE = "after_Delete_Feature"; |
||
40 | |||
41 | public static final String BEFORE_INSERT = "before_Insert_Feature"; |
||
42 | public static final String AFTER_INSERT = "after_Insert_Feature"; |
||
43 | |||
44 | public static final String LOAD_FINISHED = "Load_Finished"; |
||
45 | public static final String TRANSFORM_CHANGE = "Transform_Change"; |
||
46 | |||
47 | /**
|
||
48 | * Notifies about a Feature index filling operation being started. The
|
||
49 | * notification object will provide the index object.
|
||
50 | */
|
||
51 | public static final String INDEX_FILLING_STARTED = "Index_Filling_Started"; |
||
52 | /**
|
||
53 | * Notifies about a Feature index finished filling successfully. The
|
||
54 | * notification object will provide the index object.
|
||
55 | */
|
||
56 | public static final String INDEX_FILLING_SUCCESS = "Index_Filling_Success"; |
||
57 | /**
|
||
58 | * Notifies about a Feature index filling operation being cancelled. The
|
||
59 | * notification object will provide the index object.
|
||
60 | */
|
||
61 | public static final String INDEX_FILLING_CANCELLED = |
||
62 | "Index_Filling_Cancelled";
|
||
63 | /**
|
||
64 | * Notifies about a Feature index finished operation error. The notification
|
||
65 | * will provide the source exception.
|
||
66 | */
|
||
67 | public static final String INDEX_FILLING_ERROR = "Index_Filling_Error"; |
||
68 | |||
69 | public Feature getFeature();
|
||
70 | |||
71 | public DataSet getCollectionResult();
|
||
72 | |||
73 | public boolean loadSucefully(); |
||
74 | |||
75 | public Exception getExceptionLoading(); |
||
76 | |||
77 | public Command getCommand();
|
||
78 | |||
79 | public EditableFeatureType getFeatureType();
|
||
80 | } |