info.magnolia.module.admininterface.commands
Class RuleBasedCommand

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
All Implemented Interfaces:
org.apache.commons.chain.Command
Direct Known Subclasses:
BaseActivationCommand, VersionCommand

public abstract class RuleBasedCommand
extends BaseRepositoryCommand

Author:
Sameer Charles $Id: RuleBasedCommand.java 32667 2010-03-13 00:37:06Z gjoseph $

Field Summary
static String ATTRIBUTE_RULE
          You can pass a rule to the command (optional)
 
Fields inherited from class info.magnolia.commands.MgnlCommand
log
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
RuleBasedCommand()
           
 
Method Summary
 String getItemTypes()
           
 info.magnolia.cms.util.Rule getRule()
           
 void release()
           
 void setItemTypes(String nodeTypes)
           
 void setRule(info.magnolia.cms.util.Rule rule)
           
 
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, execute, isClone, isEnabled, setClone, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_RULE

public static final String ATTRIBUTE_RULE
You can pass a rule to the command (optional)

See Also:
Constant Field Values
Constructor Detail

RuleBasedCommand

public RuleBasedCommand()
Method Detail

getRule

public info.magnolia.cms.util.Rule getRule()

getItemTypes

public String getItemTypes()

setItemTypes

public void setItemTypes(String nodeTypes)

setRule

public void setRule(info.magnolia.cms.util.Rule rule)
Parameters:
rule - the Rule to set

release

public void release()
Overrides:
release in class BaseRepositoryCommand


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.