com.ibm.commerce.rfq.commands
Class RFQResponseModifyBaseInfoCmdImpl
- java.lang.Object
-
- com.ibm.websphere.command.TargetableCommandImpl
-
- com.ibm.websphere.command.CacheableCommandImpl
-
- com.ibm.commerce.command.MeasuredCacheableCommandImpl
-
- com.ibm.commerce.command.AbstractECTargetableCommand
-
- com.ibm.commerce.command.TaskCommandImpl
-
- com.ibm.commerce.rfq.commands.RFQResponseModifyBaseInfoCmdImpl
-
- All Implemented Interfaces:
- com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, RFQResponseModifyBaseInfoCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
public class RFQResponseModifyBaseInfoCmdImpl extends TaskCommandImpl implements RFQResponseModifyBaseInfoCmd
Implementation used to modify basic information of an RFQ response.This command uses the following AccessBeans:
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM copyright notice field.-
Fields inherited from interface com.ibm.commerce.rfq.commands.RFQResponseModifyBaseInfoCmd
defaultCommandClassName, NAME
-
-
Constructor Summary
Constructors Constructor and Description RFQResponseModifyBaseInfoCmdImpl()
RFQResponseModifyBaseInfoCmdImpl constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.sql.Timestamp
getEndTime()
Gets endTimejava.lang.Long
getField1()
Gets the field1 valuejava.lang.Integer
getField2()
Gets the field2 valuejava.lang.String
getField3()
Gets the field3 valuejava.lang.String
getField4()
Gets the field4 valuejava.sql.Timestamp
getField5()
Gets the field5 valuejava.sql.Timestamp
getField6()
Gets the field6 valuejava.sql.Timestamp
getStartTime()
Gets startTimevoid
performExecute()
Updates RFQ Response basic information
This method does the following:
Sets response name and remarks.void
setAcceptaction(java.lang.Integer newAcceptaction)
Sets RFQ Response accept actionvoid
setEndTime(java.lang.String newEndTime)
Sets the endTime valuevoid
setField1(java.lang.Long newField1)
Sets the field1 valuevoid
setField2(java.lang.Integer newField2)
Sets the field2 valuevoid
setField3(java.lang.String newField3)
Sets the field3 valuevoid
setField4(java.lang.String newField4)
Sets the field4 valuevoid
setField5(java.lang.String newField5)
Sets the field5 valuevoid
setField6(java.lang.String newField6)
Sets the field6 valuevoid
setName(java.lang.String newName)
Sets RFQ Response namevoid
setRemarks(java.lang.String newRemarks)
Sets RFQ Response remarksvoid
setResponseId(java.lang.Long newResponseId)
Sets RFQ Response idvoid
setStartTime(java.lang.String newStartTime)
Sets the startTime valuevoid
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.AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
Methods inherited from class com.ibm.websphere.command.CacheableCommandImpl
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
-
Methods inherited from class com.ibm.websphere.command.TargetableCommandImpl
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
-
-
-
-
Field Detail
-
COPYRIGHT
public static final java.lang.String COPYRIGHT
IBM copyright notice field.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RFQResponseModifyBaseInfoCmdImpl
public RFQResponseModifyBaseInfoCmdImpl()
RFQResponseModifyBaseInfoCmdImpl constructor.
-
-
Method Detail
-
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 interfaceECCommand
- Specified by:
performExecute
in interfacecom.ibm.websphere.command.TargetableCommand
- Overrides:
performExecute
in classAbstractECTargetableCommand
- Throws:
ECApplicationException
- If an application error occurs while updating.ECSystemException
- If a system error occurs while updating the RFQ.ECException
-
setAcceptaction
public void setAcceptaction(java.lang.Integer newAcceptaction)
Sets RFQ Response accept action- Specified by:
setAcceptaction
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
Acceptaction
- Integer
-
setName
public void setName(java.lang.String newName)
Sets RFQ Response name- Specified by:
setName
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
Name
- java.lang.String
-
setRemarks
public void setRemarks(java.lang.String newRemarks)
Sets RFQ Response remarks- Specified by:
setRemarks
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
Remarks
- java.lang.String
-
setResponseId
public void setResponseId(java.lang.Long newResponseId)
Sets RFQ Response id- Specified by:
setResponseId
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
ResId
- Long
-
getField1
public java.lang.Long getField1()
Gets the field1 value- Returns:
- Returns a java.lang.Long
-
getField2
public java.lang.Integer getField2()
Gets the field2 value- Returns:
- Returns a java.lang.Integer
-
getField3
public java.lang.String getField3()
Gets the field3 value- Returns:
- Returns a java.lang.String
-
getField4
public java.lang.String getField4()
Gets the field4 value- Returns:
- Returns a java.lang.String
-
getField5
public java.sql.Timestamp getField5()
Gets the field5 value- Returns:
- Returns a java.sql.Timestamp
-
getField6
public java.sql.Timestamp getField6()
Gets the field6 value- Returns:
- Returns a java.sql.Timestamp
-
setField1
public void setField1(java.lang.Long newField1)
Sets the field1 value- Specified by:
setField1
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
field1
- The field1 value to set
-
setField2
public void setField2(java.lang.Integer newField2)
Sets the field2 value- Specified by:
setField2
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
field2
- The field2 value to set
-
setField3
public void setField3(java.lang.String newField3)
Sets the field3 value- Specified by:
setField3
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
field3
- The field3 value to set
-
setField4
public void setField4(java.lang.String newField4)
Sets the field4 value- Specified by:
setField4
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
field4
- The field4 value to set
-
setField5
public void setField5(java.lang.String newField5)
Sets the field5 value- Specified by:
setField5
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
field5
- The field5 value to set
-
setField6
public void setField6(java.lang.String newField6)
Sets the field6 value- Specified by:
setField6
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
field6
- The field6 value to set
-
getStartTime
public java.sql.Timestamp getStartTime()
Gets startTime- Returns:
- java.sql.Timestamp
-
getEndTime
public java.sql.Timestamp getEndTime()
Gets endTime- Returns:
- java.sql.Timestamp
-
setStartTime
public void setStartTime(java.lang.String newStartTime)
Sets the startTime value- Specified by:
setStartTime
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
startTime
- The startTime value to set
-
setEndTime
public void setEndTime(java.lang.String newEndTime)
Sets the endTime value- Specified by:
setEndTime
in interfaceRFQResponseModifyBaseInfoCmd
- Parameters:
endTime
- The endTime value to set
-
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 interfaceECCommand
- Overrides:
validateParameters
in classAbstractECTargetableCommand
- Throws:
ECSystemException
-- if system error happen.
ECException
-
-