public abstract class DeleteSchemaDefinitionCommand extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
String |
_definitionName |
Object |
_oldDefinition |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doDeleteSchemaDefinition(Document document)
Deletes the schema definition.
|
protected abstract void |
doRestoreSchemaDefinition(Document document,
Object oldDefinition)
Restores the schema definition previously deleted.
|
void |
execute(Document document)
Called to execute the command against the given document.
|
void |
undo(Document document)
Called to undo the command (restore the document to a previous state).
|
isNullOrUndefined, type
public String _definitionName
public Object _oldDefinition
public void execute(Document document)
ICommand
public void undo(Document document)
ICommand
protected abstract Object doDeleteSchemaDefinition(Document document)
Copyright © 2020 Red Hat. All rights reserved.