info.magnolia.dam.commands
Class MarkAssetFolderAsDeletedCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.commands.impl.BaseRepositoryCommand
info.magnolia.commands.impl.RuleBasedCommand
info.magnolia.commands.impl.MarkNodeAsDeletedCommand
info.magnolia.dam.commands.MarkAssetFolderAsDeletedCommand
- All Implemented Interfaces:
- info.magnolia.commands.chain.Command, Cloneable
public class MarkAssetFolderAsDeletedCommand
- extends info.magnolia.commands.impl.MarkNodeAsDeletedCommand
The command marks the folder as deleted, as well as the assets in it. It has to be created, because mgnl:asset nodetype is not a sub-type of the mgnl:content nodetype used in the standard MarkNodeAsDeletedCommand
.
Fields inherited from class info.magnolia.commands.impl.MarkNodeAsDeletedCommand |
DELETED_NODE_PROP_NAME, DELETED_NODE_TEMPLATE |
Fields inherited from class info.magnolia.commands.impl.RuleBasedCommand |
ATTRIBUTE_RULE |
Fields inherited from class info.magnolia.commands.MgnlCommand |
log |
Fields inherited from interface info.magnolia.commands.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Method Summary |
protected void |
preDeleteNode(javax.jcr.Node node,
info.magnolia.context.Context context)
|
Methods inherited from class info.magnolia.commands.impl.MarkNodeAsDeletedCommand |
execute, isForcePreDelete, isVersionManually, markAsDeleted, purgeContent, setForcePreDelete, setVersionManually, storeDeletionInfo, version |
Methods inherited from class info.magnolia.commands.impl.RuleBasedCommand |
getItemTypes, getRule, release, setItemTypes, setRule |
Methods inherited from class info.magnolia.commands.impl.BaseRepositoryCommand |
getJCRNode, getNode, getPath, getRepository, getUuid, setPath, setRepository, setUuid |
Methods inherited from class info.magnolia.commands.MgnlCommand |
clone, execute, isEnabled, setEnabled |
MarkAssetFolderAsDeletedCommand
public MarkAssetFolderAsDeletedCommand()
preDeleteNode
protected void preDeleteNode(javax.jcr.Node node,
info.magnolia.context.Context context)
throws javax.jcr.RepositoryException
- Overrides:
preDeleteNode
in class info.magnolia.commands.impl.MarkNodeAsDeletedCommand
- Throws:
javax.jcr.RepositoryException
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.