com.ibm.commerce.negotiation.beans
Class AutoBidDataBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.negotiation.objects.AutoBidAccessBean
                    |
                    +--com.ibm.commerce.negotiation.beans.AutoBidDataBean
All Implemented Interfaces:
AutoBidAccessBeanData, AutoBidInputDataBean, AutoBidSmartDataBean, DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class AutoBidDataBean
extends AutoBidAccessBean
implements AutoBidInputDataBean, AutoBidSmartDataBean, SmartDataBean

Interfaces to the data members of the AutoBidAccessBean.

See Also:
AutoBidAccessBean, SmartDataBean, Serialized Form

Field Summary
protected  java.lang.String aString
           
protected  CommandContext commandContext
           
static java.lang.String COPYRIGHT
           
protected  java.util.Hashtable paymentInfoNVPairs
           
 
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
AutoBidDataBean()
          Constructs AutoBidDataBean, initializes fields to emptyString.
AutoBidDataBean(AutoBidAccessBean anAccessBean)
          Constructs AutoBidDataBean, initializes fields to emptyString.
AutoBidDataBean(javax.ejb.EJBObject o)
          Constructs AutoBidDataBean, initializes fields to emptyString.
 
Method Summary
 java.lang.String getAutoBidId()
          Gets the autoBidId field.
 CommandContext getCommandContext()
          Gets the active commandContext.
 java.lang.String getDeviceExpDate()
          Get Device Expiration Date in format: yyyy-mm-dd
 java.lang.String getDeviceExpDay()
          Gets the Device Expiration (e.g.
 java.lang.String getDeviceExpMonth()
          Gets the Device Expiration (e.g.
 java.lang.String getDeviceExpYear()
          Gets the Device Expiration (e.g.
 java.util.Hashtable getPaymentInfoNVPairs()
          Get payment related information.
 TypedProperty getRequestProperties()
          Gets the value of requestProperties; currently implemented to return null.
 void populate()
          Fetches field values from the access bean.
 void setAutoBidId(java.lang.String newAutoBidId)
          Sets the autoBidId and uses the value to set a key field on the access bean.
 void setCommandContext(CommandContext newCommandContext)
          Sets the active commandContext.
 void setPaymentInfoNVPairs(java.util.Hashtable newPaymentInfoNVPairs)
          Stores the incoming hashtable of payment information in a member variable.
 void setRequestProperties(TypedProperty param)
          Currently does nothing.
 
Methods inherited from class com.ibm.commerce.negotiation.objects.AutoBidAccessBean
commitCopyHelper, findAllAutoBids, findAutoBidByReferenceCode, findAutoBidsByAuction, findAutoBidsByAuctionAndStatus, findAutoBidsByOwner, findAutoBidsByOwnerAndMultipleAuctionStatus, findAutoBidsByOwnerAndStatus, findAutoBidsByStatus, findByAuction, fulfills, getAdminId, getAdminIdInEJBType, getAuction, getAuctionId, getAuctionIdInEJBType, getBankInfo, getBidComment, getBidQuantity, getBidQuantityInEJBType, getBillingAddressId, getBillingAddressIdInEJBType, getCommentFlag, getCommentFlagInEJBType, getCreationTime, getCreationTimeInEJBType, getDeviceExpiration, getDeviceExpirationInEJBType, getDeviceNumber, getEncrypted, getEncryptedInEJBType, getEndTime, getEndTimeInEJBType, getField1, getField1InEJBType, getField2, getField2InEJBType, getField3, getFirstBidId, getFirstBidIdInEJBType, getId, getIdInEJBType, getInitialBidPrice, getInitialBidPriceInEJBType, getLastBidId, getLastBidIdInEJBType, getMaxBidLimit, getMaxBidLimitInEJBType, getOwner, getOwnerId, getOwnerIdInEJBType, getPayDeviceType, getReferenceCode, getScale, getScaleInEJBType, getShippingAddressId, getShippingAddressIdInEJBType, getShippingMode, getShippingModeInEJBType, getStartTime, getStartTimeInEJBType, getStatus, getStoreId, getStoreIdInEJBType, getWinOption, refreshCopyHelper, setAdminId, setAdminId, setAuctionId, setAuctionId, setBankInfo, setBidComment, setBidQuantity, setBidQuantity, setBillingAddressId, setBillingAddressId, setCommentFlag, setCommentFlag, setCreationTime, setCreationTime, setDeviceExpiration, setDeviceExpiration, setDeviceNumber, setEncrypted, setEncrypted, setEndTime, setEndTime, setField1, setField1, setField2, setField2, setField3, setFirstBidId, setFirstBidId, setId, setId, setInitialBidPrice, setInitialBidPrice, setInitKey_id, setLastBidId, setLastBidId, setMaxBidLimit, setMaxBidLimit, setOwnerId, setOwnerId, setPayDeviceType, setReferenceCode, setScale, setScale, setShippingAddressId, setShippingAddressId, setShippingMode, setShippingMode, setStartTime, setStartTime, setStatus, setStoreId, setStoreId, setWinOption
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aString

protected java.lang.String aString

commandContext

protected CommandContext commandContext

COPYRIGHT

public static final java.lang.String COPYRIGHT

paymentInfoNVPairs

protected java.util.Hashtable paymentInfoNVPairs
Constructor Detail

AutoBidDataBean

public AutoBidDataBean()
Constructs AutoBidDataBean, initializes fields to emptyString.

AutoBidDataBean

public AutoBidDataBean(AutoBidAccessBean anAccessBean)
                throws java.lang.Exception
Constructs AutoBidDataBean, initializes fields to emptyString.
Parameters:
anAccessBean - com.ibm.commerce.negotiation.objects.AutoBidAccessBean
Throws:
ECException -  

AutoBidDataBean

public AutoBidDataBean(javax.ejb.EJBObject o)
                throws java.rmi.RemoteException
Constructs AutoBidDataBean, initializes fields to emptyString.
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException -  
Method Detail

getAutoBidId

public java.lang.String getAutoBidId()
Gets the autoBidId field.
Specified by:
getAutoBidId in interface AutoBidSmartDataBean
Returns:
the auto bid id.

getCommandContext

public CommandContext getCommandContext()
Gets the active commandContext.
Specified by:
getCommandContext in interface SmartDataBean
Returns:
the active commandContext.

getDeviceExpDate

public java.lang.String getDeviceExpDate()
Get Device Expiration Date in format: yyyy-mm-dd
Specified by:
getDeviceExpDate in interface AutoBidSmartDataBean
Returns:
the expiration date of the relevant credit device.

getDeviceExpDay

public java.lang.String getDeviceExpDay()
Gets the Device Expiration (e.g. credit expiration) Day in format: dd
Specified by:
getDeviceExpDay in interface AutoBidSmartDataBean
Returns:
the expiration day of the relevant credit device.

getDeviceExpMonth

public java.lang.String getDeviceExpMonth()
Gets the Device Expiration (e.g. credit expiration) Month in format: mm
Specified by:
getDeviceExpMonth in interface AutoBidSmartDataBean
Returns:
the expiration month of the relevant credit device.

getDeviceExpYear

public java.lang.String getDeviceExpYear()
Gets the Device Expiration (e.g. credit expiration) Year in format: yyyy
Specified by:
getDeviceExpYear in interface AutoBidSmartDataBean
Returns:
the expiration year of the relevant credit device.

getPaymentInfoNVPairs

public java.util.Hashtable getPaymentInfoNVPairs()
Get payment related information. Only the bidder himself/herself can get this.
Returns:
java.util.Hashtable

getRequestProperties

public TypedProperty getRequestProperties()
Gets the value of requestProperties; currently implemented to return null.
Specified by:
getRequestProperties in interface InputDataBean
Returns:
always null

populate

public void populate()
              throws java.lang.Exception
Fetches field values from the access bean.
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception - On any access bean error.

setAutoBidId

public void setAutoBidId(java.lang.String newAutoBidId)
Sets the autoBidId and uses the value to set a key field on the access bean.
Specified by:
setAutoBidId in interface AutoBidInputDataBean
Parameters:
newAutoBidId - relevant autoBidId.

setCommandContext

public void setCommandContext(CommandContext newCommandContext)
Sets the active commandContext.
Specified by:
setCommandContext in interface SmartDataBean
Parameters:
newCommandContext - the active command context.

setPaymentInfoNVPairs

public void setPaymentInfoNVPairs(java.util.Hashtable newPaymentInfoNVPairs)
Stores the incoming hashtable of payment information in a member variable.
Parameters:
newPaymentInfoNVPairs - java.util.Hashtable

setRequestProperties

public void setRequestProperties(TypedProperty param)
Currently does nothing.
Specified by:
setRequestProperties in interface InputDataBean
Parameters:
param - a TypedProperty that is ignored.