java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.tools.command.ToolsControllerCommandImpl
com.ibm.commerce.utf.commands.OfferingBaseCmdImpl
This is the default implementation of the OfferingBaseCmd.
This command uses the following AccessBeans:
Field Summary | |
java.lang.Integer | accessType Access Type. |
java.lang.Long | accountid Account Id. |
int | closingrule Closing Rule. |
java.lang.String | documentdesc Document Description. |
java.lang.String | documentURL Document URL. |
java.lang.String | domain Domain. |
java.lang.String | enddate End Date. |
int | endresult End Result. |
java.lang.String | endtime End Time. |
java.sql.Timestamp | endtimestamp End Timestamp. |
java.lang.String | longdesc Long Description. |
java.lang.String | mimeencoding Document Mime Coding. |
java.lang.String | mimetype Document Mime Type. |
java.lang.String | name Name. |
int | numbids Number of Bids. |
java.lang.Integer | numResponses Number of Responses. |
java.lang.Long | offeringid Offering Id. |
java.lang.Long | ownerid Owner Id. |
java.util.Vector | participantList Participant List. |
java.util.Vector | prodattrList Product Attribute List. |
java.util.Vector | prodComments Product Comments. |
java.util.Vector | prodList Product List. |
java.lang.Integer | ruleType Rule Type. |
java.lang.String | shortdesc Short Description. |
java.lang.String | startdate Start Date. |
java.lang.String | starttime Start Time. |
java.sql.Timestamp | starttimestamp Start Timestamp. |
java.lang.Integer | state State. |
java.lang.Long | statemachine State Machine. |
java.util.Vector | TcElements Term and Condition Elements. |
java.util.Vector | tcList Term and Condition List. |
java.lang.Long | tradingengine Trading Engine. |
java.lang.Integer | versionid Version ID. |
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.OfferingBaseCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Constructor Summary | |
OfferingBaseCmdImpl() |
Method Summary | |
java.lang.Integer | getAccessType() Gets the accessType |
java.lang.Long | getAccountid() Retrieves the account Id. |
int | getClosingrule() Returns the closing rule. |
java.lang.String | getDocumentdesc() Returns the document description. |
java.lang.String | getDocumentURL() Returns the URL for the attachment. |
java.lang.String | getDomain() Returns the domain of trade. |
java.lang.String | getEnddate() Returns the ending date for the offering. |
int | getEndresult() Returns an integer value that indicates the offering's end result: 0 - Contract, 1 - Order ,... |
java.lang.String | getEndtime() Returns the ending time for the offering. |
java.sql.Timestamp | getEndtimestamp() Returns the offering's end date and time as a java timestamp. |
java.util.Hashtable | getErrorContent() Returns the hashtable containing error codes and parameters. |
boolean | getErrorFlag() Returns the value of the error flag. |
java.lang.String | getLongdesc() Returns the long description for the offering. |
java.lang.String | getMimeencoding() Returns the mime encoding for the offering attachment. |
java.lang.String | getMimetype() Returns the mime type for the offering attachment. |
java.lang.String | getName() Returns the name of the offering. |
int | getNumbids() Returns the number of responses needed for offering to close automatically. An offering could be set up to close automatically after a certain number of responses have been received. |
java.lang.Integer | getNumResponses() Gets the numResponses |
java.lang.Long | getOfferingid() Returns the identifier for the Offering. |
java.lang.Long | getOwnerid() Returns the member identifier for the owner of the offering. |
java.util.Vector | getParticipantList() Returns the list of participants for the offering. |
java.util.Vector | getProdattrList() Returns the list of product attributes for the offering. |
java.util.Vector | getProdComments() Returns the lisr of product comments for the offering. |
java.util.Vector | getProdList() Returns the list of products for the offering. |
java.lang.Integer | getRuleType() Gets the ruleType |
java.lang.String | getShortdesc() Returns the short description for the offering. |
java.lang.String | getStartdate() Returns the start date for the offering. |
java.lang.String | getStarttime() Returns the start time for the offering. |
java.sql.Timestamp | getStarttimestamp() Returns the start date and time for the offering as a java timestamp. |
java.lang.Integer | getState() Returns the integer value for the Offering's state. |
java.lang.Long | getStatemachine() Returns the state machine for the offering. |
java.util.Vector | getTcList() Returns the list of TCs for the offering. |
java.util.Hashtable | getToolXMLObject() Returns the hastable which represents tools framework's XML object. |
java.lang.Long | getTradingengine() Returns the identifier of the trading engine that manages the offering. |
java.lang.Integer | getVersionid() Returns the version number of the offering. |
void | reset() Reset the command. |
void | setAccessType(java.lang.Integer accessType) Sets the accessType |
void | setAccountid(java.lang.Long newAccountid) Stores the incoming account ID. |
void | setAccountIdFromUrl(java.lang.String s, boolean isReq) Retrieves the account identifier from the tools XML object and stores it in a member variable. |
void | setClosingrule(int newClosingrule) Sets the closing rule for the offering. |
void | setClosingRuleFromUrl(java.lang.String s, boolean isReq) Retrieves the closing rule identifier from the tools XML object and stores it in a member variable. |
void | setDocumentdesc(java.lang.String newDocumentdesc) Sets the attachment description. |
void | setDocumentDescriptionFromUrl(java.lang.String s, boolean isReq) Retrieves the attachment description from the tools XML object and stores it in a member variable. |
void | setDocumentURL(java.lang.String newDocumentURL) Sets the attachment URL. |
void | setDocumentURLFromUrl(java.lang.String s, boolean isReq) Retrieves the attachment URL from the tools XML object and stores it in a member variable. |
void | setDomain(java.lang.String newDomain) Sets the trading domain. |
void | setDomainFromUrl(java.lang.String s, boolean isReq) Retrieves the trading domain from the tools XML object and stores it in a member variable. |
void | setEnddate(java.lang.String newEnddate) Sets the offering end date. |
void | setEndDateFromUrl(java.lang.String s, boolean isReq) Retrieves the offering end date from the tools XML object and stores it in a member variable. |
void | setEndresult(int newEndresult) Sets the end result of the offering. |
void | setEndResultFromUrl(java.lang.String s, boolean isReq) Retrieves the offering end result from the tools XML object and stores it in a member variable. |
void | setEndtime(java.lang.String newEndtime) Sets the end time of the offering. |
void | setEndTimeFromUrl(java.lang.String s, boolean isReq) Retrieves the offering end time from the tools XML object and stores it in a member variable. |
void | setEndtimestamp(java.sql.Timestamp newEndtimestamp) Sets the end date and time of the offering in a java timestamp. |
void | setErrorContent(java.util.Hashtable newErrorContent) Sets the hashtable containing error codes. |
void | setErrorFlag(boolean newErrorFlag) Sets the error flag. |
void | setLongdesc(java.lang.String newLongdesc) Sets the long description of the offering. |
void | setLongDescFromUrl(java.lang.String s, boolean isReq) Retrieves the long description from the tools XML object and stores it in a member variable. |
void | setMarketFromUrl(java.lang.String s, boolean isReq) Retrieves the market/store identifier from the tools XML object and stores it in a member variable. |
void | setMimeencoding(java.lang.String newMimeencoding) Sets the mime encoding of the offering attachment. |
void | setMimetype(java.lang.String newMimetype) Sets the mime type of the offering attachment. |
void | setMimeTypeEncodingFromUrl(java.lang.String s, boolean isReq) Retrieves the mime type encoding of the attachment from the tools XML object and stores it in a member variable. |
void | setMimeTypeFromUrl(java.lang.String s, boolean isReq) Retrieves the mime type of the attachment from the tools XML object and stores it in a member variable. |
void | setName(java.lang.String newName) Sets the name of the offering. |
void | setNameFromUrl(java.lang.String s, boolean isReq) Retrieves the offering name from the tools XML object and stores it in a member variable. |
void | setNumbids(int newNumbids) Sets the response count for the offering. Once this response count is reached, the offering may be set up to close automatically. |
void | setNumBidsFromUrl(java.lang.String s, boolean isReq) Retrieves the offering's response count from the tools XML object and stores it in a member variable. |
void | setNumResponses(java.lang.Integer numResponses) Sets the numResponses |
void | setOfferAttrListFromUrl(java.lang.String s, boolean isReq) Retrieves the list of attributes for the offeringfrom the tools XML object and stores it in a member variable. |
void | setOfferIdFromUrl(java.lang.String s, boolean isReq) Retrieves the offering identifier from the tools XML object and stores it in a member variable. |
void | setOfferingid(java.lang.Long newOfferingid) Sets the ID of the offering. |
void | setOwnerid(java.lang.Long newOwnerid) Sets the member ID of the offering owner. |
void | setOwnerIdFromUrl(java.lang.String s, boolean isReq) Retrieves the member identifier of the offering owner from the tools XML object and stores it in a member variable. |
void | setParticipantList(java.util.Vector newParticipantList) Sets the participant list for the offering. |
void | setParticipantListFromUrl(java.lang.String s, boolean isReq) Retrieves the list of participants from the tools XML object and stores it in a member variable. |
void | setProdattrList(java.util.Vector newProdattrList) Sets the product attributes list for the offering. |
void | setProdAttrListFromUrl(java.lang.String s, boolean isReq) Retrieves the list of product attributes from the tools XML object and stores it in a member variable. |
void | setProdComments(java.util.Vector newProdComments) Sets the product comments list for the offering. |
void | setProdCommentsFromUrl(java.lang.String s, boolean isReq) Retrieves the list of product comments from the tools XML object and stores it in a member variable. |
void | setProdList(java.util.Vector newProdList) Sets the product list for the offering. |
void | setProdListFromUrl(java.lang.String s, boolean isReq) Retrieves the list of products from the tools XML object and stores it in a member variable. |
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 | setRuleType(java.lang.Integer ruleType) Sets the ruleType |
void | setShortdesc(java.lang.String newShortdesc) Sets the offering short description. |
void | setShortDescFromUrl(java.lang.String s, boolean isReq) Retrieves the short description from the tools XML object and stores it in a member variable. |
void | setStartdate(java.lang.String newStartdate) Sets the offering start date. |
void | setStartDateFromUrl(java.lang.String s, boolean isReq) Retrieves the offering start date from the tools XML object and stores it in a member variable. |
void | setStarttime(java.lang.String newStarttime) Sets the offering start time. |
void | setStartTimeFromUrl(java.lang.String s, boolean isReq) Retrieves the offering start time from the tools XML object and stores it in a member variable. |
void | setStarttimestamp(java.sql.Timestamp newStarttimestamp) Sets the timestamp representing the start date and time of the offering. |
void | setState(java.lang.Integer newState) Sets the state of the offering. |
void | setStatemachine(java.lang.Long newStatemachine) Sets the identifier of the state machine for the offering. |
void | setStateMachineFromUrl(java.lang.String s, boolean isReq) Retrieves the state machine identifier from the tools XML object and stores it in a member variable. |
void | setTcList(java.util.Vector newTcList) Sets the list of TCs the offering. |
void | setTcListFromUrl(java.lang.String s, boolean isReq) Retrieves the list of TCs 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. |
void | setTradingengine(java.lang.Long newTradingengine) Sets the identifier of the trading engine the manages the offering. |
void | setTradingEngineFromUrl(java.lang.String s, boolean isReq) Retrieves the trading engine identifier from the tools XML object and stores it in a member variable. |
void | setVersionid(java.lang.Integer newVersionid) Sets the version number of the offering. |
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, 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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public java.lang.String domain
public java.lang.String starttime
public java.lang.String endtime
public java.lang.String longdesc
public java.lang.String shortdesc
public java.lang.String startdate
public java.lang.String enddate
public java.sql.Timestamp starttimestamp
public java.sql.Timestamp endtimestamp
public int numbids
public int closingrule
public java.lang.Long tradingengine
public java.lang.Long ownerid
public java.lang.Long statemachine
public java.lang.String name
public java.lang.String documentdesc
public java.lang.String documentURL
public java.lang.String mimetype
public java.lang.String mimeencoding
public java.lang.Long offeringid
public java.util.Vector TcElements
public java.lang.Integer versionid
public java.util.Vector prodattrList
public java.util.Vector prodList
public java.lang.Integer ruleType
public java.lang.Integer numResponses
public java.lang.Integer accessType
public int endresult
public java.util.Vector participantList
public java.lang.Integer state
public java.util.Vector prodComments
public java.util.Vector tcList
public java.lang.Long accountid
Constructor Detail |
public OfferingBaseCmdImpl()
Method Detail |
public void reset()
public java.lang.Long getAccountid()
public int getClosingrule()
public java.lang.String getDocumentdesc()
public java.lang.String getDocumentURL()
public java.lang.String getDomain()
public java.lang.String getEnddate()
public int getEndresult()
public java.lang.String getEndtime()
public java.sql.Timestamp getEndtimestamp()
public java.util.Hashtable getErrorContent()
public boolean getErrorFlag()
public java.lang.String getLongdesc()
public java.lang.String getMimeencoding()
public java.lang.String getMimetype()
public java.lang.String getName()
public int getNumbids()
public java.lang.Long getOfferingid()
public java.lang.Long getOwnerid()
public java.util.Vector getParticipantList()
public java.util.Vector getProdattrList()
public java.util.Vector getProdComments()
public java.util.Vector getProdList()
public java.lang.String getShortdesc()
public java.lang.String getStartdate()
public java.lang.String getStarttime()
public java.sql.Timestamp getStarttimestamp()
public java.lang.Integer getState()
public java.lang.Long getStatemachine()
public java.util.Vector getTcList()
public java.util.Hashtable getToolXMLObject()
public java.lang.Long getTradingengine()
public java.lang.Integer getVersionid()
public void setAccountid(java.lang.Long newAccountid)
public void setAccountIdFromUrl(java.lang.String s, boolean isReq)
public void setClosingrule(int newClosingrule)
public void setClosingRuleFromUrl(java.lang.String s, boolean isReq)
public void setDocumentdesc(java.lang.String newDocumentdesc)
public void setDocumentDescriptionFromUrl(java.lang.String s, boolean isReq)
public void setDocumentURL(java.lang.String newDocumentURL)
public void setDocumentURLFromUrl(java.lang.String s, boolean isReq)
public void setDomain(java.lang.String newDomain)
public void setDomainFromUrl(java.lang.String s, boolean isReq)
public void setEnddate(java.lang.String newEnddate)
public void setEndDateFromUrl(java.lang.String s, boolean isReq)
public void setEndresult(int newEndresult)
public void setEndResultFromUrl(java.lang.String s, boolean isReq)
public void setEndtime(java.lang.String newEndtime)
public void setEndTimeFromUrl(java.lang.String s, boolean isReq)
public void setEndtimestamp(java.sql.Timestamp newEndtimestamp)
public void setErrorContent(java.util.Hashtable newErrorContent)
public void setErrorFlag(boolean newErrorFlag)
public void setLongdesc(java.lang.String newLongdesc)
public void setLongDescFromUrl(java.lang.String s, boolean isReq)
public void setMarketFromUrl(java.lang.String s, boolean isReq)
public void setMimeencoding(java.lang.String newMimeencoding)
public void setMimetype(java.lang.String newMimetype)
public void setMimeTypeEncodingFromUrl(java.lang.String s, boolean isReq)
public void setMimeTypeFromUrl(java.lang.String s, boolean isReq)
public void setName(java.lang.String newName)
public void setNameFromUrl(java.lang.String s, boolean isReq)
public void setNumbids(int newNumbids)
public void setNumBidsFromUrl(java.lang.String s, boolean isReq)
public void setOfferAttrListFromUrl(java.lang.String s, boolean isReq)
public void setOfferIdFromUrl(java.lang.String s, boolean isReq)
public void setOfferingid(java.lang.Long newOfferingid)
public void setOwnerid(java.lang.Long newOwnerid)
public void setOwnerIdFromUrl(java.lang.String s, boolean isReq)
public void setParticipantList(java.util.Vector newParticipantList)
public void setParticipantListFromUrl(java.lang.String s, boolean isReq)
public void setProdattrList(java.util.Vector newProdattrList)
public void setProdAttrListFromUrl(java.lang.String s, boolean isReq)
public void setProdComments(java.util.Vector newProdComments)
public void setProdCommentsFromUrl(java.lang.String s, boolean isReq)
public void setProdList(java.util.Vector newProdList)
public void setProdListFromUrl(java.lang.String s, boolean isReq)
public void setRequestProperties(TypedProperty paramTable) throws ECApplicationException
public void setShortdesc(java.lang.String newShortdesc)
public void setShortDescFromUrl(java.lang.String s, boolean isReq)
public void setStartdate(java.lang.String newStartdate)
public void setStartDateFromUrl(java.lang.String s, boolean isReq)
public void setStarttime(java.lang.String newStarttime)
public void setStartTimeFromUrl(java.lang.String s, boolean isReq)
public void setStarttimestamp(java.sql.Timestamp newStarttimestamp)
public void setState(java.lang.Integer newState)
public void setStatemachine(java.lang.Long newStatemachine)
public void setStateMachineFromUrl(java.lang.String s, boolean isReq)
public void setTcList(java.util.Vector newTcList)
public void setTcListFromUrl(java.lang.String s, boolean isReq)
public void setToolXMLObject(java.util.Hashtable newToolXMLObject)
public void setTradingengine(java.lang.Long newTradingengine)
public void setTradingEngineFromUrl(java.lang.String s, boolean isReq)
public void setVersionid(java.lang.Integer newVersionid)
public java.lang.Integer getRuleType()
public void setRuleType(java.lang.Integer ruleType)
public java.lang.Integer getNumResponses()
public void setNumResponses(java.lang.Integer numResponses)
public java.lang.Integer getAccessType()
public void setAccessType(java.lang.Integer accessType)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.