public class VersionCommand extends RuleBasedCommand
ATTRIBUTE_RULE
log
CONTINUE_PROCESSING, PROCESSING_COMPLETE
Constructor and Description |
---|
VersionCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
addComment(javax.jcr.Node node) |
protected void |
cleanComment(javax.jcr.Node node) |
boolean |
execute(Context ctx)
This is the actual method to be overridden in descendant classes.
|
String |
getComment() |
boolean |
isRecursive() |
void |
release()
If a clone is passivated we call this method.
|
void |
setComment(String comment) |
void |
setRecursive(boolean recursive) |
getDefaultRule, getItemTypes, getRule, setItemTypes, setRule
getJCRNode, getNode, getPath, getRepository, getUuid, setPath, setRepository, setUuid
clone, execute, isEnabled, setEnabled
public boolean execute(Context ctx) throws Exception
MgnlCommand
execute
in class MgnlCommand
Exception
MgnlCommand.execute(info.magnolia.context.Context)
protected void addComment(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected void cleanComment(javax.jcr.Node node) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public boolean isRecursive()
public void setRecursive(boolean recursive)
public String getComment()
public void setComment(String comment)
public void release()
MgnlCommand
release
in class RuleBasedCommand
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.