info.magnolia.commands.impl
Class BaseRepositoryCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.commands.impl.BaseRepositoryCommand
- All Implemented Interfaces:
- Command, Cloneable
- Direct Known Subclasses:
- DeleteCommand, ExportCommand, ExtractCommentCommand, RuleBasedCommand
public abstract class BaseRepositoryCommand
- extends MgnlCommand
Base class for the commands that work with the repository.
BaseRepositoryCommand
public BaseRepositoryCommand()
getNode
@Deprecated
protected Content getNode(Context ctx)
throws javax.jcr.RepositoryException
- Deprecated. since 4.5.7 use
getJCRNode(Context)
instead
- Throws:
javax.jcr.RepositoryException
getJCRNode
protected javax.jcr.Node getJCRNode(Context ctx)
throws javax.jcr.RepositoryException
- Retrieve the Node.
- Throws:
javax.jcr.RepositoryException
getRepository
public String getRepository()
- Returns:
- the repository
setRepository
public void setRepository(String repository)
- Parameters:
repository
- the repository to set
getPath
public String getPath()
- Returns:
- the path
setPath
public void setPath(String path)
- Parameters:
path
- the path to set
getUuid
public String getUuid()
- Returns:
- the uuid
setUuid
public void setUuid(String uuid)
- Parameters:
uuid
- the uuid to set
release
public void release()
- Description copied from class:
MgnlCommand
- If a clone is passivated we call this method. Please clean up private
properties.
- Overrides:
release
in class MgnlCommand
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.