net.sourceforge.openutils.mgnlmedia.media.commands
Class MediaActivationCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.module.admininterface.commands.BaseRepositoryCommand
info.magnolia.module.admininterface.commands.RuleBasedCommand
info.magnolia.module.admininterface.commands.BaseActivationCommand
info.magnolia.module.admininterface.commands.ActivationCommand
net.sourceforge.openutils.mgnlmedia.media.commands.MediaActivationCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class MediaActivationCommand
- extends info.magnolia.module.admininterface.commands.ActivationCommand
Overrides default activation, and doesn't publish resolutions node
- Version:
- $Id: MediaActivationCommand.java 2374 2010-05-09 17:15:31Z fgiust $
- Author:
- molaschi
| 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 |
| Methods inherited from class info.magnolia.module.admininterface.commands.ActivationCommand |
activateRecursive, getOrderingInfo, getVersion, getVersionMap, isRecursive, release, setRecursive, setVersion, setVersionMap |
| 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 |
MediaActivationCommand
public MediaActivationCommand()
execute
public boolean execute(info.magnolia.context.Context ctx)
-
- Overrides:
execute in class info.magnolia.module.admininterface.commands.ActivationCommand
activateRecursiveOneLevel
public void activateRecursiveOneLevel(String parentPath,
info.magnolia.cms.core.Content node)
throws javax.jcr.RepositoryException,
info.magnolia.cms.exchange.ExchangeException
- Activate recursive one level
- Parameters:
parentPath - parent nodenode - node to activate
- Throws:
javax.jcr.RepositoryException - exception
info.magnolia.cms.exchange.ExchangeException - exception exchanging node
activateSingleNode
protected void activateSingleNode(String parentPath,
info.magnolia.cms.core.Content node)
throws javax.jcr.RepositoryException,
info.magnolia.cms.exchange.ExchangeException
- Parameters:
parentPath - node -
- Throws:
javax.jcr.RepositoryException
info.magnolia.cms.exchange.ExchangeException
activateRecursive
protected void activateRecursive(String parentPath,
info.magnolia.cms.core.Content node,
info.magnolia.context.Context ctx)
throws info.magnolia.cms.exchange.ExchangeException,
javax.jcr.RepositoryException
-
- Overrides:
activateRecursive in class info.magnolia.module.admininterface.commands.ActivationCommand
- Throws:
info.magnolia.cms.exchange.ExchangeException
javax.jcr.RepositoryException
Copyright © 2008-2010 Openmind. All Rights Reserved.