|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.command.AbstractECCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.utf.commands.ModifyRFQBasicInfoCmdImpl
Task command implementation to update basic RFQ details.
Field Summary | |
java.lang.Integer |
accessType
|
java.lang.Long |
accountId
|
java.sql.Timestamp |
duration
|
java.lang.Integer |
endResult
|
java.sql.Timestamp |
endTime
|
java.lang.Integer |
languageId
|
java.lang.String |
longdesc
|
java.lang.Integer |
majorVersion
|
java.lang.Integer |
markForDelete
|
java.lang.Integer |
minorVersion
|
java.lang.String |
name
|
java.lang.Long |
nextOffering
|
java.lang.Integer |
nextOfferingType
|
java.lang.Integer |
numResponses
|
java.lang.Long |
offeringId
|
java.lang.Long |
ownerId
|
java.lang.Long |
previousOffering
|
java.lang.Integer |
previousOfferingType
|
java.lang.Integer |
roundNumber
|
java.lang.String |
shortdesc
|
java.lang.Integer |
stageNumber
|
java.sql.Timestamp |
startTime
|
java.lang.Integer |
state
|
java.lang.Long |
tradingEngine
|
Fields inherited from class com.ibm.commerce.command.AbstractECCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands.ModifyRFQBasicInfoCmd |
COPYRIGHT, defaultCommandClassName, NAME |
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.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 |
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 |
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.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, 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, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Field Detail |
public java.lang.Integer accessType
public java.lang.Long accountId
public java.sql.Timestamp duration
public java.lang.Integer endResult
public java.sql.Timestamp endTime
public java.lang.Integer languageId
public java.lang.String longdesc
public java.lang.Integer majorVersion
public java.lang.Integer markForDelete
public java.lang.Integer minorVersion
public java.lang.String name
public java.lang.Long nextOffering
public java.lang.Integer nextOfferingType
public java.lang.Integer numResponses
public java.lang.Long offeringId
public java.lang.Long ownerId
public java.lang.Long previousOffering
public java.lang.Integer previousOfferingType
public java.lang.Integer roundNumber
public java.lang.String shortdesc
public java.lang.Integer stageNumber
public java.sql.Timestamp startTime
public java.lang.Integer state
public java.lang.Long tradingEngine
Constructor Detail |
public ModifyRFQBasicInfoCmdImpl()
Method Detail |
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 AbstractECCommand
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 AbstractECCommand
ECApplicationException
- If an application error occurs while updating the RFQ.ECSystemException
- If a system error occurs while updating the RFQ.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
languageId
- 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
majorVersion
- The major version number.public void setMarkForDelete(java.lang.Integer newMarkForDelete)
setMarkForDelete
in interface ModifyRFQBasicInfoCmd
markForDelete
- 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
minorVersion
- 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
stageNumber
- 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 AbstractECCommand
ECApplicationException
-
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |