java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.CreateRFQBasicInfoCmdImpl
Creates basic RFQ information.
Behaviour
Exception conditions
StoreAccessBean
RFQAccessBean
Field Summary | |
---|---|
java.lang.Integer |
accessType Access Type. |
java.lang.Long |
accountId Account Id. |
java.sql.Timestamp |
duration Duration. |
java.lang.Integer |
endResult End Result. |
java.sql.Timestamp |
endTime End Time. |
java.lang.Integer |
languageId Language Id. |
java.lang.String |
longdesc Long Descritpion. |
java.lang.Integer |
majorVersion Major Version. |
java.lang.Integer |
markForDelete Markfordelete. |
java.lang.Integer |
minorVersion Minor Version. |
java.lang.String |
name RFQ Name. |
java.lang.Long |
nextOffering Next Offering. |
java.lang.Integer |
nextOfferingType Next Offering Type. |
java.lang.Integer |
numResponses Number of Responses. |
java.lang.Long |
offeringId Offering Id. |
java.lang.Long |
ownerId 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 Short Descritpion. |
java.lang.Integer |
stageNumber Stage Number. |
java.sql.Timestamp |
startTime Start Time. |
java.lang.Integer |
state RFQ State. |
java.lang.Long |
tradingEngine Trading Engine. |
java.lang.Integer |
versionflags Version Flag. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. CreateRFQBasicInfoCmd |
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 | |
---|---|
CreateRFQBasicInfoCmdImpl() Default Constructor. |
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. |
java.lang.Integer |
getVersionflags() Gets the versionflags |
void |
performExecute()
Creates the RFQ object.
This method does the following:
Creates a new RFQ object. Creates a 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 incoming 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 |
setVersionflags(java.lang.Integer versionflags) Sets the versionflags |
void |
validateParameters()
Checks for the validity of the incoming parameters.
This method does the following:
Verifies that a name has been provided for the RFQ. Verifies that the closing
date and time has been specified. Verifies that ID of the RFQ owner has been
provided. Verifies that a language identifier has been
provided. |
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.Integer versionflags
public java.lang.Long accountId
Constructor Detail |
---|
public CreateRFQBasicInfoCmdImpl()
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
CreateRFQBasicInfoCmd
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
ECApplicationException
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
creating the RFQ.
ECSystemException
- If a system error occurs while creating the
RFQ.ECException
ECCommand#performExecute()
public void setAccessType(java.lang.Integer newAccessType)
setAccessType
in interface
CreateRFQBasicInfoCmd
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
CreateRFQBasicInfoCmd
newAccountId
- The account Id.public void setDuration(java.sql.Timestamp newDuration)
setDuration
in interface
CreateRFQBasicInfoCmd
newDuration
- The duration limit between successive
responses.public void setEndResult(java.lang.Integer newEndResult)
setEndResult
in interface
CreateRFQBasicInfoCmd
newEndResult
- The end result of the RFQ.public void setEndTime(java.sql.Timestamp newEndTime)
setEndTime
in interface
CreateRFQBasicInfoCmd
newEndTime
- The closing date and time of the
RFQ.public void setLanguageId(java.lang.Integer newLanguageId)
setLanguageId
in interface
CreateRFQBasicInfoCmd
newLanguageId
- The language iudentifier.public void setLongdesc(java.lang.String newLongdesc)
setLongdesc
in interface
CreateRFQBasicInfoCmd
newLongdesc
- The RFQ long description.public void setMajorVersion(java.lang.Integer newMajorVersion)
setMajorVersion
in interface
CreateRFQBasicInfoCmd
newMajorVersion
- The major version
number.public void setMarkForDelete(java.lang.Integer newMarkForDelete)
setMarkForDelete
in interface
CreateRFQBasicInfoCmd
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
CreateRFQBasicInfoCmd
newMinorVersion
- java.lang.Integerpublic void setName(java.lang.String newName)
setName
in interface
CreateRFQBasicInfoCmd
newName
- The RFQ name.public void setNextOffering(java.lang.Long newNextOffering)
setNextOffering
in interface
CreateRFQBasicInfoCmd
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
CreateRFQBasicInfoCmd
newNextOfferingType
- The type of the offering that follows
this RFQ in a multistage process.public void setNumResponses(java.lang.Integer newNumResponses)
setNumResponses
in interface
CreateRFQBasicInfoCmd
newNumResponses
- The limit for the number of RFQ
responses.public void setOfferingId(java.lang.Long newOfferingId)
setOfferingId
in interface
CreateRFQBasicInfoCmd
public void setOwnerId(java.lang.Long newOwnerId)
setOwnerId
in interface
CreateRFQBasicInfoCmd
newOwnerId
- The ID of the RFQ owner.public void setPreviousOffering(java.lang.Long newPreviousOffering)
setPreviousOffering
in interface
CreateRFQBasicInfoCmd
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
CreateRFQBasicInfoCmd
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
CreateRFQBasicInfoCmd
newRoundNumber
- The current rounD number of the
RFQ.public void setShortdesc(java.lang.String newShortdesc)
setShortdesc
in interface
CreateRFQBasicInfoCmd
newShortdesc
- The RFQ short description.public void setStageNumber(java.lang.Integer newStageNumber)
setStageNumber
in interface
CreateRFQBasicInfoCmd
newStageNumber
- The stage this RFQ belongs to within a
multistage business process.public void setStartTime(java.sql.Timestamp newStartTime)
setStartTime
in interface
CreateRFQBasicInfoCmd
newStartTime
- The RFQ start date and
time.public void setState(java.lang.Integer newState)
setState
in interface
CreateRFQBasicInfoCmd
newState
- The RFQ state represented by an
integer.public void setTradingEngine(java.lang.Long newTradingEngine)
setTradingEngine
in interface
CreateRFQBasicInfoCmd
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
CreateRFQBasicInfoCmd
newRuleType
- The type of closing rule to close an
RFQ.public java.lang.Integer getVersionflags()
public void setVersionflags(java.lang.Integer versionflags)
setVersionflags
in interface
CreateRFQBasicInfoCmd
versionflags
- The versionflags to set