Revision 44871 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.spi/src/main/java/org/gvsig/fmap/dal/feature/spi/FeatureStoreProviderServices.java

View differences:

FeatureStoreProviderServices.java
50 50
	 * Call this to send a notification to observers of this store
51 51
	 *
52 52
	 * @param notification
53
   * @return 
53 54
	 */
54
	public void notifyChange(String notification);
55
	public FeatureStoreNotification notifyChange(String notification);
55 56

  
56 57
	/**
57 58
	 * Call this to send a notification to observers of this store
58 59
	 * 
59 60
	 * @param notification
61
   * @param data
62
   * @return 
60 63
	 */
61
	public void notifyChange(String notification, FeatureProvider data);
64
	public FeatureStoreNotification notifyChange(String notification, FeatureProvider data);
62 65

  
63 66
	/**
64 67
	 * Call this to send a notification to observers of this store
65 68
	 * 
66
	 * @param notification
69
   * @param storeNotification
70
   * @return 
67 71
	 */
68
	public void notifyChange(FeatureStoreNotification storeNotification);
72
	public FeatureStoreNotification notifyChange(FeatureStoreNotification storeNotification);
69 73

  
70 74
	/**
71 75
	 * Call this to send a notification to observers of this store relative to
72 76
	 * Resources
73 77
	 * 
74 78
	 * @param notification
79
   * @param resource
80
   * @return 
75 81
	 */
76
	public void notifyChange(String notification, Resource resource);
82
	public FeatureStoreNotification notifyChange(String notification, Resource resource);
77 83

  
78 84
	/**
79 85
	 * Create a new instance of default implementation of a
......
88 94
	/**
89 95
	 * Create a new instance of default implementation of a {@link FeatureProvider}
90 96
	 *
97
   * @param type
91 98
	 * @return new {@link FeatureProvider}
92 99
	 * @throws DataException
93 100
	 */
......
100 107
	 * <strong>Note:</strong> <code>defaultType</code> must be in
101 108
	 * <code>types</code>
102 109
	 *
103
	 * @param list
104
	 *            of all {@link FeatureType} available
105
	 * @param {@link FeatureType} used in
106
	 *        {@link FeatureStore#getDefaultFeatureType()}
110
	 * @param types, list of all {@link FeatureType} available
111
   * @param defaultType, {@link FeatureType} used in {@link FeatureStore#getDefaultFeatureType()}
107 112
	 */
108 113
	public void setFeatureTypes(List types, FeatureType defaultType);
109 114

  
......
139 144
	public EditableFeatureType createFeatureType();
140 145

  
141 146
	/**
142
	 * Creates a new instance of EditableFeatureType. Uses 'id' as identifier.
147
	 * Creates a new instance of EditableFeatureType.Uses 'id' as identifier.
143 148
	 *
149
   * @param id
144 150
	 * @return
145 151
	 */
146 152
	public EditableFeatureType createFeatureType(String id);
......
156 162
	/**
157 163
	 * Return original {@link FeatureType} of {@link FeatureStoreProvider}.
158 164
	 *
159
	 * @param id
160
	 *            of the {@link FeatureType}
165
	 * @param featureTypeId, of the {@link FeatureType}
161 166
	 * @return
162
	 * @throws DataException
163 167
	 */
164 168
	public FeatureType getProviderFeatureType(String featureTypeId);
165 169

  
......
189 193
	 * Return default {@link FeatureType} of the store
190 194
	 *
191 195
	 * @return
196
   * @throws org.gvsig.fmap.dal.exception.DataException
192 197
	 */
193 198
	public FeatureType getDefaultFeatureType() throws DataException;
194 199
        
195
        public List getFeatureTypes() throws DataException;
200
  public List getFeatureTypes() throws DataException;
196 201

  
197 202
}

Also available in: Unified diff