info.magnolia.module.data.commands
Class DataDeleteAllCommand

java.lang.Object
  extended by info.magnolia.commands.MgnlCommand
      extended by info.magnolia.module.admininterface.commands.BaseRepositoryCommand
          extended by info.magnolia.module.admininterface.commands.RuleBasedCommand
              extended by info.magnolia.module.admininterface.commands.BaseActivationCommand
                  extended by info.magnolia.module.data.commands.BaseDataAllCommand
                      extended by info.magnolia.module.data.commands.DataDeleteAllCommand
All Implemented Interfaces:
org.apache.commons.chain.Command

public class DataDeleteAllCommand
extends BaseDataAllCommand

This command will delete all data items of an specified type.

Version:
$Revision$ ($Author$)
Author:
Enrico Kufahl (BeagleSoft GmbH)

Field Summary
 
Fields inherited from class info.magnolia.module.admininterface.commands.BaseActivationCommand
ATTRIBUTE_SYNDICATOR
 
Fields inherited from class info.magnolia.module.admininterface.commands.RuleBasedCommand
ATTRIBUTE_RULE
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
DataDeleteAllCommand()
           
 
Method Summary
protected  void executeNode(info.magnolia.cms.core.Content node)
           
 
Methods inherited from class info.magnolia.module.data.commands.BaseDataAllCommand
collectNodes, execute, getItemType, getNodes, getNodeUUIDs, release, setItemType, setNodes, setNodeUUIDs
 
Methods inherited from class info.magnolia.module.admininterface.commands.BaseActivationCommand
getSyndicator, setSyndicator
 
Methods inherited from class info.magnolia.module.admininterface.commands.RuleBasedCommand
getItemTypes, getRule, setItemTypes, setRule
 
Methods inherited from class info.magnolia.module.admininterface.commands.BaseRepositoryCommand
getNode, getPath, getRepository, getUuid, setPath, setRepository, setUuid
 
Methods inherited from class info.magnolia.commands.MgnlCommand
execute, isClone, isEnabled, setClone, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataDeleteAllCommand

public DataDeleteAllCommand()
Method Detail

executeNode

protected void executeNode(info.magnolia.cms.core.Content node)
                    throws info.magnolia.cms.exchange.ExchangeException,
                           javax.jcr.RepositoryException
Specified by:
executeNode in class BaseDataAllCommand
Throws:
info.magnolia.cms.exchange.ExchangeException
javax.jcr.RepositoryException


Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.