com.ibm.commerce.negotiation.commands
Class ShopperCreateForumMessageCmdImpl

com.ibm.commerce.negotiation.commands.ShopperCreateForumMessageCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ShopperCreateForumMessageCmd

public class ShopperCreateForumMessageCmdImpl
implements ShopperCreateForumMessageCmd

Allows a shopper to create a new message, or reply to a message, in a discussion forum.


Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from interface com.ibm.commerce.negotiation.commands.ShopperCreateForumMessageCmd
defaultCommandClassName, NAME
 
Constructor Summary
ShopperCreateForumMessageCmdImpl()
          ShopperCreateForumMessageCmdImpl constructor.
 
Method Summary
 java.lang.String getUrl()
          Accessor method.
 boolean isReadyToCallExecute()
          Verifies that the this command is ready to be executed.
 void performExecute()
          Creates a new message or a new reply in a discussion forum.
 void setRequestProperties(TypedProperty param)
          Copies key-value input data into member fields.
 void setUrl(java.lang.String newUrl)
          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

ShopperCreateForumMessageCmdImpl

public ShopperCreateForumMessageCmdImpl()
ShopperCreateForumMessageCmdImpl constructor.
Method Detail

getUrl

public java.lang.String getUrl()
Accessor method.
Returns:
java.lang.String

isReadyToCallExecute

public boolean isReadyToCallExecute()
Verifies that the this command is ready to be executed.
Returns:
boolean

performExecute

public void performExecute()
                    throws ECException
Creates a new message or a new reply in a discussion forum.
Specified by:
performExecute in interface ECCommand
Throws:
ECException - The exception description.

setRequestProperties

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

setUrl

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