public class FeatureInsertCommand extends AbstractFeatureCommand
feature, featureStoreDELETE, INSERT, UPDATE| Constructor and Description |
|---|
FeatureInsertCommand(DefaultFeatureStore featureStore,
Feature feature,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
int |
getType()
Returns the type of action related to data: insertion, deletion or
update.
|
void |
undo()
Undoes the following undoable command.
|
getFeature, redogetDate, getDescription, toString, updateDatepublic FeatureInsertCommand(DefaultFeatureStore featureStore, Feature feature, java.lang.String description)
public void undo()
throws UndoException
CommandUndoException - if there is an error performing de undo actionpublic int getType()
UndoRedoInfogetType in interface UndoRedoInfogetType in class AbstractFeatureCommandpublic void execute()
throws DataException
execute in class AbstractFeatureCommandDataException