com.ibm.commerce.negotiation.commands
Class CreateForumMessageCmdImpl

com.ibm.commerce.negotiation.commands.CreateForumMessageCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, CreateForumMessageCmd, ECCommand, Protectable, ToolsControllerCommand

public class CreateForumMessageCmdImpl
implements CreateForumMessageCmd

Creates a message from an administrator in a discussion forum.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.negotiation.commands.CreateForumMessageCmd
defaultCommandClassName, NAME
 
Constructor Summary
CreateForumMessageCmdImpl()
          CreateDiscussionMessageCmdImpl constructor.
 
Method Summary
protected  java.lang.String getErrorText()
          Returns the text of the error.
 java.lang.String getUrl()
          Returns the URL.
protected  boolean isParameterError()
          Returns the value of the parameterError flag.
 boolean isReadyToCallExecute()
          Verifies that the this command is ready to be executed.
 void performExecute()
          Creates a discussion forum message for an administrator.
protected  void setErrorText(java.lang.String newErrorText)
          Stores the incoming error text.
protected  void setParameterError(boolean newParameterError)
          Stores the incoming value of the error flag.
 void setRequestProperties(TypedProperty param)
          setRequestProperties Copies key-value input data into member fields.
 void setUrl(java.lang.String newUrl)
          setUrl Setter method.
protected  void setXmlHash(java.util.Hashtable newXmlHash)
          Setter method.
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

CreateForumMessageCmdImpl

public CreateForumMessageCmdImpl()
CreateDiscussionMessageCmdImpl constructor.
Method Detail

getErrorText

protected java.lang.String getErrorText()
Returns the text of the error.
Returns:
java.lang.String

getUrl

public java.lang.String getUrl()
Returns the URL.
Returns:
java.lang.String

isParameterError

protected boolean isParameterError()
Returns the value of the parameterError flag.
Returns:
boolean

isReadyToCallExecute

public boolean isReadyToCallExecute()
Verifies that the this command is ready to be executed.
Returns:
true if the command is ready, false otherwise.

performExecute

public void performExecute()
                    throws ECSystemException
Creates a discussion forum message for an administrator.
Specified by:
performExecute in interface ECCommand
Throws:
ECSystemException -  

setErrorText

protected void setErrorText(java.lang.String newErrorText)
Stores the incoming error text.
Parameters:
newErrorText - java.lang.String

setParameterError

protected void setParameterError(boolean newParameterError)
Stores the incoming value of the error flag.
Parameters:
newParameterError - boolean

setRequestProperties

public void setRequestProperties(TypedProperty param)
setRequestProperties Copies key-value input data into member fields.
Specified by:
setRequestProperties in interface ControllerCommand
Parameters:
param - com.ibm.commerce.datatype.TypedProperty

setUrl

public void setUrl(java.lang.String newUrl)
setUrl Setter method.
Returns:
java.lang.String

setXmlHash

protected void setXmlHash(java.util.Hashtable newXmlHash)
Setter method.
Parameters:
newXmlHash - java.util.Hashtable