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
|
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.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
ShopperCreateForumMessageCmdImpl
public ShopperCreateForumMessageCmdImpl()
- ShopperCreateForumMessageCmdImpl constructor.
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