info.magnolia.module.admininterface.commands
Class BaseRepositoryCommand

java.lang.Object
  extended by info.magnolia.commands.MgnlCommand
      extended by info.magnolia.module.admininterface.commands.BaseRepositoryCommand
All Implemented Interfaces:
org.apache.commons.chain.Command
Direct Known Subclasses:
DeactivationCommand, DeleteCommand, MarkNodeAsDeletedCommand, RuleBasedCommand

public abstract class BaseRepositoryCommand
extends info.magnolia.commands.MgnlCommand


Field Summary
 
Fields inherited from class info.magnolia.commands.MgnlCommand
log
 
Fields inherited from interface org.apache.commons.chain.Command
CONTINUE_PROCESSING, PROCESSING_COMPLETE
 
Constructor Summary
BaseRepositoryCommand()
           
 
Method Summary
protected  info.magnolia.cms.core.Content getNode(info.magnolia.context.Context ctx)
           
 java.lang.String getPath()
           
 java.lang.String getRepository()
           
 java.lang.String getUuid()
           
 void release()
           
 void setPath(java.lang.String path)
           
 void setRepository(java.lang.String repository)
           
 void setUuid(java.lang.String uuid)
           
 
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
 

Constructor Detail

BaseRepositoryCommand

public BaseRepositoryCommand()
Method Detail

getNode

protected info.magnolia.cms.core.Content getNode(info.magnolia.context.Context ctx)
                                          throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getRepository

public java.lang.String getRepository()
Returns:
the repository

setRepository

public void setRepository(java.lang.String repository)
Parameters:
repository - the repository to set

getPath

public java.lang.String getPath()
Returns:
the path

setPath

public void setPath(java.lang.String path)
Parameters:
path - the path to set

getUuid

public java.lang.String getUuid()
Returns:
the uuid

setUuid

public void setUuid(java.lang.String uuid)
Parameters:
uuid - the uuid to set

release

public void release()
Overrides:
release in class info.magnolia.commands.MgnlCommand


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