|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.negotiation.commands.ModifyForumMessageCmdImpl
Controller command allows an administrator to mofify the attributes of a forum message.
Field Summary | |
protected com.ibm.commerce.negotiation.commands.ForumMessageHelper |
fmh
|
java.util.Hashtable |
xmlHash
|
Fields inherited from interface com.ibm.commerce.negotiation.commands.ModifyForumMessageCmd |
COPYRIGHT, 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 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.AccCommand |
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
protected com.ibm.commerce.negotiation.commands.ForumMessageHelper fmh
public java.util.Hashtable xmlHash
Constructor Detail |
public ModifyForumMessageCmdImpl()
Method Detail |
public void executeModify() throws ECSystemException
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
performExecute
in interface ECCommand
ECSystemException
- protected void setErrorText(java.lang.String newErrorText)
newErrorText
- java.lang.Stringpublic void setMsgAction(java.lang.String newMsgAction)
newMsgAction
- java.lang.Stringprotected void setMsgIdArrayFromList(java.lang.String msgIdList) throws java.lang.NumberFormatException
newMsgIdArray
- java.lang.Stringjava.lang.NumberFormatException
- protected void setParameterError(boolean newParameterError)
newParameterError
- booleanpublic void setRequestProperties(TypedProperty param) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
param
- com.ibm.commerce.datatype.TypedPropertyECApplicationException
- protected void setViewTaskName(java.lang.String newViewTaskName)
newUrl
- java.lang.Stringprotected void setXmlHash(java.util.Hashtable newXmlHash)
newXmlHash
- java.util.Hashtablepublic void toolsPerformExecute() throws ECSystemException
ECSystemException
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |