info.magnolia.module.admininterface.commands
Class MessageCommand
java.lang.Object
info.magnolia.commands.MgnlCommand
info.magnolia.module.admininterface.commands.MessageCommand
- All Implemented Interfaces:
- org.apache.commons.chain.Command
public class MessageCommand
- extends MgnlCommand
A command setting a message using the AlertUtil
- Version:
- $Revision:6423 $ ($Author:scharles $)
- Author:
- Philipp Bracher
Fields inherited from interface org.apache.commons.chain.Command |
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageCommand
public MessageCommand()
execute
public boolean execute(Context context)
throws java.lang.Exception
- Specified by:
execute
in class MgnlCommand
- Throws:
java.lang.Exception
- See Also:
MgnlCommand.execute(info.magnolia.context.Context)
getMessage
public java.lang.String getMessage()
- Returns:
- Returns the message.
setMessage
public void setMessage(java.lang.String message)
- Parameters:
message
- The message to set.
getI18nBasename
public java.lang.String getI18nBasename()
- Returns:
- Returns the i18nBasename.
setI18nBasename
public void setI18nBasename(java.lang.String basename)
- Parameters:
basename
- The i18nBasename 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-2011 Magnolia International Ltd.. All Rights Reserved.