Class LCommandImagesDelete
java.lang.Object
com.io7m.laurel.filemodel.internal.LCommandAbstract<List<LImageID>>
com.io7m.laurel.filemodel.internal.LCommandImagesDelete
- All Implemented Interfaces:
LCommandType<List<LImageID>>
Add images.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()protected LCommandUndoableonExecute(LFileModel model, LDatabaseTransactionType transaction, List<LImageID> requests) protected voidonRedo(LFileModel model, LDatabaseTransactionType transaction) protected voidonUndo(LFileModel model, LDatabaseTransactionType transaction) static LCommandFactoryType<List<LImageID>> provider()Methods inherited from class LCommandAbstract
execute, isExecuted, redo, setExecuted, undoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LCommandType
loading, requiresCompaction, serialize
-
Constructor Details
-
LCommandImagesDelete
public LCommandImagesDelete()Add images.
-
-
Method Details
-
provider
- Returns:
- A command factory
-
onExecute
protected LCommandUndoable onExecute(LFileModel model, LDatabaseTransactionType transaction, List<LImageID> requests) throws LException - Specified by:
onExecutein classLCommandAbstract<List<LImageID>>- Throws:
LException
-
onUndo
- Specified by:
onUndoin classLCommandAbstract<List<LImageID>>
-
onRedo
- Specified by:
onRedoin classLCommandAbstract<List<LImageID>>
-
toProperties
- Returns:
- The command as a set of properties
-
describe
- Returns:
- A humanly-readable description of the operation
-