public class BroadcastMessageCmdImpl extends ControllerCommandImpl implements BroadcastMessageCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
BroadcastMessageCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
The method contains the business logic for this controller command.
|
void |
setCatalogEntryId(java.lang.Long anCatalogEntryId)
This method sets the catalog entry ID.
|
void |
setContractId(java.lang.Long anContractId)
This method sets the contract ID.
|
void |
setMessageContent(java.lang.String astrMessageContent)
Sets the message content.
|
void |
setMessageProperties(TypedProperty aMessageProperties)
Sets the
messageProperties object used by message composition. |
void |
setMessageType(java.lang.Integer anMessageType)
Sets the message type (as specified in the MSGTYPES table).
|
void |
setMode(java.lang.Integer anMode)
Sets broadcast mode.
|
void |
setOfferId(java.lang.Long anOfferId)
Sets the offer ID (for targeted broadcast).
|
void |
setPartNumber(java.lang.String astrPartNumber)
Sets the part number (for targeted broadcast).
|
void |
setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties.
|
void |
validateParameters()
Validates required parameters before executing this command.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteaccessControlCheck, getAccCheck, setAccCheckpublic static final java.lang.String COPYRIGHT
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionECCommand.performExecute()public void setCatalogEntryId(java.lang.Long anCatalogEntryId)
setCatalogEntryId in interface BroadcastMessageCmdanCatalogEntryId - The catalog entry ID.BroadcastMessageCmd.setCatalogEntryId(Long).public void setContractId(java.lang.Long anContractId)
setContractId in interface BroadcastMessageCmdanContractId - The contract ID.BroadcastMessageCmd.setContractId(Long).public void setMessageContent(java.lang.String astrMessageContent)
setMessageContent in interface BroadcastMessageCmdastrMessageContent - The message content.BroadcastMessageCmd.setMessageContent(String).public void setMessageProperties(TypedProperty aMessageProperties)
messageProperties object used by message composition.setMessageProperties in interface BroadcastMessageCmdaMessageProperties - The message properties. This object is TypedProperty.BroadcastMessageCmd.setMessageProperties(TypedProperty)public void setMessageType(java.lang.Integer anMessageType)
BroadcastMessage message type will be used.setMessageType in interface BroadcastMessageCmdanMessageType - The message type.BroadcastMessageCmd.setMessageType(Integer)public void setMode(java.lang.Integer anMode)
setMode in interface BroadcastMessageCmdanMode - The broadcast mode.BroadcastMessageCmd.setMode(Integer)public void setOfferId(java.lang.Long anOfferId)
setOfferId in interface BroadcastMessageCmdanOfferId - The offer ID.BroadcastMessageCmd.setOfferId(Long)public void setPartNumber(java.lang.String astrPartNumber)
setPartNumber in interface BroadcastMessageCmdastrPartNumber - The part number.BroadcastMessageCmd.setPartNumber(String)public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
setRequestProperties in interface ControllerCommandsetRequestProperties in class ControllerCommandImplaRequestProperties - The request properties.ECApplicationExceptionControllerCommand.setRequestProperties(TypedProperty)public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionECCommand.validateParameters()