Class FeatureDeleteCommand
java.lang.Object
org.gvsig.tools.undo.command.impl.AbstractCommand
org.gvsig.fmap.dal.feature.impl.undo.command.AbstractFeatureCommand
org.gvsig.fmap.dal.feature.impl.undo.command.FeatureDeleteCommand
- All Implemented Interfaces:
org.gvsig.tools.undo.command.Command,org.gvsig.tools.undo.UndoRedoInfo
DOCUMENT ME!
- Author:
- Vicente Caballero Navarro
-
Field Summary
Fields inherited from class org.gvsig.fmap.dal.feature.impl.undo.command.AbstractFeatureCommand
feature, featureStoreFields inherited from interface org.gvsig.tools.undo.UndoRedoInfo
DELETE, INSERT, UPDATE -
Constructor Summary
ConstructorsConstructorDescriptionFeatureDeleteCommand(DefaultFeatureStore featureStore, org.gvsig.fmap.dal.feature.Feature feature, String description) -
Method Summary
Methods inherited from class org.gvsig.fmap.dal.feature.impl.undo.command.AbstractFeatureCommand
getFeatureMethods inherited from class org.gvsig.tools.undo.command.impl.AbstractCommand
getDate, getDescription, toString, updateDate
-
Constructor Details
-
FeatureDeleteCommand
public FeatureDeleteCommand(DefaultFeatureStore featureStore, org.gvsig.fmap.dal.feature.Feature feature, String description)
-
-
Method Details
-
undo
public void undo() throws org.gvsig.tools.undo.UndoException- Throws:
org.gvsig.tools.undo.UndoException
-
redo
public void redo() throws org.gvsig.tools.undo.RedoException- Specified by:
redoin interfaceorg.gvsig.tools.undo.command.Command- Overrides:
redoin classAbstractFeatureCommand- Throws:
org.gvsig.tools.undo.RedoException
-
getType
public int getType()- Specified by:
getTypein interfaceorg.gvsig.tools.undo.UndoRedoInfo- Overrides:
getTypein classAbstractFeatureCommand
-
execute
public void execute() throws org.gvsig.fmap.dal.exception.DataException- Specified by:
executein classAbstractFeatureCommand- Throws:
org.gvsig.fmap.dal.exception.DataException
-