info.magnolia.commands.impl
Class DeleteCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.commands.impl.BaseRepositoryCommand
info.magnolia.commands.impl.DeleteCommand
- All Implemented Interfaces:
- Command
public class DeleteCommand
- extends BaseRepositoryCommand
The command to delete one Item
.
In case Item
is a Node
, all the Node children are removed.
Method Summary |
boolean |
execute(Context ctx)
This is the actual method to be overridden in descendant classes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteCommand
public DeleteCommand()
execute
public boolean execute(Context ctx)
throws Exception
- Description copied from class:
MgnlCommand
- This is the actual method to be overridden in descendant classes.
- Specified by:
execute
in class MgnlCommand
- Throws:
Exception
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.