info.magnolia.module.data.commands
Class DataActivateAllCommand

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.DataActivateAllCommand
All Implemented Interfaces:
org.apache.commons.chain.Command

public class DataActivateAllCommand
extends BaseDataAllCommand

This command will activate 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
DataActivateAllCommand()
           
 
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

DataActivateAllCommand

public DataActivateAllCommand()
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.