Package | Description |
---|---|
info.magnolia.cms.servlets | |
info.magnolia.commands | |
info.magnolia.commands.chain | |
info.magnolia.commands.impl | |
info.magnolia.importexport.command | |
info.magnolia.module.delta |
Modifier and Type | Method and Description |
---|---|
protected Command |
CommandBasedMVCServletHandler.findCommand(String commandName)
Deprecated.
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.
NOTE: CommandsManager clone the command instances by standard Java cloning mechanism. |
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 .In case Item is a Node , all the Node children are removed. |
class |
ExportCommand
Deprecated.
since 5.4.4. Use
JcrExportCommand instead. |
class |
ExtractCommentCommand
Extracts comment from the resource and put it in the context.
|
class |
ImportCommand
Deprecated.
since 5.4.4. Use
JcrImportCommand instead. |
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.
Context parameter: DELETED_NODE_PROP_NAME : Node name to delete. Context.ATTRIBUTE_UUID : Identifier of the parent node. Context.ATTRIBUTE_PATH : Path of the parent node |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
JcrExportCommand
Command for exporting from a JCR workspace.
|
class |
JcrImportCommand
Import command with YAML format support.
|
Constructor and Description |
---|
ExecuteCommandTask(String taskName,
String taskDescription,
Class<? extends Command> commandClass,
Object... params)
Constructor.
|
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.