com.ibm.commerce.utf.commands

Class OfferingBaseCmdImpl

    • Field Summary

      Fields 
      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.
      • Fields inherited from class com.ibm.websphere.command.TargetableCommandImpl

        LOCAL
      • Fields inherited from interface com.ibm.websphere.command.Command

        serialVersionUID
      • Fields inherited from interface com.ibm.commerce.utf.utils.UTFConstants

        BILLING_ADDRESS_ID_PROPERTY_NAME, CONTENT_SECTION, EC_ACCOUNT_ID, EC_ADDRESS_ID, EC_ALGO_ALLOCATION, EC_ALGO_CLASS, EC_ALGO_DESC, EC_ALGO_EXP_DATE, EC_ALGO_EXP_TIME, EC_ALGO_ID, EC_ALGO_MATCHING, EC_ALGO_NAME, EC_ALGO_PRICING, EC_ALGO_TYPE, EC_APPROVED_STRING, EC_ATTR_ATTRGROUP, EC_ATTR_ATTRID, EC_ATTR_ATTRTYPE, EC_ATTR_CHANGEABLE, EC_ATTR_DATE, EC_ATTR_FLOAT, EC_ATTR_ID, EC_ATTR_INTEGER, EC_ATTR_MANDATORY, EC_ATTR_NAME, EC_ATTR_OPERATOR, EC_ATTR_PATTRID, EC_ATTR_STRING, EC_ATTR_TCID, EC_ATTR_TYPE_ID, EC_ATTR_UNIT, EC_ATTR_USERDEF, EC_ATTR_VALUE, EC_ATTR_VALUEDELIM, EC_ATTRDICT_DESC, EC_ATTRDICT_NAME, EC_ATTRTYPE_ATTACHMENT, EC_ATTRTYPE_BIGINT, EC_ATTRTYPE_BIGINT_AB, EC_ATTRTYPE_DATE_AB, EC_ATTRTYPE_DATETIME, EC_ATTRTYPE_FLOAT, EC_ATTRTYPE_FLOAT_AB, EC_ATTRTYPE_FREEFORM, EC_ATTRTYPE_FREEFORM_AB, EC_ATTRTYPE_INTEGER, EC_ATTRTYPE_INTEGER_AB, EC_ATTRTYPE_STRING, EC_ATTRTYPE_STRING_AB, EC_AUC_VIEWTASKNAME, EC_BASE_TIME, EC_BILL_ADDRESS_ID, EC_BILLING_ADDRESS, EC_BUYABLE_ITEM, EC_BUYER_ROLE, EC_CARD_BRAND, EC_CARD_EXP_MONTH, EC_CARD_EXP_YEAR, EC_CATENTRY_ID, EC_CHARGE_TYPE, EC_CLOSE_RULE1, EC_CLOSE_RULE2, EC_CLOSE_RULE3, EC_CLOSE_RULE4, EC_COPY_ATTACHMENT, EC_DEFAULT_PRICELIST_PRECEDENCE, EC_DEFAULT_STRING, EC_ENFORCE_MINIMUM_QUANTITY, EC_FALSE_VALUE, EC_FORWARD_VIEW_CMD, EC_MARK_FOR_DELETE_AFTER_NUMBER_OF_DAYS, EC_NEW_RFQ_NAME, EC_NICKNAME, EC_NOT_BUYABLE_ITEM, EC_OFFERING_ACCESSTYPE, EC_OFFERING_CATALOG, EC_OFFERING_CATDESCRIPTION, EC_OFFERING_CATEGORYID, EC_OFFERING_CATENTRYID, EC_OFFERING_CLOSINGRULE, EC_OFFERING_CURRENCY, EC_OFFERING_DELETEMARK, EC_OFFERING_DOCDESC, EC_OFFERING_DOCURL, EC_OFFERING_DOMAIN, EC_OFFERING_EMPTYPRODLIST, EC_OFFERING_EMPTYTCLIST, EC_OFFERING_ENDDATE, EC_OFFERING_ENDRESULT, EC_OFFERING_ENDTIME, EC_OFFERING_FIRSTVERSION, EC_OFFERING_ID, EC_OFFERING_LONGDESC, EC_OFFERING_MIMEENCODING, EC_OFFERING_MIMETYPE, EC_OFFERING_NAME, EC_OFFERING_NODELETEMARK, EC_OFFERING_NUMBIDS, EC_OFFERING_NUMRESPONSES, EC_OFFERING_PARTNUM, EC_OFFERING_PERCENTAGEPRICE, EC_OFFERING_PERCENTPRICE, EC_OFFERING_PRICE, EC_OFFERING_PRODATTRLIST, EC_OFFERING_PRODCOMMENTS, EC_OFFERING_PRODLIST, EC_OFFERING_QTYUNIT, EC_OFFERING_QUANTITY, EC_OFFERING_RULETYPE, EC_OFFERING_SHORTDESC, EC_OFFERING_STARTDATE, EC_OFFERING_STARTTIME, EC_OFFERING_STATEMACHINE, EC_OFFERING_SYNCHRONIZE, EC_OFFERING_TCLIST, EC_OFFERING_TITLE, EC_OFFERING_TRADINGENGINE, EC_OPERATOR_ENUMERATION, EC_OPERATOR_EQUAL, EC_OPERATOR_EXCLUSIVE_RANGE, EC_OPERATOR_GREATER_THAN, EC_OPERATOR_GREATER_THAN_AND_EQUAL, EC_OPERATOR_INCLUSIVE_RANGE, EC_OPERATOR_LESS_THAN, EC_OPERATOR_LESS_THAN_AND_EQUAL, EC_OPERATOR_NOT, EC_ORG_BEAN, EC_ORIG_RFQ_ID, EC_PARTICIPANT_ID, EC_PARTICIPANT_ROLE, EC_PATTRVALUE_ID, EC_PAYMENT_METHOD, EC_PAYMENT_TC_ID, EC_PO_NUMBER, EC_POLICY_ID, EC_POLICY_TYPE, EC_PRODUCT_NAME, EC_PRODUCT_SHORTDESC, EC_REDIRECT_VIEW_CMD, EC_RESPONSE_ID, EC_RETURN_APPROVAL_POLICY, EC_RETURN_APPROVAL_POLICY_TYPE, EC_RETURN_CHARGE, EC_RETURN_CHARGE_LIST, EC_RETURN_CHARGE_POLICY, EC_RETURN_CHARGE_POLICY_TYPE, EC_RETURN_PAYMENT, EC_RETURN_PAYMENT_LIST, EC_RETURN_PAYMENT_POLICY, EC_RFQ_CLOSE_MESSAGE_ID, EC_RFQ_CLOSE_MESSAGE_NAME, EC_RFQ_CLOSEVIEW_CMD, EC_RFQ_COMPLETE_MESSAGE_ID, EC_RFQ_COMPLETE_MESSAGE_NAME, EC_RFQ_COMPLETEVIEW_CMD, EC_RFQ_NOTIFICATION_MONITOR_JOB_REF_NUM, EC_RFQ_RESPONSE_ID, EC_RFQ_RFQID, EC_RFQ_STRING, EC_RFQ_SUBMIT_MESSAGE_ID, EC_RFQ_SUBMIT_MESSAGE_NAME, EC_RFQ_SUBMITVIEW_CMD, EC_SELLER_ROLE, EC_SHIP_ADDRESS, EC_SHIP_MODE, EC_SHIP_MODE_ID, EC_SHIPPING_ADDRESS, EC_SHIPPING_CHARGE, EC_SHIPPING_CHARGE_LIST, EC_SHIPPING_MODE, EC_STORE_ID, EC_TA_ACTIVE, EC_TA_INACTIVE, EC_TC_BEGIN_TAG, EC_TC_CUSTOM_PRICELIST, EC_TC_CUSTOM_PRICELIST_TYPE, EC_TC_END_TAG, EC_TC_HEADER, EC_TC_OFFER, EC_TC_OFFER_NEW, EC_TC_OFFERPRICE, EC_TC_PURCHASELIMITS_BY_QUANTITY, EC_TC_RETURNAPPROVALPOLICY, EC_TC_RETURNCHARGEPOLICY, EC_TC_STOREREF, EC_TOOL_CANCELRFQ_VIEWCMD, EC_TOOL_CLOSERFQ_VIEWCMD, EC_TOOL_DIALOG_NAV_VIEW_CMD, EC_TOOL_NOTEBOOK_NAV_VIEW_CM, EC_TOOL_NOTEBOOK_NAV_VIEW_CMD, EC_TOOL_SUBMITRFQ_VIEWCMD, EC_TOOL_WIZARD_NAV_VIEW_CMD, EC_TRADENG_ALGO, EC_TRADENG_DOMAIN, EC_TRADENG_ENDDATE, EC_TRADENG_ENDTIME, EC_TRADENG_HANDLER, EC_TRADENG_ID, EC_TRADENG_LONGDESC, EC_TRADENG_NAME, EC_TRADENG_NUMSTAGES, EC_TRADENG_SHORTDESC, EC_TRADENG_STAGE, EC_TRADENG_STAGEINFO, EC_TRADENG_STARTDATE, EC_TRADENG_STARTTIME, EC_TRADENG_STATEMACHINE, EC_TRADENG_SUBDOMAIN, EC_TRADENG_TRADENTLIMIT, EC_TRUE_VALUE, EC_USER_BEAN, EC_UTF_ACKPAGE, EC_UTF_ACTION_CREATE, EC_UTF_ACTION_DELETE, EC_UTF_ACTION_UPDATE, EC_UTF_CHANGEABLE, EC_UTF_DOMAIN, EC_UTF_ENCRYPTION_FLAG, EC_UTF_ENDRESULT_CONTRACT, EC_UTF_ENDRESULT_ORDER, EC_UTF_ERROR_CODE, EC_UTF_ERRORPAGE, EC_UTF_LANGUAGE_ID, EC_UTF_MANDATORY, EC_UTF_NON_CHANGEABLE, EC_UTF_OPTIONAL, EC_UTF_OWNER_ID, EC_UTF_PERSONALIZED, EC_UTF_SEQUENCE, EC_UTF_STANDARD, EC_UTF_VISIBILITY, EC_VALUETYPE_ENUMERATION, EC_VALUETYPE_EXCLUSIVE_RANGE, EC_VALUETYPE_INCLUSIVE_RANGE, EC_VALUETYPE_SINGLEVALUE, MSG_SECTION, ParticipantRoles, SUBJECT_SECTION
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • domain

        public java.lang.String domain
        Domain.
      • starttime

        public java.lang.String starttime
        Start Time.
      • endtime

        public java.lang.String endtime
        End Time.
      • longdesc

        public java.lang.String longdesc
        Long Description.
      • shortdesc

        public java.lang.String shortdesc
        Short Description.
      • startdate

        public java.lang.String startdate
        Start Date.
      • enddate

        public java.lang.String enddate
        End Date.
      • starttimestamp

        public java.sql.Timestamp starttimestamp
        Start Timestamp.
      • endtimestamp

        public java.sql.Timestamp endtimestamp
        End Timestamp.
      • numbids

        public int numbids
        Number of Bids.
      • closingrule

        public int closingrule
        Closing Rule.
      • tradingengine

        public java.lang.Long tradingengine
        Trading Engine.
      • ownerid

        public java.lang.Long ownerid
        Owner Id.
      • statemachine

        public java.lang.Long statemachine
        State Machine.
      • name

        public java.lang.String name
        Name.
      • documentdesc

        public java.lang.String documentdesc
        Document Description.
      • documentURL

        public java.lang.String documentURL
        Document URL.
      • mimetype

        public java.lang.String mimetype
        Document Mime Type.
      • mimeencoding

        public java.lang.String mimeencoding
        Document Mime Coding.
      • offeringid

        public java.lang.Long offeringid
        Offering Id.
      • TcElements

        public java.util.Vector TcElements
        Term and Condition Elements.
      • versionid

        public java.lang.Integer versionid
        Version ID.
      • prodattrList

        public java.util.Vector prodattrList
        Product Attribute List.
      • prodList

        public java.util.Vector prodList
        Product List.
      • ruleType

        public java.lang.Integer ruleType
        Rule Type.
      • numResponses

        public java.lang.Integer numResponses
        Number of Responses.
      • accessType

        public java.lang.Integer accessType
        Access Type.
      • endresult

        public int endresult
        End Result.
      • participantList

        public java.util.Vector participantList
        Participant List.
      • state

        public java.lang.Integer state
        State.
      • prodComments

        public java.util.Vector prodComments
        Product Comments.
      • tcList

        public java.util.Vector tcList
        Term and Condition List.
      • accountid

        public java.lang.Long accountid
        Account Id.
      • orderid

        public java.lang.Long orderid
        Order Id.
      • categoryid

        public java.lang.Long categoryid
        Category Id.
      • percentagePrice

        public java.lang.String percentagePrice
        PercentagePrice.
      • catalogid

        public java.lang.Long catalogid
        Catalog Id.
      • catname

        public java.lang.String catname
        Category name.
      • synchronize

        public java.lang.String synchronize
        Category name.
      • productid

        public java.lang.Long productid
        Product Id
      • iOrderItemId

        public java.lang.String[] iOrderItemId
        Order Item Ids.
      • negotiationType

        public java.lang.Integer negotiationType
        Negotiation type
      • field1

        public java.lang.Long field1
        Custom field1
      • field2

        public java.lang.Integer field2
        Custom field2
      • field3

        public java.lang.String field3
        Custom field3
      • field4

        public java.lang.String field4
        Custom field4
      • field5

        public java.sql.Timestamp field5
        Custom field5
      • field6

        public java.sql.Timestamp field6
        Custom field6
    • Constructor Detail

      • OfferingBaseCmdImpl

        public OfferingBaseCmdImpl()
    • Method Detail

      • reset

        public void reset()
        Reset the command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • getAccountid

        public java.lang.Long getAccountid()
        Retrieves the account Id.
        Returns:
        The account Id.
      • getOrderid

        public java.lang.Long getOrderid()
        Retrieves the order Id.
        Returns:
        The order Id.
      • getCategoryid

        public java.lang.Long getCategoryid()
        Retrieves the category Id.
        Returns:
        The category Id.
      • getProductid

        public java.lang.Long getProductid()
        Retrieves the product Id.
        Returns:
        The product Id.
      • getCatname

        public java.lang.String getCatname()
        Retrieves the category name.
        Returns:
        The category name.
      • getSynchronize

        public java.lang.String getSynchronize()
        Retrieves the synchronize value.
        Returns:
        The synchronize value.
      • getPercentagePrice

        public java.lang.String getPercentagePrice()
        Retrieves the category Id.
        Returns:
        The category Id.
      • getCatalogId

        public java.lang.Long getCatalogId()
        Retrieves the catalog Id.
        Returns:
        The catalog Id.
      • getClosingrule

        public int getClosingrule()
        Returns the closing rule.
        Returns:
        The closing rule number.
      • getDocumentdesc

        public java.lang.String getDocumentdesc()
        Returns the document description.
        Returns:
        The document description.
      • getDocumentURL

        public java.lang.String getDocumentURL()
        Returns the URL for the attachment.
        Returns:
        The attachment URL.
      • getDomain

        public java.lang.String getDomain()
        Returns the domain of trade.
        Returns:
        The trading domain.
      • getEnddate

        public java.lang.String getEnddate()
        Returns the ending date for the offering.
        Returns:
        The offering end date.
      • getEndresult

        public int getEndresult()
        Returns an integer value that indicates the offering's end result: 0 - Contract, 1 - Order ,...
        Returns:
        The end result for the offering.
      • getEndtime

        public java.lang.String getEndtime()
        Returns the ending time for the offering.
        Returns:
        The offering end time.
      • getEndtimestamp

        public java.sql.Timestamp getEndtimestamp()
        Returns the offering's end date and time as a java timestamp.
        Returns:
        The offering's end date and time.
      • getErrorContent

        public java.util.Hashtable getErrorContent()
        Returns the hashtable containing error codes and parameters.
        Returns:
        The hashtable of error codes.
      • getOrderItemId

        public java.lang.String[] getOrderItemId()
        Returns an array of order item ids.
        Returns:
        The array of order item ids.
      • getErrorFlag

        public boolean getErrorFlag()
        Returns the value of the error flag.
        Returns:
        true if error has occured, false otherwise
      • getLongdesc

        public java.lang.String getLongdesc()
        Returns the long description for the offering.
        Returns:
        The offering's long description.
      • getMimeencoding

        public java.lang.String getMimeencoding()
        Returns the mime encoding for the offering attachment.
        Returns:
        The mime encoding for the offering attachment.
      • getMimetype

        public java.lang.String getMimetype()
        Returns the mime type for the offering attachment.
        Returns:
        The offering attachment's mime type.
      • getName

        public java.lang.String getName()
        Returns the name of the offering.
        Returns:
        The offering name.
      • getNumbids

        public 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.
        Returns:
        The offering response count, which once reached could trigger automatic close of the offering.
      • getOfferingid

        public java.lang.Long getOfferingid()
        Returns the identifier for the Offering.
        Returns:
        The Offering ID.
      • getNegotiationType

        public java.lang.Integer getNegotiationType()
        Returns the identifier for the negotiation type.
        Returns:
        The Negotiation type.
      • getOwnerid

        public java.lang.Long getOwnerid()
        Returns the member identifier for the owner of the offering.
        Returns:
        The offering owner's member ID.
      • getParticipantList

        public java.util.Vector getParticipantList()
        Returns the list of participants for the offering.
        Returns:
        The participant list.
      • getProdattrList

        public java.util.Vector getProdattrList()
        Returns the list of product attributes for the offering.
        Returns:
        The product attribute list.
      • getProdComments

        public java.util.Vector getProdComments()
        Returns the list of product comments for the offering.
        Returns:
        The list of product comments.
      • getProdList

        public java.util.Vector getProdList()
        Returns the list of products for the offering.
        Returns:
        The offering's product list.
      • getShortdesc

        public java.lang.String getShortdesc()
        Returns the short description for the offering.
        Returns:
        The offering's short description.
      • getStartdate

        public java.lang.String getStartdate()
        Returns the start date for the offering.
        Returns:
        The offering start date.
      • getStarttime

        public java.lang.String getStarttime()
        Returns the start time for the offering.
        Returns:
        The offering start time.
      • getStarttimestamp

        public java.sql.Timestamp getStarttimestamp()
        Returns the start date and time for the offering as a java timestamp.
        Returns:
        The offering start date and time.
      • getState

        public java.lang.Integer getState()
        Returns the integer value for the Offering's state.
        Returns:
        The offering's state.
      • getStatemachine

        public java.lang.Long getStatemachine()
        Returns the state machine for the offering.
        Returns:
        The offering's state machine.
      • getTcList

        public java.util.Vector getTcList()
        Returns the list of TCs for the offering.
        Returns:
        The TC list for the offering.
      • getToolXMLObject

        public java.util.Hashtable getToolXMLObject()
        Returns the hashtable which represents tools framework's XML objects.
        Returns:
        The tool framework's XML objects.
      • getTradingengine

        public java.lang.Long getTradingengine()
        Returns the identifier of the trading engine that manages the offering.
        Returns:
        The trading engine identifier.
      • getVersionid

        public java.lang.Integer getVersionid()
        Returns the version number of the offering.
        Returns:
        The offering version.
      • setAccountid

        public void setAccountid(java.lang.Long newAccountid)
        Stores the incoming account ID.
        Parameters:
        newAccountid - The account Id.
      • setOrderid

        public void setOrderid(java.lang.Long newOrderid)
        Stores the incoming order ID.
        Parameters:
        newOrderid - The order Id.
      • setCatalogid

        public void setCatalogid(java.lang.Long newCatalogid)
        Stores the incoming catalog ID.
        Parameters:
        newCatalogid - The catalog ID.
      • setCategoryid

        public void setCategoryid(java.lang.Long newCategoryid)
        Stores the incoming category ID.
        Parameters:
        newCategoryid - The category ID.
      • setProductid

        public void setProductid(java.lang.Long newProductid)
        Stores the incoming product ID.
        Parameters:
        newProductid - The product ID.
      • setCatname

        public void setCatname(java.lang.String newCatname)
        Stores the incoming category name.
        Parameters:
        newCatname - The category name.
      • setSynchronize

        public void setSynchronize(java.lang.String newSynchronize)
        Stores the incoming synchronization flag.
        Parameters:
        newSynchronize - The synchronization flag.
      • setPercentagePrice

        public void setPercentagePrice(java.lang.String newPercentagePrice)
        Stores the incoming percentage price.
        Parameters:
        newPercentagePrice - The percentage price.
      • setNegotiationType

        public void setNegotiationType(java.lang.Integer newNegotiationType)
        Stores the incoming negotiation type.
        Parameters:
        newNegotiationType - The negotiation type.
      • setAccountIdFromUrl

        public void setAccountIdFromUrl(java.lang.String s,
                                        boolean isReq)
        Retrieves the account identifier from the tools XML objects and stores it in a member variable.
        Specified by:
        setAccountIdFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setClosingrule

        public void setClosingrule(int newClosingrule)
        Sets the closing rule for the offering.
        Parameters:
        newClosingrule - The closing rule for the offering.
      • setClosingRuleFromUrl

        public 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.
        Specified by:
        setClosingRuleFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setDocumentdesc

        public void setDocumentdesc(java.lang.String newDocumentdesc)
        Sets the attachment description.
        Parameters:
        newDocumentdesc - The attachment description.
      • setDocumentDescriptionFromUrl

        public void setDocumentDescriptionFromUrl(java.lang.String s,
                                                  boolean isReq)
        Retrieves the attachment description from the tools XML objects and stores it in a member variable.
        Specified by:
        setDocumentDescriptionFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setDocumentURL

        public void setDocumentURL(java.lang.String newDocumentURL)
        Sets the attachment URL.
        Parameters:
        newDocumentURL - The attachment URL.
      • setDocumentURLFromUrl

        public void setDocumentURLFromUrl(java.lang.String s,
                                          boolean isReq)
        Retrieves the attachment URL from the tools XML objects and stores it in a member variable.
        Specified by:
        setDocumentURLFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setDomain

        public void setDomain(java.lang.String newDomain)
        Sets the trading domain.
        Parameters:
        newDomain - The trading domain identifier.
      • setDomainFromUrl

        public void setDomainFromUrl(java.lang.String s,
                                     boolean isReq)
        Retrieves the trading domain from the tools XML objects and stores it in a member variable.
        Specified by:
        setDomainFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setEnddate

        public void setEnddate(java.lang.String newEnddate)
        Sets the offering end date.
        Parameters:
        newEnddate - The end date of the offering.
      • setEndDateFromUrl

        public 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.
        Specified by:
        setEndDateFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setEndresult

        public void setEndresult(int newEndresult)
        Sets the end result of the offering.
        Parameters:
        newEndresult - The offering end result.
      • setEndResultFromUrl

        public 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.
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setEndtime

        public void setEndtime(java.lang.String newEndtime)
        Sets the end time of the offering.
        Parameters:
        newLongdesc - The offering end time.
      • setEndTimeFromUrl

        public 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.
        Specified by:
        setEndTimeFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setEndtimestamp

        public void setEndtimestamp(java.sql.Timestamp newEndtimestamp)
        Sets the end date and time of the offering in a java timestamp.
        Parameters:
        newEndtimestamp - The offering end date and time.
      • setErrorContent

        public void setErrorContent(java.util.Hashtable newErrorContent)
        Sets the hashtable containing error codes.
        Parameters:
        newLongdesc - The hash table containing error codes.
      • setErrorFlag

        public void setErrorFlag(boolean newErrorFlag)
        Sets the error flag.
        Parameters:
        newLongdesc - The error flag.
      • setLongdesc

        public void setLongdesc(java.lang.String newLongdesc)
        Sets the long description of the offering.
        Parameters:
        newLongdesc - The long description.
      • setLongDescFromUrl

        public void setLongDescFromUrl(java.lang.String s,
                                       boolean isReq)
        Retrieves the long description from the tools XML objects and stores it in a member variable.
        Specified by:
        setLongDescFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setMarketFromUrl

        public 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.
        Specified by:
        setMarketFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setMimeencoding

        public void setMimeencoding(java.lang.String newMimeencoding)
        Sets the mime encoding of the offering attachment.
        Parameters:
        newMimeencoding - The attachment mime encoding.
      • setMimetype

        public void setMimetype(java.lang.String newMimetype)
        Sets the mime type of the offering attachment.
        Parameters:
        newMimetype - The attachment mime type.
      • setMimeTypeEncodingFromUrl

        public 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.
        Specified by:
        setMimeTypeEncodingFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setMimeTypeFromUrl

        public 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.
        Specified by:
        setMimeTypeFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setName

        public void setName(java.lang.String newName)
        Sets the name of the offering.
        Parameters:
        newName - The offering name.
      • setNameFromUrl

        public void setNameFromUrl(java.lang.String s,
                                   boolean isReq)
        Retrieves the offering name from the tools XML objects and stores it in a member variable.
        Specified by:
        setNameFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setNumbids

        public 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.
        Parameters:
        newNumbids - The response count.
      • setNumBidsFromUrl

        public 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.
        Specified by:
        setNumBidsFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setOfferAttrListFromUrl

        public 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.
        Specified by:
        setOfferAttrListFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setOfferIdFromUrl

        public void setOfferIdFromUrl(java.lang.String s,
                                      boolean isReq)
        Retrieves the offering identifier from the tools XML objects and stores it in a member variable.
        Specified by:
        setOfferIdFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setOfferingid

        public void setOfferingid(java.lang.Long newOfferingid)
        Sets the ID of the offering.
        Parameters:
        newOfferingid - The offering ID.
      • setOwnerid

        public void setOwnerid(java.lang.Long newOwnerid)
        Sets the member ID of the offering owner.
        Parameters:
        newOwnerid - The offering owner's member ID.
      • setOwnerIdFromUrl

        public 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.
        Specified by:
        setOwnerIdFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setParticipantList

        public void setParticipantList(java.util.Vector newParticipantList)
        Sets the participant list for the offering.
        Parameters:
        newParticipantList - The participant list for the offering.
      • setParticipantListFromUrl

        public 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.
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setProdattrList

        public void setProdattrList(java.util.Vector newProdattrList)
        Sets the product attributes list for the offering.
        Parameters:
        newProdattrList - The product attributes for the offering.
      • setProdAttrListFromUrl

        public 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.
        Specified by:
        setProdAttrListFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setProdComments

        public void setProdComments(java.util.Vector newProdComments)
        Sets the product comments list for the offering.
        Parameters:
        newProdComments - The product comments for the offering.
      • setProdCommentsFromUrl

        public 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.
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setProdList

        public void setProdList(java.util.Vector newProdList)
        Sets the product list for the offering.
        Parameters:
        newProdList - The product list for the offering.
      • setOrderItemId

        public void setOrderItemId(java.lang.String[] numbers)
        Sets the order item id list for the offering.
        Parameters:
        newOrderItemIdList - The order item id list for the offering.
      • setProdListFromUrl

        public 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.
        Specified by:
        setProdListFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setShortdesc

        public void setShortdesc(java.lang.String newShortdesc)
        Sets the offering short description.
        Parameters:
        newShortdesc - The offering shorts description.
      • setShortDescFromUrl

        public void setShortDescFromUrl(java.lang.String s,
                                        boolean isReq)
        Retrieves the short description from the tools XML objects and stores it in a member variable.
        Specified by:
        setShortDescFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setStartdate

        public void setStartdate(java.lang.String newStartdate)
        Sets the offering start date.
        Parameters:
        newStartdate - The offering start date.
      • setStartDateFromUrl

        public 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.
        Specified by:
        setStartDateFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setStarttime

        public void setStarttime(java.lang.String newStarttime)
        Sets the offering start time.
        Parameters:
        newStarttime - The offering start time.
      • setStartTimeFromUrl

        public 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.
        Specified by:
        setStartTimeFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setStarttimestamp

        public void setStarttimestamp(java.sql.Timestamp newStarttimestamp)
        Sets the timestamp representing the start date and time of the offering.
        Parameters:
        newStarttimestamp - The offering start date and time.
      • setState

        public void setState(java.lang.Integer newState)
        Sets the state of the offering.
        Parameters:
        newState - The offering state.
      • setStatemachine

        public void setStatemachine(java.lang.Long newStatemachine)
        Sets the identifier of the state machine for the offering.
        Parameters:
        newStatemachine - The state machine identifier.
      • setStateMachineFromUrl

        public 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.
        Specified by:
        setStateMachineFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setTcList

        public void setTcList(java.util.Vector newTcList)
        Sets the list of TCs the offering.
        Parameters:
        newTradingengine - The list of TCs.
      • setTcListFromUrl

        public 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.
        Specified by:
        setTcListFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setToolXMLObject

        public void setToolXMLObject(java.util.Hashtable newToolXMLObject)
        Sets the XML Objects composed by the tools framework.
        Parameters:
        newToolXMLObject - The tools framework's XML objects.
      • setTradingengine

        public void setTradingengine(java.lang.Long newTradingengine)
        Sets the identifier of the trading engine the manages the offering.
        Parameters:
        newTradingengine - The trading engine identifier.
      • setTradingEngineFromUrl

        public 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.
        Specified by:
        setTradingEngineFromUrl in interface OfferingBaseCmd
        Parameters:
        s - The parameter name to look for in the tools XML objects.
        isReq - true if it is a mandatory parameter, false otherwise.
      • setVersionid

        public void setVersionid(java.lang.Integer newVersionid)
        Sets the version number of the offering.
        Parameters:
        newVersionid - The offering version.
      • getRuleType

        public java.lang.Integer getRuleType()
        Gets the ruleType
        Returns:
        Returns a java.lang.Integer
      • setRuleType

        public void setRuleType(java.lang.Integer ruleType)
        Sets the ruleType
        Parameters:
        ruleType - The ruleType to set
      • getNumResponses

        public java.lang.Integer getNumResponses()
        Gets the numResponses
        Returns:
        Returns a java.lang.Integer
      • setNumResponses

        public void setNumResponses(java.lang.Integer numResponses)
        Sets the numResponses
        Parameters:
        numResponses - The numResponses to set
      • getAccessType

        public java.lang.Integer getAccessType()
        Gets the accessType
        Returns:
        Returns a java.lang.Integer
      • setAccessType

        public void setAccessType(java.lang.Integer accessType)
        Sets the accessType
        Parameters:
        accessType - The accessType to set
      • getField1

        public java.lang.Long getField1()
        Gets the field1 value
        Returns:
        Returns a java.lang.Long
      • getField2

        public java.lang.Integer getField2()
        Gets the field2 value
        Returns:
        Returns a java.lang.Integer
      • getField3

        public java.lang.String getField3()
        Gets the field3 value
        Returns:
        Returns a java.lang.String
      • getField4

        public java.lang.String getField4()
        Gets the field4 value
        Returns:
        Returns a java.lang.String
      • getField5

        public java.sql.Timestamp getField5()
        Gets the field5 value
        Returns:
        Returns a java.sql.Timestamp
      • getField6

        public java.sql.Timestamp getField6()
        Gets the field6 value
        Returns:
        Returns a java.sql.Timestamp
      • setField1

        public void setField1(java.lang.Long newField1)
        Sets the field1 value
        Parameters:
        field1 - The field1 value to set
      • setField2

        public void setField2(java.lang.Integer newField2)
        Sets the field2 value
        Parameters:
        field2 - The field2 value to set
      • setField3

        public void setField3(java.lang.String newField3)
        Sets the field3 value
        Parameters:
        field3 - The field3 value to set
      • setField4

        public void setField4(java.lang.String newField4)
        Sets the field4 value
        Parameters:
        field4 - The field4 value to set
      • setField5

        public void setField5(java.lang.String newField5)
        Sets the field5 value
        Parameters:
        field5 - The field5 value to set
      • setField6

        public void setField6(java.lang.String newField6)
        Sets the field6 value
        Parameters:
        field6 - The field6 value to set