public class NewInboundMessageCmdImpl extends ControllerCommandImpl implements NewInboundMessageCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
java.lang.String |
message
The message buffer
|
defaultCommandClassName, NAME
Constructor and Description |
---|
NewInboundMessageCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
This method retrieves the message passed in the message buffer.
|
java.lang.Long[] |
getResourceOwners()
This method returns the organization unit reference numbers for all the resources accessed by this command.
|
boolean |
isReadyToCallExecute()
This method checks if the command is ready to run and if the
message buffer is null.
|
void |
performExecute()
This method needs to be implemented to process new inbound
message unknown to WebSphere Commerce Server.
|
void |
setMessage(java.lang.String newMessage)
This method sets the content of the message buffer.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method sets the request properties as input for the command where the message is retrieved from.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, 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, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public java.lang.String message
public java.lang.String getMessage()
public java.lang.Long[] getResourceOwners() throws ECException
getResourceOwners
in interface AccCommand
getResourceOwners
in class ControllerCommandImpl
ECException
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface NewInboundMessageCmd
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- Raised with message _ERR_NI_NOT_CUSTOMIZED as
there is no customized implementationpublic void setMessage(java.lang.String newMessage)
newMessage
- A String
to set the content of the message buffer.public void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
aRequestProperties
- name-value pairs containing attributes for this command.
The message content is retrieved using the key "message" and stored in the local
variable "message"