java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.tools.command.ToolsControllerCommandImpl | +--com.ibm.commerce.utf.commands.TradingEngineBaseCmdImpl
This is the default implementation of the TradingEngineBaseCmd Command
Field Summary | |
---|---|
java.lang.String |
enddate Deprecated. End Date. |
protected
java.lang.String |
endtime Deprecated. End Time. |
protected
java.sql.Timestamp |
endtimestamp Deprecated. End Timestamp. |
protected
java.lang.String |
longdesc Deprecated. Long Description. |
protected
int |
maxoffer Deprecated. Maxium Offer. |
int |
multistage Deprecated. Multiple Stage. |
protected
java.lang.String |
name Deprecated. Name. |
protected
java.lang.Long |
ownerid Deprecated. Owner Id. |
protected
java.lang.String |
shortdesc Deprecated. Short Description. |
java.util.Vector |
stageinfo Deprecated. Stage Information. |
java.lang.String |
startdate Deprecated. Start Date. |
protected
java.lang.String |
starttime Deprecated. Start Time. |
java.sql.Timestamp |
starttimestamp Deprecated. Start Timestamp. |
protected
java.lang.Long |
statemachine Deprecated. State Machine. |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands. TradingEngineBaseCmd |
COPYRIGHT,
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand |
COPYRIGHT |
Constructor Summary | |
---|---|
TradingEngineBaseCmdImpl() Deprecated. Default Constructor. |
Method Summary | |
---|---|
java.lang.String |
getEnddate() Deprecated. Retrieves end date of the trading engine. |
java.lang.String |
getEndtime() Deprecated. Retrieves end time of the trading engine. |
java.sql.Timestamp |
getEndtimestamp() Deprecated. Retrieves end date and time of the trading engine. |
java.util.Hashtable |
getErrorContent() Deprecated. Retrieves the hash table of error codes. |
boolean |
getErrorFlag() Deprecated. Retrieves the error indicator. |
java.lang.String |
getLongdesc() Deprecated. Retrieves the long description. |
int |
getMaxoffer() Deprecated. Retrieves the number of offerings the trading engine is set up to manage. |
int |
getMultistage() Deprecated. Retrieves the multistage indicatoe. |
java.lang.String |
getName() Deprecated. Retrieves the name of the trading engine. |
java.lang.Long |
getOwnerid() Deprecated. Retrieves the member ID of the trading engine owner. |
java.lang.String |
getShortdesc() Deprecated. Retrieves short description. |
java.util.Vector |
getStageinfo() Deprecated. Retrieves stage information for the trading engine, such as number of rounds in each stage, the algorithms to apply in every round etc. |
java.lang.String |
getStartdate() Deprecated. Retrieves start date of the trading engine. |
java.lang.String |
getStarttime() Deprecated. Retrieves start time of the trading engine. |
java.sql.Timestamp |
getStarttimestamp() Deprecated. Retrieves start date and time of the trading engine. |
java.lang.Long |
getStatemachine() Deprecated. Retrieves the state machine of the trading engine. |
java.util.Hashtable |
getToolXMLObject() Deprecated. Returns the hastable which represents tools framework's XML object. |
boolean |
isErrorFlag() Deprecated. Returns the error indicator. |
void |
setEnddate(java.lang.String newEnddate) Deprecated. Stores the incoming value of the end date. |
void |
setEndDateFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves end date from the tools XML object and stores it in a member variable. |
void |
setEndtime(java.lang.String newEndtime) Deprecated. Stores the incoming value of the end time. |
void |
setEndTimeFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves end time from the tools XML object and stores it in a member variable. |
void |
setEndtimestamp(java.sql.Timestamp newEndtimestamp) Deprecated. Stores the incoming value of the end date and time. |
void |
setErrorContent(java.util.Hashtable newErrorContent) Deprecated. Stores the incoming hashtable of error codes. |
void |
setErrorFlag(boolean newErrorFlag) Deprecated. Stores the incoming value of the eror indicator. |
void |
setLongdesc(java.lang.String newDescription) Deprecated. Stores the incoming value of the long description. |
void |
setLongDescriptionFromUrl(java.lang.String s,
boolean isReq) Deprecated. Retrieves the long description from the tools XML object and stores it in a member variable. |
void |
setMaxoffer(int newMaxoffer) Deprecated. Stores the incoming value of the trading engine's offering limit. |
void |
setMaxOfferFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves the offering limit for the trading engine from the tools XML object and stores it in a member variable. |
void |
setMultistage(int newMultistage) Deprecated. Stores the number of stages. |
void |
setMultiStageFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves the stage information for the trading engine from the tools XML object and stores it in a member variable. |
void |
setName(java.lang.String newName) Deprecated. Stores the trading engine name. |
void |
setNameFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves the name of the trading engine from the tools XML object and stores it in a member variable. |
void |
setOwnerid(java.lang.Long newOwnerid) Deprecated. Stores the trading engine owner's member ID. |
void |
setRequestProperties(
TypedProperty paramTable) Deprecated. Extracts the Hashtable of name-value pairs that have been sent up from the Tools UI and saves the hashtable in a private member(toolXMLObject) |
void |
setShortdesc(java.lang.String newShortdesc) Deprecated. Stores the short description. |
void |
setShortDescriptionFromUrl(java.lang.String s,
boolean isReq) Deprecated. Retrieves the short description from the tools XML object and stores it in a member variable. |
void |
setStageinfo(java.util.Vector newStageinfo) Deprecated. Stores the stage information vector. |
void |
setStageInfoFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves the information pertaining to each stage of negotiation from the tools XML object and stores it in a member variable. |
void |
setStartdate(java.lang.String newStartdate) Deprecated. Stores the incoming value for the start date. |
void |
setStartDateFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves the start date from the tools XML object and stores it in a member variable. |
void |
setStarttime(java.lang.String newStarttime) Deprecated. Stores the incoming value for the start time. |
void |
setStartTimeFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves the start time from the tools XML object and stores it in a member variable. |
void |
setStarttimestamp(java.sql.Timestamp newStarttimestamp) Deprecated. Stores the incoming value for the start date and time. |
void |
setStatemachine(java.lang.Long newStatemachine) Deprecated. Stores the incoming value for the state machine. |
void |
setStateMachineFromUrl(java.lang.String s, boolean isReq) Deprecated. Retrieves the state machine or flow number from the tools XML object and stores it in a member variable. |
void |
setToolXMLObject(java.util.Hashtable newToolXMLObject) Deprecated. Sets the XML Object composed by the tools framework. |
Methods inherited from class com.ibm.commerce.tools.command. ToolsControllerCommandImpl |
getViewInputProperties |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResolvedRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
performExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
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. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String longdesc
protected java.lang.Long statemachine
protected java.lang.String starttime
protected java.lang.String endtime
protected java.sql.Timestamp endtimestamp
protected int maxoffer
public java.sql.Timestamp starttimestamp
public java.lang.String startdate
public java.lang.String enddate
public java.util.Vector stageinfo
protected java.lang.Long ownerid
public int multistage
protected java.lang.String shortdesc
Constructor Detail |
---|
public TradingEngineBaseCmdImpl()
Method Detail |
---|
public java.lang.String getEnddate()
public java.lang.String getEndtime()
public java.sql.Timestamp getEndtimestamp()
public java.util.Hashtable getErrorContent()
public boolean getErrorFlag()
public java.lang.String getLongdesc()
public int getMaxoffer()
public int getMultistage()
public java.lang.String getName()
public java.lang.Long getOwnerid()
public java.lang.String getShortdesc()
public java.util.Vector getStageinfo()
public java.lang.String getStartdate()
public java.lang.String getStarttime()
public java.sql.Timestamp getStarttimestamp()
public java.lang.Long getStatemachine()
public java.util.Hashtable getToolXMLObject()
public boolean isErrorFlag()
public void setEnddate(java.lang.String newEnddate)
newEnddate
- The end date.public void setEndDateFromUrl(java.lang.String s, boolean isReq)
setEndDateFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setEndtime(java.lang.String newEndtime)
newEndtime
- The end time.public void setEndTimeFromUrl(java.lang.String s, boolean isReq)
setEndTimeFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setEndtimestamp(java.sql.Timestamp newEndtimestamp)
newEndtimestamp
- The end date and time.public void setErrorContent(java.util.Hashtable newErrorContent)
public void setErrorFlag(boolean newErrorFlag)
newErrorFlag
- The error indicator.public void setLongdesc(java.lang.String newDescription)
newDescription
- The long description.public void setLongDescriptionFromUrl(java.lang.String s, boolean isReq)
setLongDescriptionFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setMaxoffer(int newMaxoffer)
newMaxoffer
- The offering limit.public void setMaxOfferFromUrl(java.lang.String s, boolean isReq)
setMaxOfferFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setMultistage(int newMultistage)
newMultistage
- The number of stages.public void setMultiStageFromUrl(java.lang.String s, boolean isReq)
setMultiStageFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setName(java.lang.String newName)
newName
- The name of the trading engine.public void setNameFromUrl(java.lang.String s, boolean isReq)
setNameFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setOwnerid(java.lang.Long newOwnerid)
newOwnerid
- The member ID of the trading engine
owner.public void setRequestProperties(TypedProperty paramTable) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ToolsControllerCommandImpl
paramTable
- TypedProperty of request parameters
ECApplicationException
ControllerCmd#setRequestProperties(TypedProperty)
public void setShortdesc(java.lang.String newShortdesc)
newShortdesc
- The short description.public void setShortDescriptionFromUrl(java.lang.String s, boolean isReq)
setShortDescriptionFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setStageinfo(java.util.Vector newStageinfo)
newStageinfo
- The stage information.public void setStageInfoFromUrl(java.lang.String s, boolean isReq)
setStageInfoFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setStartdate(java.lang.String newStartdate)
newStartdate
- The start date.public void setStartDateFromUrl(java.lang.String s, boolean isReq)
setStartDateFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setStarttime(java.lang.String newStarttime)
newStarttime
- The start time.public void setStartTimeFromUrl(java.lang.String s, boolean isReq)
setStartTimeFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setStarttimestamp(java.sql.Timestamp newStarttimestamp)
newStarttimestamp
- The start date and
time.public void setStatemachine(java.lang.Long newStatemachine)
newStatemachine
- The state machine
identifier.public void setStateMachineFromUrl(java.lang.String s, boolean isReq)
setStateMachineFromUrl
in interface
TradingEngineBaseCmd
s
- The parameter name to look for in the tools XML
object.isReq
- true if it is a mandatory parameter, false
otherwise.public void setToolXMLObject(java.util.Hashtable newToolXMLObject)
newToolXMLObject
- The tools framework's XML
object.