com.ibm.commerce.negotiation.commands
Class CreateForumMessageCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.ControllerCommandImpl
                    |
                    +--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
                          |
                          +--com.ibm.commerce.negotiation.commands.CreateForumMessageCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, CreateForumMessageCmd, ECCommand, ECTargetableCommand, ToolsControllerCommand

public class CreateForumMessageCmdImpl
extends ToolsControllerCommandImpl
implements CreateForumMessageCmd

Creates a message from an administrator in a discussion forum.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
 
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
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 class com.ibm.commerce.tools.command. ToolsControllerCommandImpl
getViewInputProperties
 
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, 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, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright statement.
See Also:
Constant Field Values
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.
Overrides:
isReadyToCallExecute in class AbstractECTargetableCommand
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
Overrides:
performExecute in class AbstractECTargetableCommand
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
Overrides:
setRequestProperties in class ToolsControllerCommandImpl
Parameters:
param - com.ibm.commerce.datatype.TypedProperty

setUrl

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

setXmlHash

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