com.ibm.commerce.negotiation.commands
Class DisplayMessageCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.negotiation.commands.DisplayMessageCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, DisplayMessageCmd, ECCommand, ECTargetableCommand, Protectable
- public class DisplayMessageCmdImpl
- extends ControllerCommandImpl
- implements DisplayMessageCmd
DisplayMessageCmd implementation
Method Summary |
java.lang.Long |
getMsgId()
Mutation method for getting message reference number |
java.lang.String |
getMsgStatus()
Mutation method for getting message status |
java.lang.String |
getUrl()
Mutation method for getting Url |
void |
performExecute()
Action to modify message status if message is 'new' and display the message |
void |
setMsgId(java.lang.Long newMsgId)
Mutation method to set message reference number |
void |
setMsgStatus(java.lang.String newMsgStatus)
Mutation method to set message status |
void |
setRequestProperties(TypedProperty param)
Copies key-value input data into member fields. |
void |
setUrl(java.lang.String newUrl)
Mutation method for setting Url |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
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 |
DisplayMessageCmdImpl
public DisplayMessageCmdImpl()
- DisplayMessageCmdImpl constructor comment.
getMsgId
public java.lang.Long getMsgId()
- Mutation method for getting message reference number
- Returns:
- java.lang.Long
getMsgStatus
public java.lang.String getMsgStatus()
- Mutation method for getting message status
- Returns:
- java.lang.String
getUrl
public java.lang.String getUrl()
- Mutation method for getting Url
- Returns:
- java.lang.String
performExecute
public void performExecute()
throws ECException
- Action to modify message status if message is 'new' and display the message
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setMsgId
public void setMsgId(java.lang.Long newMsgId)
- Mutation method to set message reference number
- Parameters:
newMsgId
- java.lang.Long
setMsgStatus
public void setMsgStatus(java.lang.String newMsgStatus)
- Mutation method to set message status
- Parameters:
newMsgStatus
- java.lang.String
setRequestProperties
public void setRequestProperties(TypedProperty param)
throws ECApplicationException
- Copies key-value input data into member fields.
- Specified by:
setRequestProperties
in interface ControllerCommand
- Overrides:
setRequestProperties
in class ControllerCommandImpl
- Parameters:
param
- com.ibm.commerce.datatype.TypedProperty- Throws:
ECApplicationException
-
setUrl
public void setUrl(java.lang.String newUrl)
- Mutation method for setting Url
- Parameters:
newUrl
- java.lang.String