public class GenBidRefCmdImpl extends TaskCommandImpl implements GenBidRefCmd, com.ibm.commerce.negotiation.util.AuctionConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | keySeparator
The generated key will be formatted in three numeric sub-keys separated by hyphens - the keySeperator is the hyphen.
|
static int | LAST_SUBKEY_LEN
The last subkey length.
|
static int | MIDDLE_SUBKEY_LEN
The length of the middle subkey.
|
Constructor and Description |
---|
GenBidRefCmdImpl()
GenBidRefImpl default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getBidReferenceKey()
Returns a unique bid reference key.
|
boolean | isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
void | performExecute()
Generates a unique bid reference number and saves locally for future retrieval.
|
void | setBidType(java.lang.String bidType)
Sets this bid type.
|
void | setErrorTaskName(java.lang.String errorTaskName)
Sets error task name that will be returned by the exceptions.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String keySeparator
public static final int MIDDLE_SUBKEY_LEN
public static final int LAST_SUBKEY_LEN
public java.lang.String getBidReferenceKey()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setBidType(java.lang.String bidType)
public void setErrorTaskName(java.lang.String errorTaskName)