com.ibm.commerce.utf.commands
Interface ModifyRFQBasicInfoCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
ModifyRFQBasicInfoCmdImpl

public interface ModifyRFQBasicInfoCmd
extends TaskCommand

Task command interface to update basic RFQ details.
Basic information pertaining to an RFQ such as it name, owner, effective and expiry dates, state, version number and so on are encapsulated in an RFQ object, which is then persisted. This command updates the RFQ object using the supplied values for its various fields.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 java.lang.Long getOfferingId()
          Retrieves the ID of the 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 languageId)
          Stores the language identifier.
 void setLongdesc(java.lang.String newLongdesc)
          Stores the long description for the RFQ.
 void setMajorVersion(java.lang.Integer majorVersion)
          Stores the major version number of the RFQ.
 void setMarkForDelete(java.lang.Integer markForDelete)
          Stores the incoming value for the MarkForDelete flag.
 void setMinorVersion(java.lang.Integer minorVersion)
          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 ID of offering to be updated.
 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 roundNumber)
          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 stageNumber)
          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.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

getOfferingId

public java.lang.Long getOfferingId()
Retrieves the ID of the RFQ.
Returns:
The new RFQ ID.

setAccessType

public void setAccessType(java.lang.Integer newAccessType)
Stores the accesstype of the RFQ.
Parameters:
newAccessType - The access type of the RFQ. The access type could be private or public.

setAccountId

public void setAccountId(java.lang.Long newAccountId)
Stores the account ID.
Parameters:
newAccountId - The account Id.

setDuration

public void setDuration(java.sql.Timestamp newDuration)
Stores the duration limit between successive responses. Once this duration is past, it could be so set up that the RFQ automatically closes.
Parameters:
newDuration - The duration limit between successive responses.

setEndResult

public void setEndResult(java.lang.Integer newEndResult)
Stores an integer representing the expected outcome of this RFQ. An RFQ could result in further negotiation, a contract or an order.
Parameters:
newEndResult - The end result of the RFQ.

setEndTime

public void setEndTime(java.sql.Timestamp newEndTime)
Stores the supplied value for the RFQ closing time.
Parameters:
newEndTime - The closing date and time of the RFQ.

setLanguageId

public void setLanguageId(java.lang.Integer languageId)
Stores the language identifier.
Parameters:
languageId - The language iudentifier.

setLongdesc

public void setLongdesc(java.lang.String newLongdesc)
Stores the long description for the RFQ.
Parameters:
newLongdesc - The RFQ long description.

setMajorVersion

public void setMajorVersion(java.lang.Integer majorVersion)
Stores the major version number of the RFQ.
Parameters:
majorVersion - The major version number.

setMarkForDelete

public void setMarkForDelete(java.lang.Integer markForDelete)
Stores the incoming value for the MarkForDelete flag.
Parameters:
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.

setMinorVersion

public void setMinorVersion(java.lang.Integer minorVersion)
Stores the minor version number of the RFQ.
Parameters:
minorVersion - java.lang.Integer

setName

public void setName(java.lang.String newName)
Stores the name of the RFQ.
Parameters:
newName - The RFQ name.

setNextOffering

public 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.
Parameters:
newNextOffering - The ID of the offering that results from this RFQ in a multistage process.

setNextOfferingType

public 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.
Parameters:
newNextOfferingType - The type of the offering that follows this RFQ in a multistage process.

setNumResponses

public void setNumResponses(java.lang.Integer newNumResponses)
Stores the limit for the number of responses. If specified, once this limit is exceeded, the RFQ could be set up to close automatically.
Parameters:
newNumResponses - The limit for the number of RFQ responses.

setOfferingId

public void setOfferingId(java.lang.Long newOfferingid)
Stores the ID of offering to be updated.
Parameters:
newOfferingid - The ID of the offering to be updated.

setOwnerId

public void setOwnerId(java.lang.Long newOwnerid)
Stores the RFQ Owner ID.
Parameters:
newOwnerid - The ID of the RFQ owner.

setPreviousOffering

public 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.
Parameters:
newPreviousOffering - The ID of the offering that this RFQ resulted from in a multistage process.

setPreviousOfferingType

public 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.
Parameters:
newPreviousOffering - The type of the offering that this RFQ resulted from in a multistage process.

setRoundNumber

public void setRoundNumber(java.lang.Integer roundNumber)
Stores the current round number of the RFQ. Several rounds of an RFQ might be conducted.
Parameters:
roundNumber - The current rounD number of the RFQ.

setShortdesc

public void setShortdesc(java.lang.String newShortdesc)
Stores a brief description of the RFQ.
Parameters:
newShortdesc - The RFQ short description.

setStageNumber

public void setStageNumber(java.lang.Integer stageNumber)
Stores the stage number. The RFQ belongs to this stage number within a multistage business process.
Parameters:
stageNumber - The stage this RFQ belongs to within a multistage business process.

setStartTime

public void setStartTime(java.sql.Timestamp newStartTime)
Stores the effective date and time for this RFQ.
Parameters:
newStartTime - The RFQ start date and time.

setState

public void setState(java.lang.Integer newState)
Stores an integer representing the RFQ state.
Parameters:
newState - The RFQ state represented by an integer.

setTradingEngine

public void setTradingEngine(java.lang.Long newTradingengine)
Stores the ID of the trading engine that manages the RFQ.
Parameters:
newTradingengine - The ID of the trading engine.