public class CreateRFQBasicInfoCmdImpl extends TaskCommandImpl implements CreateRFQBasicInfoCmd
Behaviour
Exception conditions
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
accessType
Access Type.
|
java.lang.Long |
accountId
Account Id.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
java.sql.Timestamp |
duration
Duration.
|
java.lang.Integer |
endResult
End Result.
|
java.sql.Timestamp |
endTime
End Time.
|
java.lang.Long |
field1
Custom field1
|
java.lang.Integer |
field2
Custom field2
|
java.lang.String |
field3
Custom field3
|
java.lang.String |
field4
Custom field4
|
java.sql.Timestamp |
field5
Custom field5
|
java.sql.Timestamp |
field6
Custom field6
|
java.lang.Integer |
languageId
Language Id.
|
java.lang.String |
longdesc
Long Description.
|
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 Description.
|
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.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CreateRFQBasicInfoCmdImpl()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.Long |
getField1()
Gets the field1 value
|
java.lang.Integer |
getField2()
Gets the field2 value
|
java.lang.String |
getField3()
Gets the field3 value
|
java.lang.String |
getField4()
Gets the field4 value
|
java.sql.Timestamp |
getField5()
Gets the field5 value
|
java.sql.Timestamp |
getField6()
Gets the field6 value
|
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 |
setField1(java.lang.Long newField1)
Sets the field1 value
|
void |
setField2(java.lang.Integer newField2)
Sets the field2 value
|
void |
setField3(java.lang.String newField3)
Sets the field3 value
|
void |
setField4(java.lang.String newField4)
Sets the field4 value
|
void |
setField5(java.sql.Timestamp newField5)
Sets the field5 value
|
void |
setField6(java.sql.Timestamp newField6)
Sets the field6 value
|
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. |
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
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
public java.lang.Long field1
public java.lang.Integer field2
public java.lang.String field3
public java.lang.String field4
public java.sql.Timestamp field5
public java.sql.Timestamp field6
public CreateRFQBasicInfoCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
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 interface com.ibm.websphere.command.TargetableCommand
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
languageId
- 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
majorVersion
- The major version number.public void setMarkForDelete(java.lang.Integer newMarkForDelete)
setMarkForDelete
in interface CreateRFQBasicInfoCmd
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 CreateRFQBasicInfoCmd
minorVersion
- 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
newTradingid
- The trading agreement ID.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
stageNumber
- 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
ruleType
- The ruleType to setpublic java.lang.Integer getVersionflags()
public void setVersionflags(java.lang.Integer versionflags)
setVersionflags
in interface CreateRFQBasicInfoCmd
versionflags
- The versionflags to setpublic java.lang.Long getField1()
public java.lang.Integer getField2()
public java.lang.String getField3()
public java.lang.String getField4()
public java.sql.Timestamp getField5()
public java.sql.Timestamp getField6()
public void setField1(java.lang.Long newField1)
setField1
in interface CreateRFQBasicInfoCmd
field1
- The field1 value to setpublic void setField2(java.lang.Integer newField2)
setField2
in interface CreateRFQBasicInfoCmd
field2
- The field2 value to setpublic void setField3(java.lang.String newField3)
setField3
in interface CreateRFQBasicInfoCmd
field3
- The field3 value to setpublic void setField4(java.lang.String newField4)
setField4
in interface CreateRFQBasicInfoCmd
field4
- The field4 value to setpublic void setField5(java.sql.Timestamp newField5)
setField5
in interface CreateRFQBasicInfoCmd
field5
- The field5 value to setpublic void setField6(java.sql.Timestamp newField6)
setField6
in interface CreateRFQBasicInfoCmd
field6
- The field6 value to set