public class AdminBroadcastMessageCmdImpl extends com.ibm.commerce.command.ControllerCommandImpl implements AdminBroadcastMessageCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
EC_FALSE, EC_HOSTING_MODE, EC_MESSAGE_CONTENT, EC_MESSAGE_TYPE_NAME, EC_RECIPIENT, EC_SEND_IMMEDIATE, EC_SENDER, EC_SUBJECT, EC_TARGET_STORE_STATE, EC_TRUE, NAME
Constructor and Description |
---|
AdminBroadcastMessageCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Main business logic for the class.
|
void |
setMessageContent(java.lang.String astrMessageContent)
Set the message content.
|
void |
setMessageProperties(com.ibm.commerce.datatype.TypedProperty aMessageProperties)
Set the message properties.
|
void |
setMessageTypeName(java.lang.String astrMessageTypeName)
Set the message type name.
|
void |
setRecipient(java.lang.String astrRecipient)
Set the email addresses of the additional recipients.
|
void |
setSender(java.lang.String astrSender)
Set the sender of the message.
|
void |
setSendImmediate(boolean abSendImmediate)
Set the delivery method of the broadcast message.
|
void |
setSubject(java.lang.String astrSubject)
Set the subject of the message.
|
void |
setTargetStoreStates(java.util.Vector avTargetStoreStates)
Set the states of the stores that will be targetted with this broadcast message.
|
void |
validateParameters()
Validate the mandatory parameters for this command.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setRequestProperties, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
accessControlCheck, getForUserId, getResourceOwners, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- The exceptionpublic void setMessageContent(java.lang.String astrMessageContent)
astrMessageContent
- The message contentpublic void setMessageProperties(com.ibm.commerce.datatype.TypedProperty aMessageProperties)
aMessageProperties
- The request propertiespublic void setMessageTypeName(java.lang.String astrMessageTypeName)
astrMessageTypeName
- The message type namepublic void setRecipient(java.lang.String astrRecipient)
astrRecipient
- The email addresses of the additional number of recipients.public void setSender(java.lang.String astrSender)
astrSender
- The sender of the messagepublic void setSendImmediate(boolean abSendImmediate)
abSendImmediate
- The delivery method of the broadcast message.public void setSubject(java.lang.String astrSubject)
astrSubject
- The subject of the message.public void setTargetStoreStates(java.util.Vector avTargetStoreStates)
avTargetStoreStates
- The states of the target stores for this broadcast message.public void validateParameters() throws com.ibm.commerce.exception.ECException
validateParameters
in interface com.ibm.commerce.command.ECCommand
validateParameters
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- The exception