|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.rfq.commands.RFQResponseBaseCmdImpl | +--com.ibm.commerce.rfq.commands.RFQResponseModifyCmdImpl
Implementation used to modify an RFQ response
Fields inherited from class com.ibm.commerce.rfq.commands.RFQResponseBaseCmdImpl |
commentsRFQLevelList, createTime, errorContent, errorFlag, majorVersion, minorVersion, ownerId, requestId, responseId, responseName, responseRemarks, resProductsList, updateTime |
Fields inherited from interface com.ibm.commerce.rfq.commands.RFQResponseModifyCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Constructor Summary | |
RFQResponseModifyCmdImpl()
|
Method Summary | |
protected void |
doAcknowlegement()
This method does the following: If error flag set set error flag and error content in response property. |
protected void |
initParameters()
initParameters from the request properties Set instance data from request property. |
protected void |
modifyRespondItemLevelTC()
Process response product level TCs Check product list.If it's empty ,only return. |
protected void |
modifyRespondRFQLevelTC()
Process response level TCs Check Response comments list.If it's empty, only return Set RFQResponseModifyOrderCommentsTCCmd's init arguments Execute RFQResponseModifyOrderCommentsTCCmd to modify the RFQ Response level Comments |
protected void |
modifyResponseBaseInfo()
Process Response base Information This method does the following: Sets the init argument for RFQResponseModifyBaseInfoCmd Executes RFQResponseModifyBaseInfoCmd to modify RFQ Response basic information |
void |
performExecute()
Modify RFQ response This method does the following: Modifies base information by calling RFQResponseModifyBaseInfoCmd Modifies RFQ level comments by calling RFQResponseModifyOrderCommentsTCCmd Modifies RFQ product and it's TCs by calling RFQResponseOrderitemPAttributeCmd If ECApplicationException was thrown in these three steps,catch it and set error the flag Set response property by calling doAcknowlegement. |
void |
validateParameters()
Validate response parameters. This is only an init process in which we save the data from request properties into base clase |
Methods inherited from interface com.ibm.commerce.rfq.commands.RFQResponseBaseCmd |
getCommentsRFQLevelList, setRequestId, setResponseName, setResponseRemarks, setResProductsList |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, 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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Constructor Detail |
public RFQResponseModifyCmdImpl()
Method Detail |
protected void doAcknowlegement() throws ECApplicationException
ECApplicationException
- If error flag had been setprotected void initParameters() throws ECApplicationException
protected void modifyRespondItemLevelTC() throws ECException
ECException
- if any error happen in RFQResponseModifyOrderitemPAttributeTCCmd executionRFQResponseModifyOrderitemPAttributeTCCmd
protected void modifyRespondRFQLevelTC() throws ECException
ECException
- if any error happen in RFQResponseModifyOrderCommentsTCCmd executionRFQResponseModifyOrderCommentsTCCmd
protected void modifyResponseBaseInfo() throws ECException
ECException
- if any error happen in RFQResponseModifyBaseInfoCmd execute.public void performExecute() throws ECException
performExecute
in interface ECCommand
ECApplicationException
- if application error happen in processpublic void validateParameters() throws ECException
validateParameters
in interface ECCommand
com.ibm.commerce.command.ECCommand
ECException.
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |