info.magnolia.commands.impl
Class DeleteCommand

java.lang.Object
  extended by info.magnolia.commands.MgnlCommand
      extended by info.magnolia.commands.impl.BaseRepositoryCommand
          extended by 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.


Field Summary
 
Fields inherited from interface info.magnolia.commands.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
DeleteCommand()
           
 
Method Summary
 boolean execute(Context ctx)
          This is the actual method to be overridden in descendant classes.
 
Methods inherited from class info.magnolia.commands.impl.BaseRepositoryCommand
copy, getJCRNode, getNode, getPath, getRepository, getUuid, release, setPath, setRepository, setUuid
 
Methods inherited from class info.magnolia.commands.MgnlCommand
execute, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteCommand

public DeleteCommand()
Method Detail

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.