public class OfferingBaseCmdImpl extends ToolsControllerCommandImpl implements OfferingBaseCmd, com.ibm.commerce.utf.utils.UTFConstants
This command uses the following AccessBeans:
Modifier and Type | Field and Description |
---|---|
java.lang.Integer | accessType
Access Type.
|
java.lang.Long | accountid
Account Id.
|
java.lang.Long | catalogid
Catalog Id.
|
java.lang.Long | categoryid
Category Id.
|
java.lang.String | catname
Category name.
|
int | closingrule
Closing Rule.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
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.Long | field1
Custom field1
|
java.lang.Integer | field2
Custom field2
|
java.lang.String | field3
Custom field3
|
java.lang.String | field4
Custom field4
|
java.sql.Timestamp | field5
Custom field5
|
java.sql.Timestamp | field6
Custom field6
|
java.lang.String[] | iOrderItemId
Order Item Ids.
|
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.
|
java.lang.Integer | negotiationType
Negotiation type
|
int | numbids
Number of Bids.
|
java.lang.Integer | numResponses
Number of Responses.
|
java.lang.Long | offeringid
Offering Id.
|
java.lang.Long | orderid
Order Id.
|
java.lang.Long | ownerid
Owner Id.
|
java.util.Vector | participantList
Participant List.
|
java.lang.String | percentagePrice
PercentagePrice.
|
java.util.Vector | prodattrList
Product Attribute List.
|
java.util.Vector | prodComments
Product Comments.
|
java.util.Vector | prodList
Product List.
|
java.lang.Long | productid
Product Id
|
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.lang.String | synchronize
Category name.
|
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.
|
Constructor and Description |
---|
OfferingBaseCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer | getAccessType()
Gets the accessType
|
java.lang.Long | getAccountid()
Retrieves the account Id.
|
java.lang.Long | getCatalogId()
Retrieves the catalog Id.
|
java.lang.Long | getCategoryid()
Retrieves the category Id.
|
java.lang.String | getCatname()
Retrieves the category name.
|
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.Long | getField1()
Gets the field1 value
|
java.lang.Integer | getField2()
Gets the field2 value
|
java.lang.String | getField3()
Gets the field3 value
|
java.lang.String | getField4()
Gets the field4 value
|
java.sql.Timestamp | getField5()
Gets the field5 value
|
java.sql.Timestamp | getField6()
Gets the field6 value
|
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.
|
java.lang.Integer | getNegotiationType()
Returns the identifier for the negotiation type.
|
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 has been received. |
java.lang.Integer | getNumResponses()
Gets the numResponses
|
java.lang.Long | getOfferingid()
Returns the identifier for the Offering.
|
java.lang.Long | getOrderid()
Retrieves the order Id.
|
java.lang.String[] | getOrderItemId()
Returns an array of order item ids.
|
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.lang.String | getPercentagePrice()
Retrieves the category Id.
|
java.util.Vector | getProdattrList()
Returns the list of product attributes for the offering.
|
java.util.Vector | getProdComments()
Returns the list of product comments for the offering.
|
java.util.Vector | getProdList()
Returns the list of products for the offering.
|
java.lang.Long | getProductid()
Retrieves the product Id.
|
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.lang.String | getSynchronize()
Retrieves the synchronize value.
|
java.util.Vector | getTcList()
Returns the list of TCs for the offering.
|
java.util.Hashtable | getToolXMLObject()
Returns the hashtable which represents tools framework's XML objects.
|
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 objects and stores it in a member variable.
|
void | setCatalogid(java.lang.Long newCatalogid)
Stores the incoming catalog ID.
|
void | setCategoryid(java.lang.Long newCategoryid)
Stores the incoming category ID.
|
void | setCatname(java.lang.String newCatname)
Stores the incoming category name.
|
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 objects 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 objects 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 objects 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 objects 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 objects 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 objects 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 objects 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 | setField1(java.lang.Long newField1)
Sets the field1 value
|
void | setField2(java.lang.Integer newField2)
Sets the field2 value
|
void | setField3(java.lang.String newField3)
Sets the field3 value
|
void | setField4(java.lang.String newField4)
Sets the field4 value
|
void | setField5(java.lang.String newField5)
Sets the field5 value
|
void | setField6(java.lang.String newField6)
Sets the field6 value
|
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 objects and stores it in a member variable.
|
void | setMarketFromUrl(java.lang.String s, boolean isReq)
Retrieves the market/store identifier from the tools XML objects 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 objects 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 objects 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 objects and stores it in a member variable.
|
void | setNegotiationType(java.lang.Integer newNegotiationType)
Stores the incoming negotiation type.
|
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 objects 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 objects and stores it in a member variable.
|
void | setOfferIdFromUrl(java.lang.String s, boolean isReq)
Retrieves the offering identifier from the tools XML objects and stores it in a member variable.
|
void | setOfferingid(java.lang.Long newOfferingid)
Sets the ID of the offering.
|
void | setOrderid(java.lang.Long newOrderid)
Stores the incoming order ID.
|
void | setOrderItemId(java.lang.String[] numbers)
Sets the order item id list for 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 objects 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 objects and stores it in a member variable.
|
void | setPercentagePrice(java.lang.String newPercentagePrice)
Stores the incoming percentage price.
|
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 objects 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 objects 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 objects and stores it in a member variable.
|
void | setProductid(java.lang.Long newProductid)
Stores the incoming product 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 | 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 objects 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 objects 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 objects 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 objects and stores it in a member variable.
|
void | setSynchronize(java.lang.String newSynchronize)
Stores the incoming synchronization flag.
|
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 objects and stores it in a member variable.
|
void | setToolXMLObject(java.util.Hashtable newToolXMLObject)
Sets the XML Objects 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 objects and stores it in a member variable.
|
void | setVersionid(java.lang.Integer newVersionid)
Sets the version number of the offering.
|
public static final java.lang.String COPYRIGHT
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
public java.lang.Long orderid
public java.lang.Long categoryid
public java.lang.String percentagePrice
public java.lang.Long catalogid
public java.lang.String catname
public java.lang.String synchronize
public java.lang.Long productid
public java.lang.String[] iOrderItemId
public java.lang.Integer negotiationType
public java.lang.Long field1
public java.lang.Integer field2
public java.lang.String field3
public java.lang.String field4
public java.sql.Timestamp field5
public java.sql.Timestamp field6
public void reset()
public java.lang.Long getAccountid()
public java.lang.Long getOrderid()
public java.lang.Long getCategoryid()
public java.lang.Long getProductid()
public java.lang.String getCatname()
public java.lang.String getSynchronize()
public java.lang.String getPercentagePrice()
public java.lang.Long getCatalogId()
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 java.lang.String[] getOrderItemId()
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.Integer getNegotiationType()
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 setOrderid(java.lang.Long newOrderid)
public void setCatalogid(java.lang.Long newCatalogid)
public void setCategoryid(java.lang.Long newCategoryid)
public void setProductid(java.lang.Long newProductid)
public void setCatname(java.lang.String newCatname)
public void setSynchronize(java.lang.String newSynchronize)
public void setPercentagePrice(java.lang.String newPercentagePrice)
public void setNegotiationType(java.lang.Integer newNegotiationType)
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 setOrderItemId(java.lang.String[] numbers)
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)
public java.lang.Long getField1()
public java.lang.Integer getField2()
public java.lang.String getField3()
public java.lang.String getField4()
public java.sql.Timestamp getField5()
public java.sql.Timestamp getField6()
public void setField1(java.lang.Long newField1)
public void setField2(java.lang.Integer newField2)
public void setField3(java.lang.String newField3)
public void setField4(java.lang.String newField4)
public void setField5(java.lang.String newField5)
public void setField6(java.lang.String newField6)