com.ibm.commerce.negotiation.commands
Interface CalculateBestBidCmd
-
- All Superinterfaces:
- com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
- All Known Implementing Classes:
- CalculateBestBidCmdImpl
public interface CalculateBestBidCmd extends TaskCommand
Calculate the highest winning bid and lowest winning bid (also known as best bid) interfaces.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM copyright notice field.static java.lang.String
defaultCommandClassName
The default implementation class name.static java.lang.String
NAME
The full class name for this interface file.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.Long
getHighestWinningBid()
Gets the highest winning bid ID for the specified auction.java.lang.Long
getLowestWinningBid()
Gets the lowest winning bid (also known as Best Bid) ID for the specified auctionvoid
setActiveBids(java.util.Vector bids)
Sets the list of active bids to be processed.void
setAuctionId(java.lang.Long id)
Sets the current auction ID value,void
setErrorTaskName(java.lang.String errorTaskName)
Sets error task name that will be returned by the exceptions.void
setQuantityOnAuction(java.lang.Double quantity)
Sets the quantity on auction value.-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
IBM copyright notice field.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The full class name for this interface file.- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
The default implementation class name. This is used if there is no record found in the CMDREG table.- See Also:
- Constant Field Values
-
-
Method Detail
-
getHighestWinningBid
java.lang.Long getHighestWinningBid()
Gets the highest winning bid ID for the specified auction.- Returns:
- Long - Highest winning bid ID.
-
getLowestWinningBid
java.lang.Long getLowestWinningBid()
Gets the lowest winning bid (also known as Best Bid) ID for the specified auction- Returns:
- Long - Lowest winning bid ID.
-
setActiveBids
void setActiveBids(java.util.Vector bids)
Sets the list of active bids to be processed.- Parameters:
bids
- Vector - Active bids list
-
setAuctionId
void setAuctionId(java.lang.Long id)
Sets the current auction ID value,- Parameters:
id
- Long - Auction ID
-
setErrorTaskName
void setErrorTaskName(java.lang.String errorTaskName)
Sets error task name that will be returned by the exceptions.- Parameters:
errorTaskName
- java.lang.String
-
setQuantityOnAuction
void setQuantityOnAuction(java.lang.Double quantity)
Sets the quantity on auction value.- Parameters:
quantity
- Double - Quantity on auction.
-
-