|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.tools.command.ToolsControllerCommandImpl | +--com.ibm.commerce.utf.commands.TradingEngineBaseCmdImpl
Base class implementation for trading engine.
Field Summary | |
java.lang.String |
enddate
|
protected java.lang.String |
endtime
|
protected java.sql.Timestamp |
endtimestamp
|
protected java.lang.String |
longdesc
|
protected int |
maxoffer
|
int |
multistage
|
protected java.lang.String |
name
|
protected java.lang.Long |
ownerid
|
protected java.lang.String |
shortdesc
|
java.util.Vector |
stageinfo
|
java.lang.String |
startdate
|
protected java.lang.String |
starttime
|
java.sql.Timestamp |
starttimestamp
|
protected java.lang.Long |
statemachine
|
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()
Insert the method's description here. |
Method Summary | |
java.lang.String |
getEnddate()
Retrieves end date of the trading engine. |
java.lang.String |
getEndtime()
Retrieves end time of the trading engine. |
java.sql.Timestamp |
getEndtimestamp()
Retrieves end date and time of the trading engine. |
java.util.Hashtable |
getErrorContent()
Retrieves the hash table of error codes. |
boolean |
getErrorFlag()
Retrieves the error indicator. |
java.lang.String |
getLongdesc()
Retrieves the long description. |
int |
getMaxoffer()
Retrieves the number of offerings the trading engine is set up to manage. |
int |
getMultistage()
Retrieves the multistage indicatoe. |
java.lang.String |
getName()
Retrieves the name of the trading engine. |
java.lang.Long |
getOwnerid()
Retrieves the member ID of the trading engine owner. |
java.lang.String |
getShortdesc()
Retrieves short description. |
java.util.Vector |
getStageinfo()
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()
Retrieves start date of the trading engine. |
java.lang.String |
getStarttime()
Retrieves start time of the trading engine. |
java.sql.Timestamp |
getStarttimestamp()
Retrieves start date and time of the trading engine. |
java.lang.Long |
getStatemachine()
Retrieves the state machine of the trading engine. |
java.util.Hashtable |
getToolXMLObject()
Returns the hastable which represents tools framework's XML object. |
boolean |
isErrorFlag()
Returns the error indicator. |
void |
setEnddate(java.lang.String newEnddate)
Stores the incoming value of the end date. |
void |
setEndDateFromUrl(java.lang.String s,
boolean isReq)
Retrieves end date from the tools XML object and stores it in a member variable. |
void |
setEndtime(java.lang.String newEndtime)
Stores the incoming value of the end time. |
void |
setEndTimeFromUrl(java.lang.String s,
boolean isReq)
Retrieves end time from the tools XML object and stores it in a member variable. |
void |
setEndtimestamp(java.sql.Timestamp newEndtimestamp)
Stores the incoming value of the end date and time. |
void |
setErrorContent(java.util.Hashtable newErrorContent)
Stores the incoming hashtable of error codes. |
void |
setErrorFlag(boolean newErrorFlag)
Stores the incoming value of the eror indicator. |
void |
setLongdesc(java.lang.String newDescription)
Stores the incoming value of the long description. |
void |
setLongDescriptionFromUrl(java.lang.String s,
boolean isReq)
Retrieves the long description from the tools XML object and stores it in a member variable. |
void |
setMaxoffer(int newMaxoffer)
Stores the incoming value of the trading engine's offering limit. |
void |
setMaxOfferFromUrl(java.lang.String s,
boolean isReq)
Retrieves the offering limit for the trading engine from the tools XML object and stores it in a member variable. |
void |
setMultistage(int newMultistage)
Stores the number of stages. |
void |
setMultiStageFromUrl(java.lang.String s,
boolean isReq)
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)
Stores the trading engine name. |
void |
setNameFromUrl(java.lang.String s,
boolean isReq)
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)
Stores the trading engine owner's member ID. |
void |
setRequestProperties(TypedProperty paramTable)
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)
Stores the short description. |
void |
setShortDescriptionFromUrl(java.lang.String s,
boolean isReq)
Retrieves the short description from the tools XML object and stores it in a member variable. |
void |
setStageinfo(java.util.Vector newStageinfo)
Stores the stage information vector. |
void |
setStageInfoFromUrl(java.lang.String s,
boolean isReq)
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)
Stores the incoming value for the start date. |
void |
setStartDateFromUrl(java.lang.String s,
boolean isReq)
Retrieves the start date from the tools XML object and stores it in a member variable. |
void |
setStarttime(java.lang.String newStarttime)
Stores the incoming value for the start time. |
void |
setStartTimeFromUrl(java.lang.String s,
boolean isReq)
Retrieves the start time from the tools XML object and stores it in a member variable. |
void |
setStarttimestamp(java.sql.Timestamp newStarttimestamp)
Stores the incoming value for the start date and time. |
void |
setStatemachine(java.lang.Long newStatemachine)
Stores the incoming value for the state machine. |
void |
setStateMachineFromUrl(java.lang.String s,
boolean isReq)
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)
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 |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
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, setAccCheck, setForUserId, setOwner |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public java.lang.String enddate
protected java.lang.String endtime
protected java.sql.Timestamp endtimestamp
protected java.lang.String longdesc
protected int maxoffer
public int multistage
protected java.lang.String name
protected java.lang.Long ownerid
protected java.lang.String shortdesc
public java.util.Vector stageinfo
public java.lang.String startdate
protected java.lang.String starttime
public java.sql.Timestamp starttimestamp
protected java.lang.Long statemachine
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)
newEnddate
- The hashtable of error codes.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 parametersECApplicationException
- 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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |