java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.ModifyRFQBasicInfoCmdImpl
This is the default implementation of the ModifyRFQBasicInfoCmd.
This command uses the following AccessBeans:
RFQAccessBean
TradingDescriptionAccessBean
StoreAccessBean
Field Summary | |
---|---|
java.lang.Integer |
accessType RFQ Access Type. |
java.lang.Long |
accountId Account Id. |
java.sql.Timestamp |
duration RFQ Duration. |
java.lang.Integer |
endResult RFQ End Result. |
java.sql.Timestamp |
endTime RFQ End Time. |
java.lang.Integer |
languageId Language Id. |
java.lang.String |
longdesc RFQ Long Description. |
java.lang.Integer |
majorVersion RFQ Majir Version. |
java.lang.Integer |
markForDelete Markfordelete flag. |
java.lang.Integer |
minorVersion RFQ Minor Version. |
java.lang.String |
name RFQ Name. |
java.lang.Long |
nextOffering Next Offering Id. |
java.lang.Integer |
nextOfferingType Next Offering Type. |
java.lang.Integer |
numResponses Number of Responses. |
java.lang.Long |
offeringId Offering Id. |
java.lang.Long |
ownerId RFQ Owner Id. |
java.lang.Long |
previousOffering Previous Offering. |
java.lang.Integer |
previousOfferingType Previous Offering Type. |
java.lang.Integer |
roundNumber Round Number. |
java.lang.Integer |
ruleType Rule Type. |
java.lang.String |
shortdesc RFQ Short Description. |
java.lang.Integer |
stageNumber Stage Number. |
java.sql.Timestamp |
startTime RFQ Start Time. |
java.lang.Integer |
state RFQ State. |
java.lang.Long |
tradingEngine Trading Engine. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. ModifyRFQBasicInfoCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
ModifyRFQBasicInfoCmdImpl() ModifyRFQBasicInfoCmdImpl constructor comment. |
Method Summary | |
---|---|
java.lang.Integer |
getAccessType() Retrieves the accesstype of the RFQ. |
java.lang.Long |
getAccountId() Retrieves the account Id. |
java.sql.Timestamp |
getDuration() Retrieves the duration limit between successive responses. |
java.lang.Integer |
getEndResult() Retrieves an integer representing the expected outcome of this RFQ. |
java.sql.Timestamp |
getEndTime() Retrieves RFQ closing time. |
java.lang.Integer |
getLanguageId() Retrieves the identifier of the language in which the RFQ descriptions are being created. |
java.lang.String |
getLongdesc() Retrieves the long description for the RFQ. |
java.lang.Integer |
getMajorVersion() Retrieves the major version number of the RFQ. |
java.lang.Integer |
getMarkForDelete() Retrieves the value of the MarkForDelete flag. |
java.lang.Integer |
getMinorVersion() Retrieves the minor version number of the RFQ. |
java.lang.String |
getName() Retrieves the name of the RFQ. |
java.lang.Long |
getNextOffering() Retrieves the ID of the next offering in the chain, if the RFQ is a part of a multistage business process. |
java.lang.Integer |
getNextOfferingType() Retrieves the type of the next offering in the chain, if the RFQ is a part of a multistage business process. |
java.lang.Integer |
getNumResponses() Retrieves the limit for the number of responses. |
java.lang.Long |
getOfferingId() Retrieves the ID of the created RFQ. |
java.lang.Long |
getOwnerId() Retrieves the ID of the RFQ owner. |
java.lang.Long |
getPreviousOffering() Retrieves the ID of the previous offering in the chain, if the RFQ is a part of a multistage business process. |
java.lang.Integer |
getPreviousOfferingType() Retrieves the type of the previous offering in the chain, if the RFQ is a part of a multistage business process. |
AccessVector |
getResources() Gets the access vector accessed by this command. |
java.lang.Integer |
getRoundNumber() Retrieves the current round number of the RFQ. |
java.lang.Integer |
getRuleType() Gets the ruleType |
java.lang.String |
getShortdesc() Retrieves a brief description of the RFQ |
java.lang.Integer |
getStageNumber() Retrieves the stage number. |
java.sql.Timestamp |
getStartTime() Retrieves the effective date and time for this RFQ. |
java.lang.Integer |
getState() Retrieves an integer representing the RFQ state. |
java.lang.Long |
getTradingEngine() Retrieves the ID of the trading engine that manages the RFQ. |
void |
performExecute()
Updates the RFQ object.
This method does the following:
Updates the RFQ object. Creates/Updates the trading agreement description for
this RFQ. |
void |
reset() Reset the command. |
void |
setAccessType(java.lang.Integer newAccessType) Stores the accesstype of the RFQ. |
void |
setAccountId(java.lang.Long newAccountId) Stores the account ID. |
void |
setDuration(java.sql.Timestamp newDuration) Stores the duration limit between successive responses. |
void |
setEndResult(java.lang.Integer newEndResult) Stores an integer representing the expected outcome of this RFQ. |
void |
setEndTime(java.sql.Timestamp newEndTime) Stores the supplied value for the RFQ closing time. |
void |
setLanguageId(java.lang.Integer newLanguageId) Stores the language identifier. |
void |
setLongdesc(java.lang.String newLongdesc) Stores the long description for the RFQ. |
void |
setMajorVersion(java.lang.Integer newMajorVersion) Stores the major version number of the RFQ. |
void |
setMarkForDelete(java.lang.Integer newMarkForDelete) Stores the incoming value for the MarkForDelete flag. |
void |
setMinorVersion(java.lang.Integer newMinorVersion) Stores the minor version number of the RFQ. |
void |
setName(java.lang.String newName) Stores the name of the RFQ. |
void |
setNextOffering(java.lang.Long newNextOffering) Stores the ID of the next offering in the chain, if the RFQ is a part of a multistage business process. |
void |
setNextOfferingType(java.lang.Integer newNextOfferingType) Stores the type of the next offering in the chain, if the RFQ is a part of a multistage business process. |
void |
setNumResponses(java.lang.Integer newNumResponses) Stores the limit for the number of responses. |
void |
setOfferingId(java.lang.Long newOfferingId) Stores the trading agreement ID, which is the RFQ ID. |
void |
setOwnerId(java.lang.Long newOwnerId) Stores the RFQ Owner ID. |
void |
setPreviousOffering(java.lang.Long newPreviousOffering) Stores the ID of the previous offering in the chain, if the RFQ is a part of a multistage business process. |
void |
setPreviousOfferingType(java.lang.Integer newPreviousOfferingType) Stores the type of the previous offering in the chain, if the RFQ is a part of a multistage business process. |
void |
setRoundNumber(java.lang.Integer newRoundNumber) Stores the current round number of the RFQ. |
void |
setRuleType(java.lang.Integer newRuleType) Sets the ruleType |
void |
setShortdesc(java.lang.String newShortdesc) Stores a brief description of the RFQ. |
void |
setStageNumber(java.lang.Integer newStageNumber) Stores the stage number. |
void |
setStartTime(java.sql.Timestamp newStartTime) Stores the effective date and time for this RFQ. |
void |
setState(java.lang.Integer newState) Stores an integer representing the RFQ state. |
void |
setTradingEngine(java.lang.Long newTradingEngine) Stores the ID of the trading engine that manages the RFQ. |
void |
validateParameters()
Checks for the validity of the incoming parameters.
This method does the following:
Verifies that the RFQ ID has been provided and that it exists. If a new name
has been provided for the RFQ, verifies that the name is not already in
use. |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public java.lang.Integer state
public java.lang.Integer markForDelete
public java.sql.Timestamp endTime
public java.sql.Timestamp startTime
public java.lang.Integer languageId
public java.lang.String longdesc
public java.lang.String shortdesc
public java.lang.Integer majorVersion
public java.lang.Integer minorVersion
public java.lang.String name
public java.lang.Long offeringId
public java.lang.Long ownerId
public java.lang.Integer roundNumber
public java.lang.Integer stageNumber
public java.lang.Long tradingEngine
public java.lang.Integer accessType
public java.sql.Timestamp duration
public java.lang.Integer endResult
public java.lang.Long nextOffering
public java.lang.Integer nextOfferingType
public java.lang.Integer numResponses
public java.lang.Long previousOffering
public java.lang.Integer previousOfferingType
public java.lang.Integer ruleType
public java.lang.Long accountId
Constructor Detail |
---|
public ModifyRFQBasicInfoCmdImpl()
Method Detail |
---|
public void reset()
reset
in class
AbstractECTargetableCommand
public java.lang.Integer getAccessType()
public java.lang.Long getAccountId()
public java.sql.Timestamp getDuration()
public java.lang.Integer getEndResult()
public java.sql.Timestamp getEndTime()
public java.lang.Integer getLanguageId()
public java.lang.String getLongdesc()
public java.lang.Integer getMajorVersion()
public java.lang.Integer getMarkForDelete()
public java.lang.Integer getMinorVersion()
public java.lang.String getName()
public java.lang.Long getNextOffering()
public java.lang.Integer getNextOfferingType()
public java.lang.Integer getNumResponses()
public java.lang.Long getOfferingId()
getOfferingId
in interface
ModifyRFQBasicInfoCmd
public java.lang.Long getOwnerId()
public java.lang.Long getPreviousOffering()
public java.lang.Integer getPreviousOfferingType()
public AccessVector getResources() throws ECException
getResources
in interface
ECCommand
getResources
in class
AbstractECTargetableCommand
ECException
ECCommand#getResources()
public java.lang.Integer getRoundNumber()
public java.lang.String getShortdesc()
public java.lang.Integer getStageNumber()
public java.sql.Timestamp getStartTime()
public java.lang.Integer getState()
public java.lang.Long getTradingEngine()
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECApplicationException
- If an application error occurs while
updating the RFQ.
ECSystemException
- If a system error occurs while updating the
RFQECException
ECCommand#performExecute()
public void setAccessType(java.lang.Integer newAccessType)
setAccessType
in interface
ModifyRFQBasicInfoCmd
newAccessType
- The access type of the RFQ. The access type
could be private or public.public void setAccountId(java.lang.Long newAccountId)
setAccountId
in interface
ModifyRFQBasicInfoCmd
newAccountId
- The account Id.public void setDuration(java.sql.Timestamp newDuration)
setDuration
in interface
ModifyRFQBasicInfoCmd
newDuration
- The duration limit between successive
responses.public void setEndResult(java.lang.Integer newEndResult)
setEndResult
in interface
ModifyRFQBasicInfoCmd
newEndResult
- The end result of the RFQ.public void setEndTime(java.sql.Timestamp newEndTime)
setEndTime
in interface
ModifyRFQBasicInfoCmd
newEndTime
- The closing date and time of the
RFQ.public void setLanguageId(java.lang.Integer newLanguageId)
setLanguageId
in interface
ModifyRFQBasicInfoCmd
newLanguageId
- The language iudentifier.public void setLongdesc(java.lang.String newLongdesc)
setLongdesc
in interface
ModifyRFQBasicInfoCmd
newLongdesc
- The RFQ long description.public void setMajorVersion(java.lang.Integer newMajorVersion)
setMajorVersion
in interface
ModifyRFQBasicInfoCmd
newMajorVersion
- The major version
number.public void setMarkForDelete(java.lang.Integer newMarkForDelete)
setMarkForDelete
in interface
ModifyRFQBasicInfoCmd
newMarkForDelete
- The value of the MarkForDelete flag.
"1" implies the RFQ is marked for delete. It will subsequently be
cleaned up by the DBClean utility.public void setMinorVersion(java.lang.Integer newMinorVersion)
setMinorVersion
in interface
ModifyRFQBasicInfoCmd
newMinorVersion
- java.lang.Integerpublic void setName(java.lang.String newName)
setName
in interface
ModifyRFQBasicInfoCmd
newName
- The RFQ name.public void setNextOffering(java.lang.Long newNextOffering)
setNextOffering
in interface
ModifyRFQBasicInfoCmd
newNextOffering
- The ID of the offering that results from
this RFQ in a multistage process.public void setNextOfferingType(java.lang.Integer newNextOfferingType)
setNextOfferingType
in interface
ModifyRFQBasicInfoCmd
newNextOfferingType
- The type of the offering that follows
this RFQ in a multistage process.public void setNumResponses(java.lang.Integer newNumResponses)
setNumResponses
in interface
ModifyRFQBasicInfoCmd
newNumResponses
- The limit for the number of RFQ
responses.public void setOfferingId(java.lang.Long newOfferingId)
setOfferingId
in interface
ModifyRFQBasicInfoCmd
newOfferingId
- The trading agreement ID.public void setOwnerId(java.lang.Long newOwnerId)
setOwnerId
in interface
ModifyRFQBasicInfoCmd
newOwnerId
- The ID of the RFQ owner.public void setPreviousOffering(java.lang.Long newPreviousOffering)
setPreviousOffering
in interface
ModifyRFQBasicInfoCmd
newPreviousOffering
- The ID of the offering that this RFQ
resulted from in a multistage process.public void setPreviousOfferingType(java.lang.Integer newPreviousOfferingType)
setPreviousOfferingType
in interface
ModifyRFQBasicInfoCmd
newPreviousOfferingType
- The type of the offering that this
RFQ resulted from in a multistage process.public void setRoundNumber(java.lang.Integer newRoundNumber)
setRoundNumber
in interface
ModifyRFQBasicInfoCmd
newRoundNumber
- The current rounD number of the
RFQ.public void setShortdesc(java.lang.String newShortdesc)
setShortdesc
in interface
ModifyRFQBasicInfoCmd
newShortdesc
- The RFQ short description.public void setStageNumber(java.lang.Integer newStageNumber)
setStageNumber
in interface
ModifyRFQBasicInfoCmd
newStageNumber
- The stage this RFQ belongs to within a
multistage business process.public void setStartTime(java.sql.Timestamp newStartTime)
setStartTime
in interface
ModifyRFQBasicInfoCmd
newStartTime
- The RFQ start date and
time.public void setState(java.lang.Integer newState)
setState
in interface
ModifyRFQBasicInfoCmd
newState
- The RFQ state represented by an
integer.public void setTradingEngine(java.lang.Long newTradingEngine)
setTradingEngine
in interface
ModifyRFQBasicInfoCmd
newTradingEngine
- The ID of the trading
engine.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
-
ECException
ECCommand#validateParameters()
public java.lang.Integer getRuleType()
public void setRuleType(java.lang.Integer newRuleType)
setRuleType
in interface
ModifyRFQBasicInfoCmd
newRuleType
- The closing type ID.