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, 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
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
execute
accessControlCheck, getAccCheck, setAccCheck
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECCommand.performExecute()
public void setCatalogEntryId(java.lang.Long anCatalogEntryId)
setCatalogEntryId
in interface BroadcastMessageCmd
anCatalogEntryId
- The catalog entry ID.BroadcastMessageCmd.setCatalogEntryId(Long).
public void setContractId(java.lang.Long anContractId)
setContractId
in interface BroadcastMessageCmd
anContractId
- The contract ID.BroadcastMessageCmd.setContractId(Long).
public void setMessageContent(java.lang.String astrMessageContent)
setMessageContent
in interface BroadcastMessageCmd
astrMessageContent
- The message content.BroadcastMessageCmd.setMessageContent(String).
public void setMessageProperties(TypedProperty aMessageProperties)
messageProperties
object used by message composition.setMessageProperties
in interface BroadcastMessageCmd
aMessageProperties
- 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 BroadcastMessageCmd
anMessageType
- The message type.BroadcastMessageCmd.setMessageType(Integer)
public void setMode(java.lang.Integer anMode)
setMode
in interface BroadcastMessageCmd
anMode
- The broadcast mode.BroadcastMessageCmd.setMode(Integer)
public void setOfferId(java.lang.Long anOfferId)
setOfferId
in interface BroadcastMessageCmd
anOfferId
- The offer ID.BroadcastMessageCmd.setOfferId(Long)
public void setPartNumber(java.lang.String astrPartNumber)
setPartNumber
in interface BroadcastMessageCmd
astrPartNumber
- The part number.BroadcastMessageCmd.setPartNumber(String)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aRequestProperties
- The request properties.ECApplicationException
ControllerCommand.setRequestProperties(TypedProperty)
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
ECCommand.validateParameters()