Class LCommandCategorySelect
java.lang.Object
com.io7m.laurel.filemodel.internal.LCommandAbstract<Optional<LCategoryID>>
com.io7m.laurel.filemodel.internal.LCommandCategorySelect
- All Implemented Interfaces:
LCommandType<Optional<LCategoryID>>
Select a category.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()protected LCommandUndoableonExecute(LFileModel model, LDatabaseTransactionType transaction, Optional<LCategoryID> request) protected voidonRedo(LFileModel model, LDatabaseTransactionType transaction) protected voidonUndo(LFileModel model, LDatabaseTransactionType transaction) static LCommandFactoryType<Optional<LCategoryID>> 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
-
LCommandCategorySelect
public LCommandCategorySelect()Select a category.
-
-
Method Details
-
provider
- Returns:
- A command factory
-
onExecute
protected LCommandUndoable onExecute(LFileModel model, LDatabaseTransactionType transaction, Optional<LCategoryID> request) - Specified by:
onExecutein classLCommandAbstract<Optional<LCategoryID>>
-
onUndo
- Specified by:
onUndoin classLCommandAbstract<Optional<LCategoryID>>
-
onRedo
- Specified by:
onRedoin classLCommandAbstract<Optional<LCategoryID>>
-
toProperties
- Returns:
- The command as a set of properties
-
describe
- Returns:
- A humanly-readable description of the operation
-