public class ModifyForumMessageCmdImpl extends ToolsControllerCommandImpl implements ModifyForumMessageCmd, com.ibm.commerce.negotiation.util.AuctionConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected com.ibm.commerce.negotiation.misc.ForumMessageHelper | fmh
Forum helper message.
|
java.util.Hashtable | xmlHash
XML hash.
|
Constructor and Description |
---|
ModifyForumMessageCmdImpl()
ModifyForumMessageCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
void | executeModify()
Modifies the VIEWSTATUS and/or MSGSTATUS of one or more entries in the FORUMMSG table.
|
protected java.lang.String | getErrorText()
Fetches the text of an error message.
|
java.lang.String | getMsgAction()
Returns the msgAction member field.
|
int | getMsgIdCount()
Returns the number of msg IDs available to process.
|
protected java.lang.Long | getMsgIdEntry(int index)
Fetches a specific msgId.
|
protected java.lang.String | getViewTaskName()
Gets the viewTaskName field.
|
protected java.util.Hashtable | getXmlHash()
Accessor method.
|
protected boolean | isParameterError()
Returns true if a parameter error is present.
|
boolean | isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
void | performExecute()
Modifies the VIEWSTATUS and/or MSGSTATUS of one or more entries in the FORUMMSG table.
|
protected void | setErrorText(java.lang.String newErrorText)
Sets the error text.
|
void | setMsgAction(java.lang.String newMsgAction)
Sets the msgAction member field.
|
protected void | setMsgIdArrayFromList(java.lang.String msgIdList)
Sets the elements of a Long[] array from a comma-delimited list of message IDs.
|
protected void | setParameterError(boolean newParameterError)
Sets parameter error flag value.
|
void | setRequestProperties(TypedProperty param)
Copies key-value input data into member fields.
|
protected void | setViewTaskName(java.lang.String newViewTaskName)
Sets the viewTaskName field.
|
protected void | setXmlHash(java.util.Hashtable newXmlHash)
Setter method.
|
void | toolsPerformExecute()
Performs forum message modify with ECTools error handling logic.
|
public static final java.lang.String COPYRIGHT
protected com.ibm.commerce.negotiation.misc.ForumMessageHelper fmh
public java.util.Hashtable xmlHash
public ModifyForumMessageCmdImpl()
public void executeModify() throws ECSystemException
protected java.lang.String getErrorText()
public java.lang.String getMsgAction()
public int getMsgIdCount()
protected java.lang.Long getMsgIdEntry(int index)
protected java.lang.String getViewTaskName()
protected java.util.Hashtable getXmlHash()
protected boolean isParameterError()
public boolean isReadyToCallExecute()
public void performExecute() throws ECSystemException
protected void setErrorText(java.lang.String newErrorText)
public void setMsgAction(java.lang.String newMsgAction)
protected void setMsgIdArrayFromList(java.lang.String msgIdList) throws java.lang.NumberFormatException
protected void setParameterError(boolean newParameterError)
public void setRequestProperties(TypedProperty param) throws ECApplicationException
protected void setViewTaskName(java.lang.String newViewTaskName)
protected void setXmlHash(java.util.Hashtable newXmlHash)
public void toolsPerformExecute() throws ECSystemException