Package | Description |
---|---|
info.magnolia.cms.servlets | |
info.magnolia.commands | |
info.magnolia.commands.chain | |
info.magnolia.commands.impl | |
info.magnolia.module.delta |
Modifier and Type | Method and Description |
---|---|
protected Command |
CommandBasedMVCServletHandler.findCommand(String commandName)
Used to get the command object.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegateCommand
Delegate to an other command at runtime.
|
class |
ExportJcrNodeToYamlCommand
Converts and exports a JCR sub-tree into to Yaml file.
|
class |
MgnlCommand
To make the coding of commands as easy as possible the default values set in
the config are set and the values of the context are set as properties too if
the naming matches.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Command> |
MgnlCatalog.commands |
Modifier and Type | Method and Description |
---|---|
Command |
MgnlCommand.clone() |
Command |
DelegateCommand.clone() |
Command |
MgnlCatalog.getCommand(String name) |
Command |
CommandsManager.getCommand(String commandName)
Use a delimiter to separate the catalog and command name.
|
Command |
CommandsManager.getCommand(String catalogName,
String commandName)
Get the command.
|
Modifier and Type | Method and Description |
---|---|
void |
MgnlCatalog.addCommand(String name,
Command command) |
boolean |
CommandsManager.executeCommand(Command command,
Map<String,Object> params)
Executes the given command with the given parameters.
|
boolean |
CommandsManager.executeCommand(Command command,
Map<String,Object> params,
Context context)
Executes the given command with given context.
|
Constructor and Description |
---|
MgnlCatalog(Map<String,Command> commands) |
Modifier and Type | Interface and Description |
---|---|
interface |
Chain
Replacement for org.apache.commons.chain.Chain.
|
interface |
Filter
A replacement for org.apache.commons.chain.Filter.
|
Modifier and Type | Class and Description |
---|---|
class |
ChainBase
Replacement for org.apache.commons.chain.impl.ChainBase.
|
Modifier and Type | Field and Description |
---|---|
protected List<Command> |
ChainBase.commands |
Modifier and Type | Method and Description |
---|---|
Command |
Command.clone()
This method allows to create new clone of a command, so the instances in
the CommandManager's catalogs are masters, and the execution always uses
clone created by this method.
|
Command |
ChainBase.clone() |
Command |
Catalog.getCommand(String name) |
Modifier and Type | Method and Description |
---|---|
List<Command> |
ChainBase.getCommands()
Returns unmodifiable list of commands.
|
Modifier and Type | Method and Description |
---|---|
void |
ChainBase.addCommand(Command command) |
void |
Chain.addCommand(Command command) |
void |
Catalog.addCommand(String name,
Command command) |
Constructor and Description |
---|
ChainBase(Command... commands) |
ChainBase(Command command) |
Constructor and Description |
---|
ChainBase(Collection<Command> commands) |
Modifier and Type | Class and Description |
---|---|
class |
BaseRepositoryCommand
Base class for the commands that work with the repository.
|
class |
DeleteCommand
The command to delete one
Item . |
class |
ExportCommand
Generic Export Command.
|
class |
ExtractCommentCommand
Extracts comment from the resource and put it in the context.
|
class |
ImportCommand
Generic Import Command.
|
class |
LogCommand
Command outputting the value of "message" property into current log file.
|
class |
MarkNodeAsDeletedCommand
Command to mark node as deleted and remove all the non-system content.
|
class |
MessageCommand
A command setting a message using the AlertUtil.
|
class |
RestorePreviousVersionCommand
Command to restore a node and all its descendants to their previous version.
|
class |
RuleBasedCommand
Base class for rule based commands.
|
class |
VersionCommand
Creates a version for the passed path in the website repository.
|
Constructor and Description |
---|
ExecuteCommandTask(String taskName,
String taskDescription,
Class<? extends Command> commandClass,
Object... params)
Constructor.
|
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.