info.magnolia.module.admininterface.commands
Class MarkNodeAsDeletedCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.module.admininterface.commands.BaseRepositoryCommand
info.magnolia.module.admininterface.commands.MarkNodeAsDeletedCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class MarkNodeAsDeletedCommand
- extends BaseRepositoryCommand
Fields inherited from class info.magnolia.commands.MgnlCommand |
log |
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
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 |
DELETED_NODE_TEMPLATE
public static final String DELETED_NODE_TEMPLATE
- See Also:
- Constant Field Values
DELETED_NODE_DELETED_BY
public static final String DELETED_NODE_DELETED_BY
- See Also:
- Constant Field Values
DELETED_NODE_DELETED_ON
public static final String DELETED_NODE_DELETED_ON
- See Also:
- Constant Field Values
MarkNodeAsDeletedCommand
public MarkNodeAsDeletedCommand()
execute
public boolean execute(info.magnolia.context.Context context)
throws Exception
- Specified by:
execute
in class info.magnolia.commands.MgnlCommand
- Throws:
Exception
markAsDeleted
protected void markAsDeleted(info.magnolia.cms.core.Content node)
throws javax.jcr.RepositoryException,
info.magnolia.cms.security.AccessDeniedException
- Throws:
javax.jcr.RepositoryException
info.magnolia.cms.security.AccessDeniedException
purgeContent
protected void purgeContent(info.magnolia.cms.core.Content node)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
isVersionManually
public boolean isVersionManually()
setVersionManually
public void setVersionManually(boolean versionManually)
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.