java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.tools.command.ToolsControllerCommandImpl
com.ibm.commerce.negotiation.commands.ModifyForumMessageCmdImpl
Controller command allows an administrator to mofify the attributes of a forum message.
Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
protected ForumMessageHelper | fmh Forum helper message. |
java.util.Hashtable | xmlHash XML hash. |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.ModifyForumMessageCmd |
defaultCommandClassName, NAME |
Constructor Summary | |
ModifyForumMessageCmdImpl() ModifyForumMessageCmdImpl constructor. |
Method Summary | |
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 id's 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 msg_id's. |
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. |
Methods inherited from class com.ibm.commerce.tools.command.ToolsControllerCommandImpl |
getViewInputProperties |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.AccCommand |
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
protected ForumMessageHelper fmh
public java.util.Hashtable xmlHash
Constructor Detail |
public ModifyForumMessageCmdImpl()
Method Detail |
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
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.