com.ibm.commerce.rfq.commands
Class RFQResponseModifyBaseInfoCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.rfq.commands.RFQResponseModifyBaseInfoCmdImpl
- All Implemented Interfaces:
- ECCommand, RFQResponseModifyBaseInfoCmd, TaskCommand
- public class RFQResponseModifyBaseInfoCmdImpl
- extends TaskCommandImpl
- implements RFQResponseModifyBaseInfoCmd
Implementation used to modify an RFQ response base information
Method Summary |
void |
performExecute()
Updates RFQ Response basic information
This method does the following:
Sets response name and remarks. |
void |
setName(java.lang.String newName)
Sets RFQ Response name |
void |
setRemarks(java.lang.String newRemarks)
Sets RFQ Response remarks |
void |
setResponseId(java.lang.Long newResponseId)
Sets RFQ Response id |
void |
validateParameters()
Checks for the validity of the incoming parameters.
This method does the following:
Checks the Name to make sure the name is not null. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
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.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
RFQResponseModifyBaseInfoCmdImpl
public RFQResponseModifyBaseInfoCmdImpl()
- RFQResponseModifyBaseInfoCmdImpl constructor.
performExecute
public void performExecute()
throws ECException
- Updates RFQ Response basic information
This method does the following:
- Sets response name and remarks.
- Commits modification into database
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Parameters:
none
- - Returns:
- none
- Throws:
ECApplicationException
- If an application error occurs while updating.ECSystemException
- If a system error occurs while updating the RFQ.
setName
public void setName(java.lang.String newName)
- Sets RFQ Response name
- Specified by:
setName
in interface RFQResponseModifyBaseInfoCmd
- Parameters:
Name
- java.lang.String
setRemarks
public void setRemarks(java.lang.String newRemarks)
- Sets RFQ Response remarks
- Specified by:
setRemarks
in interface RFQResponseModifyBaseInfoCmd
- Parameters:
Remarks
- java.lang.String
setResponseId
public void setResponseId(java.lang.Long newResponseId)
- Sets RFQ Response id
- Specified by:
setResponseId
in interface RFQResponseModifyBaseInfoCmd
- Parameters:
ResId
- Long
validateParameters
public void validateParameters()
throws ECException
- Checks for the validity of the incoming parameters.
This method does the following:
- Checks the Name to make sure the name is not null.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Parameters:
void
- - Returns:
- void
- Throws:
ECSystemException
-