com.ibm.commerce.order.objects
Class OfferAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.order.objects.OfferAccessBean
All Implemented Interfaces:
OfferAccessBeanData

public class OfferAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OfferAccessBeanData

Each row of this table represents an Offer to sell a product identified by a CatalogEntry.

See Also:
Serialized Form

Constructor Summary
OfferAccessBean()
          constructor
OfferAccessBean(javax.ejb.EJBObject o)
          constructor
OfferAccessBean(java.lang.Long arg0, java.lang.Double arg1, java.lang.Long arg2)
          constructor
OfferAccessBean(java.lang.Long arg0, java.lang.Double arg1, java.lang.Long arg2, java.lang.Long arg3)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
  OfferAccessBean findByCatalogEntryAndIdentifierAndTradingPosContainer(java.lang.Long arg0, java.lang.Long arg1, java.lang.Long arg2)
          Retrieves the offer for the catalog entry, aIdentifier, and trading position container.
 java.util.Enumeration findByCatalogEntryAndStore(java.lang.Long arg0, java.lang.Integer arg1)
          Retrieves all offers for the catalog entry and store.
 java.util.Enumeration findByCatalogEntryAndTradingPositionContainer(java.lang.Long arg0, java.lang.Long arg1)
          Retrieves the offers for the catalog entry and trading position container.
 java.util.Enumeration findByItem(java.lang.Long arg0)
          Retrieves all offers for the catalog entry.
  OfferAccessBean findByTimestampAndStore(java.sql.Timestamp arg0, java.sql.Timestamp arg1, java.lang.Integer arg2)
           
 java.util.Enumeration findByTradingPositionContainerId(java.lang.Long arg0)
          Retrieves all offers for the trading position container.
 java.util.Enumeration findEffectiveOffersByTimestampCatentriesOffersStoreAndPriceLists(boolean arg0, java.sql.Timestamp arg1, java.lang.Long[] arg2, java.lang.Long[] arg3, java.lang.Integer arg4, java.lang.Long[] arg5)
          Retrieves all valid offers, for the store, for the item restricted by the specified input parameters.
 java.util.Enumeration findEffectiveOffersByTimestampCatentriesOffersStorePriceListsAndMemberGroups(boolean arg0, java.sql.Timestamp arg1, java.lang.Long[] arg2, java.lang.Long[] arg3, java.lang.Integer arg4, java.lang.Long[] arg5, java.lang.Long[] arg6)
          This method should not be used.
 java.util.Enumeration findEffectiveOffersByTimestampCatentriesPredicateOffersStoreAndPriceLists(boolean timestampFlag, java.sql.Timestamp timestamp, java.lang.Long[] catalogEntryIds, java.lang.Long[] offerIds, java.lang.Integer storeId, java.lang.Long[] priceListIds, java.lang.String exclusionPredicate, java.lang.Integer[] exclusionIds, java.lang.String inclusionPredicate, java.lang.Integer[] inclusionIds)
          findEffectiveOffersByTimestampCatentriesPredicateOffersStoreAndPriceLists
 java.util.Enumeration findEffectiveOffersByTimestampCatentriesPredicateOffersStoreAndPriceLists(boolean arg0, java.sql.Timestamp arg1, java.lang.Long[] arg2, java.lang.Long[] arg3, java.lang.Integer arg4, java.lang.Long[] arg5, java.lang.String arg6, java.lang.String arg7)
          Deprecated.  
 java.util.Enumeration findEffectiveOffersByTimestampCatentryOffersStoreContractsAndMemberGroups(boolean arg0, java.sql.Timestamp arg1, java.lang.Long arg2, java.lang.Long[] arg3, java.lang.Integer arg4, java.lang.Long[] arg5, java.lang.Long[] arg6)
           
 java.lang.String getCatalogEntryReferenceNumber()
          This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatalogEntryReferenceNumberInEJBType()
          This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getEndDate()
          This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP.
 java.sql.Timestamp getEndDateInEJBType()
          This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP.
 java.lang.String getField1()
          This method provides access to the OFFER.FIELD1 column of DB2 type CHAR(30).
 java.lang.String getField2()
          This method provides access to the OFFER.FIELD2 column of DB2 type CHAR(1).
 java.lang.String getFlags()
          This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 1.
 java.lang.Integer getFlagsInEJBType()
          This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 1.
 java.lang.String getIdentifier()
          This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT.
 java.lang.Long getIdentifierInEJBType()
          This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT.
 java.lang.String getLastUpdate()
          This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP.
 java.lang.String getMaximumQuantity()
          This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT.
 java.lang.Double getMaximumQuantityInEJBType()
          This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT.
 java.lang.String getMinimumQuantity()
          This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT.
 java.lang.Double getMinimumQuantityInEJBType()
          This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT.
 java.lang.String getOfferId()
          This method provides access to the OFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOfferIdInEJBType()
          This method provides access to the OFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOID()
          This method provides access to the OFFER.OID column of DB2 type VARCHAR(64).
 java.lang.String getPrecedence()
          This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 java.lang.Double getPrecedenceInEJBType()
          This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
  OfferPriceAccessBean getPrice(java.lang.String arg0)
          Returns the OfferPriceAccessBean associated with this offer for the specified arg1.
  OfferPriceAccessBean getPrice(java.lang.String arg0, java.lang.String arg1)
          Returns the OfferPriceAccessBean associated with this offer for the negotiated currency.
 java.util.Vector getPrices(java.lang.String arg0)
          Returns a vector of OfferPriceAccessBean objects.
 java.lang.String getPublished()
          This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL DEFAULT 0.
 java.lang.Integer getPublishedInEJBType()
          This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL DEFAULT 0.
 java.lang.String getQuantityUnitId()
          This method provides access to the OFFER.QTYUNIT_ID column of DB2 type CHAR(16).
 java.lang.String getStartDate()
          This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP.
 java.sql.Timestamp getStartDateInEJBType()
          This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP.
 java.lang.String getTradePosContainerId()
          This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getTradePosContainerIdInEJBType()
          This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatalogEntryReferenceNumber(java.lang.Long newValue)
          This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setCatalogEntryReferenceNumber(java.lang.String newValue)
          This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
 void setEndDate(java.lang.String newValue)
          This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP.
 void setEndDate(java.sql.Timestamp newValue)
          This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP.
 void setField1(java.lang.String newValue)
          This method provides access to the OFFER.FIELD1 column of DB2 type CHAR(30).
 void setField2(java.lang.String newValue)
          This method provides access to the OFFER.FIELD2 column of DB2 type CHAR(1).
 void setFlags(java.lang.Integer newValue)
          This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 1.
 void setFlags(java.lang.String newValue)
          This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 1.
 void setIdentifier(java.lang.Long newValue)
          This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT.
 void setIdentifier(java.lang.String newValue)
          This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT.
 void setInitKey_offerId(java.lang.String newValue)
          Set the primary key for this object
 void setLastUpdate(java.lang.String newValue)
          This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP.
 void setMaximumQuantity(java.lang.Double newValue)
          This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT.
 void setMaximumQuantity(java.lang.String newValue)
          This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT.
 void setMinimumQuantity(java.lang.Double newValue)
          This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT.
 void setMinimumQuantity(java.lang.String newValue)
          This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT.
 void setOID(java.lang.String newValue)
          This method provides access to the OFFER.OID column of DB2 type VARCHAR(64).
 void setPrecedence(java.lang.Double newValue)
          This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 void setPrecedence(java.lang.String newValue)
          This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.
 void setPublished(java.lang.Integer newValue)
          This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setPublished(java.lang.String newValue)
          This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL DEFAULT 0.
 void setQuantityUnitId(java.lang.String newValue)
          This method provides access to the OFFER.QTYUNIT_ID column of DB2 type CHAR(16).
 void setStartDate(java.lang.String newValue)
          This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP.
 void setStartDate(java.sql.Timestamp newValue)
          This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP.
 void setTradePosContainerId(java.lang.Long newValue)
          This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 void setTradePosContainerId(java.lang.String newValue)
          This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfferAccessBean

public OfferAccessBean()
constructor

OfferAccessBean

public OfferAccessBean(javax.ejb.EJBObject o)
                throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

OfferAccessBean

public OfferAccessBean(java.lang.Long arg0,
                       java.lang.Double arg1,
                       java.lang.Long arg2)
                throws javax.naming.NamingException,
                       javax.ejb.CreateException,
                       java.rmi.RemoteException,
                       javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Double
arg2 - java.lang.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException

OfferAccessBean

public OfferAccessBean(java.lang.Long arg0,
                       java.lang.Double arg1,
                       java.lang.Long arg2,
                       java.lang.Long arg3)
                throws javax.naming.NamingException,
                       javax.ejb.CreateException,
                       java.rmi.RemoteException,
                       javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Double
arg2 - java.lang.Long
arg3 - java.lang.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findByCatalogEntryAndIdentifierAndTradingPosContainer

public OfferAccessBean findByCatalogEntryAndIdentifierAndTradingPosContainer(java.lang.Long arg0,
                                                                             java.lang.Long arg1,
                                                                             java.lang.Long arg2)
                                                                      throws java.rmi.RemoteException,
                                                                             javax.ejb.FinderException,
                                                                             javax.naming.NamingException

Retrieves the offer for the catalog entry, aIdentifier, and trading position container.

The SQL query used to fetch all the required rows from the OFFER table is:

SELECT * FROM OFFER T1 WHERE T1.CATENTRY_ID = ? AND T1.IDENTIFIER = ? AND T1.TRADEPOSCN_ID = ?

Returns:
The Offer representing the row that matches the search criteria.
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByTimestampAndStore

public OfferAccessBean findByTimestampAndStore(java.sql.Timestamp arg0,
                                               java.sql.Timestamp arg1,
                                               java.lang.Integer arg2)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException
Returns:
com.ibm.commerce.order.objects.Offer
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByCatalogEntryAndStore

public java.util.Enumeration findByCatalogEntryAndStore(java.lang.Long arg0,
                                                        java.lang.Integer arg1)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

Retrieves all offers for the catalog entry and store.

The SQL query used to fetch all the required rows from the OFFER table is:

SELECT * FROM OFFER T1 WHERE (T1.CATENTRY_ID) = ? and (T1.TRADEPOSCN_ID IN (SELECT TRADEPOSCN_ID FROM TDPSCNCNTR, CONTRACT, STORECNTR WHERE CONTRACT.CONTRACT_ID = TDPSCNCNTR.CONTRACT_ID AND CONTRACT.CONTRACT_ID = STORECNTR.CONTRACT_ID AND STORECNTR.STORE_ID = ?))

Returns:
An Enumeration of all the OfferAccessBeans representing rows that match the search criteria.
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByCatalogEntryAndTradingPositionContainer

public java.util.Enumeration findByCatalogEntryAndTradingPositionContainer(java.lang.Long arg0,
                                                                           java.lang.Long arg1)
                                                                    throws java.rmi.RemoteException,
                                                                           javax.ejb.FinderException,
                                                                           javax.naming.NamingException

Retrieves the offers for the catalog entry and trading position container.

The SQL query used to fetch all the required rows from the OFFER table is:

SELECT * FROM OFFER T1 WHERE T1.CATENTRY_ID=? AND T1.TRADEPOSCN_ID = ? AND (T1.PUBLISHED = 1 OR T1.PUBLISHED IS NULL)

Returns:
An Enumeration of all the OfferAccessBeans representing rows that match the search criteria.
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByItem

public java.util.Enumeration findByItem(java.lang.Long arg0)
                                 throws java.rmi.RemoteException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

Retrieves all offers for the catalog entry.

The SQL query used to fetch all the required rows from the OFFER table is:

SELECT * FROM OFFER T1 WHERE (T1.CATENTRY_ID = ?) AND (T1.PUBLISHED = 1 OR T1.PUBLISHED IS NULL)

Returns:
An Enumeration of all the OfferAccessBeans representing rows that match the search criteria.
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByTradingPositionContainerId

public java.util.Enumeration findByTradingPositionContainerId(java.lang.Long arg0)
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

Retrieves all offers for the trading position container.

The SQL query used to fetch all the required rows from the OFFER table is:

SELECT * FROM OFFER T1 WHERE (T1.TRADEPOSCN_ID = ?)

Returns:
An Enumeration of all the OfferAccessBeans representing rows that match the search criteria.
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findEffectiveOffersByTimestampCatentriesOffersStoreAndPriceLists

public java.util.Enumeration findEffectiveOffersByTimestampCatentriesOffersStoreAndPriceLists(boolean arg0,
                                                                                              java.sql.Timestamp arg1,
                                                                                              java.lang.Long[] arg2,
                                                                                              java.lang.Long[] arg3,
                                                                                              java.lang.Integer arg4,
                                                                                              java.lang.Long[] arg5)
                                                                                       throws java.rmi.RemoteException,
                                                                                              javax.ejb.FinderException,
                                                                                              javax.naming.NamingException

Retrieves all valid offers, for the store, for the item restricted by the specified input parameters.

The SQL query used to fetch all the required rows from the OFFER table is:

SELECT * FROM OFFER T1 WHERE " (T1.startdate < " + (timestampFlag ? "?" : com.ibm.commerce.ejb.helpers.TimestampHelper.getSQLCurrentTimestamp()) + " or T1.startdate is null) and" + " (T1.enddate > " + (timestampFlag ? "?" : com.ibm.commerce.ejb.helpers.TimestampHelper.getSQLCurrentTimestamp()) + " or T1.enddate is null) and" + " (T1.published = 1) and" + (catentryIds == null ? "" : " (T1.catentry_id " + getInPredicate(catentryIds) + ") and") + (offerIds == null ? "" : " (T1.offer_id " + getInPredicate(offerIds) + ") and") + " T1.tradeposcn_id in (" + " select tradeposcn.tradeposcn_id from tradeposcn where" + " ((0 = 0)" + (priceListIds == null ? ")" : " and (tradeposcn_id " + getInPredicate(priceListIds) + ")))") + " order by catentry_id, tradeposcn_id, precedence desc"

Returns:
An Enumeration of all the OfferAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findEffectiveOffersByTimestampCatentriesOffersStorePriceListsAndMemberGroups

public java.util.Enumeration findEffectiveOffersByTimestampCatentriesOffersStorePriceListsAndMemberGroups(boolean arg0,
                                                                                                          java.sql.Timestamp arg1,
                                                                                                          java.lang.Long[] arg2,
                                                                                                          java.lang.Long[] arg3,
                                                                                                          java.lang.Integer arg4,
                                                                                                          java.lang.Long[] arg5,
                                                                                                          java.lang.Long[] arg6)
                                                                                                   throws java.rmi.RemoteException,
                                                                                                          javax.ejb.FinderException,
                                                                                                          javax.naming.NamingException

This method should not be used.

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findEffectiveOffersByTimestampCatentriesPredicateOffersStoreAndPriceLists

public java.util.Enumeration findEffectiveOffersByTimestampCatentriesPredicateOffersStoreAndPriceLists(boolean arg0,
                                                                                                       java.sql.Timestamp arg1,
                                                                                                       java.lang.Long[] arg2,
                                                                                                       java.lang.Long[] arg3,
                                                                                                       java.lang.Integer arg4,
                                                                                                       java.lang.Long[] arg5,
                                                                                                       java.lang.String arg6,
                                                                                                       java.lang.String arg7)
                                                                                                throws java.rmi.RemoteException,
                                                                                                       javax.ejb.FinderException,
                                                                                                       javax.naming.NamingException
Deprecated.  

Retrieves all valid offers, for the store, for the item restricted by the specified input parameters.

The SQL query used to fetch all the required rows from the OFFER table is:

SELECT * FROM OFFER T1 WHERE (T1.startdate < " + (timestampFlag ? "?" : com.ibm.commerce.ejb.helpers.TimestampHelper.getSQLCurrentTimestamp()) + " or T1.startdate is null) and" + " (T1.enddate > " + (timestampFlag ? "?" : com.ibm.commerce.ejb.helpers.TimestampHelper.getSQLCurrentTimestamp()) + " or T1.enddate is null) and" + " (T1.published = 1) and" + (catentryIds == null ? " (0 = 0" : " (T1.catentry_id " + getInPredicate(catentryIds)) + (exclusionPredicate == null ? "" : " and (T1.catentry_id " + exclusionPredicate + ")") + (inclusionPredicate == null ? "" : " and (T1.catentry_id " + inclusionPredicate + ")") + ") and" + (offerIds == null ? "" : " (T1.offer_id " + getInPredicate(offerIds) + ") and") + " T1.tradeposcn_id in (" + " select tradeposcn.tradeposcn_id from tradeposcn where" + " ((0 = 0)" + (priceListIds == null ? ")" : " and (tradeposcn_id " + getInPredicate(priceListIds) + ")))") + " order by catentry_id, tradeposcn_id, precedence desc"

Returns:
An Enumeration of all the OfferAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findEffectiveOffersByTimestampCatentryOffersStoreContractsAndMemberGroups

public java.util.Enumeration findEffectiveOffersByTimestampCatentryOffersStoreContractsAndMemberGroups(boolean arg0,
                                                                                                       java.sql.Timestamp arg1,
                                                                                                       java.lang.Long arg2,
                                                                                                       java.lang.Long[] arg3,
                                                                                                       java.lang.Integer arg4,
                                                                                                       java.lang.Long[] arg5,
                                                                                                       java.lang.Long[] arg6)
                                                                                                throws java.rmi.RemoteException,
                                                                                                       javax.ejb.FinderException,
                                                                                                       javax.naming.NamingException
Parameters:
arg0 - boolean
arg1 - java.sql.Timestamp
arg2 - java.lang.Long
arg3 - java.lang.Long[]
arg4 - java.lang.Integer
arg5 - java.lang.Long[]
arg6 - java.lang.Long[]
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

setInitKey_offerId

public void setInitKey_offerId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdate

public java.lang.String getLastUpdate()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time this Offer was updated.

Specified by:
getLastUpdate in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdateInEJBType

public java.sql.Timestamp getLastUpdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time this Offer was updated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastUpdate

public void setLastUpdate(java.lang.String newValue)

This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time this Offer was updated.

Specified by:
setLastUpdate in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

This method provides access to the OFFER.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The last time this Offer was updated.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getPublished

public java.lang.String getPublished()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

Describes whether or not the offer has been published as follows:&l

Specified by:
getPublished in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPublishedInEJBType

public java.lang.Integer getPublishedInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

Describes whether or not the offer has been published as follows:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPublished

public void setPublished(java.lang.String newValue)

This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

Describes whether or not the offer has been published as follows:&l

Specified by:
setPublished in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setPublished

public void setPublished(java.lang.Integer newValue)

This method provides access to the OFFER.PUBLISHED column of DB2 type INTEGER NOT NULL DEFAULT 0.

The following is a description of this column:

Describes whether or not the offer has been published as follows:&l

Parameters:
newValue - java.lang.Integer
Returns:
void

getOID

public java.lang.String getOID()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

This method provides access to the OFFER.OID column of DB2 type VARCHAR(64).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getOID in interface OfferAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOID

public void setOID(java.lang.String newValue)

This method provides access to the OFFER.OID column of DB2 type VARCHAR(64).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setOID in interface OfferAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getIdentifier

public java.lang.String getIdentifier()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT.

The following is a description of this column:

A number that uniquely identifies this Offer along with its specified CatalogEntry and TradingPositionContainer.

Specified by:
getIdentifier in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getIdentifierInEJBType

public java.lang.Long getIdentifierInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT.

The following is a description of this column:

A number that uniquely identifies this Offer along with its specified CatalogEntry and TradingPositionContainer.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setIdentifier

public void setIdentifier(java.lang.String newValue)

This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT.

The following is a description of this column:

A number that uniquely identifies this Offer along with its specified CatalogEntry and TradingPositionContainer.

Specified by:
setIdentifier in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setIdentifier

public void setIdentifier(java.lang.Long newValue)

This method provides access to the OFFER.IDENTIFIER column of DB2 type BIGINT.

The following is a description of this column:

A number that uniquely identifies this Offer along with its specified CatalogEntry and TradingPositionContainer.

Parameters:
newValue - java.lang.Long
Returns:
void

getStartDate

public java.lang.String getStartDate()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The start of the time range during which this Offer is effective.

Specified by:
getStartDate in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStartDateInEJBType

public java.sql.Timestamp getStartDateInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The start of the time range during which this Offer is effective.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStartDate

public void setStartDate(java.lang.String newValue)

This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The start of the time range during which this Offer is effective.

Specified by:
setStartDate in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setStartDate

public void setStartDate(java.sql.Timestamp newValue)

This method provides access to the OFFER.STARTDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The start of the time range during which this Offer is effective.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getOfferId

public java.lang.String getOfferId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the OFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getOfferId in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOfferIdInEJBType

public java.lang.Long getOfferIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the OFFER.OFFER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatalogEntryReferenceNumber

public java.lang.String getCatalogEntryReferenceNumber()
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntry offered for sale.

Specified by:
getCatalogEntryReferenceNumber in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatalogEntryReferenceNumberInEJBType

public java.lang.Long getCatalogEntryReferenceNumberInEJBType()
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.CreateException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntry offered for sale.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCatalogEntryReferenceNumber

public void setCatalogEntryReferenceNumber(java.lang.String newValue)

This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntry offered for sale.

Specified by:
setCatalogEntryReferenceNumber in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setCatalogEntryReferenceNumber

public void setCatalogEntryReferenceNumber(java.lang.Long newValue)

This method provides access to the OFFER.CATENTRY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The CatalogEntry offered for sale.

Parameters:
newValue - java.lang.Long
Returns:
void

getMinimumQuantity

public java.lang.String getMinimumQuantity()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT.

The following is a description of this column:

The minimum quantity that can be purchased in a single Order under this Offer.

Specified by:
getMinimumQuantity in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMinimumQuantityInEJBType

public java.lang.Double getMinimumQuantityInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT.

The following is a description of this column:

The minimum quantity that can be purchased in a single Order under this Offer.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMinimumQuantity

public void setMinimumQuantity(java.lang.String newValue)

This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT.

The following is a description of this column:

The minimum quantity that can be purchased in a single Order under this Offer.

Specified by:
setMinimumQuantity in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setMinimumQuantity

public void setMinimumQuantity(java.lang.Double newValue)

This method provides access to the OFFER.MINIMUMQUANTITY column of DB2 type FLOAT.

The following is a description of this column:

The minimum quantity that can be purchased in a single Order under this Offer.

Parameters:
newValue - java.lang.Double
Returns:
void

getField2

public java.lang.String getField2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the OFFER.FIELD2 column of DB2 type CHAR(1).

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface OfferAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

public void setField2(java.lang.String newValue)

This method provides access to the OFFER.FIELD2 column of DB2 type CHAR(1).

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface OfferAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the OFFER.FIELD1 column of DB2 type CHAR(30).

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface OfferAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)

This method provides access to the OFFER.FIELD1 column of DB2 type CHAR(30).

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface OfferAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getPrecedence

public java.lang.String getPrecedence()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

The following is a description of this column:

When more than one Offer is effective at a particular time, the one with the highest PRECEDENCE is used.

Specified by:
getPrecedence in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPrecedenceInEJBType

public java.lang.Double getPrecedenceInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

The following is a description of this column:

When more than one Offer is effective at a particular time, the one with the highest PRECEDENCE is used.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPrecedence

public void setPrecedence(java.lang.String newValue)

This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

The following is a description of this column:

When more than one Offer is effective at a particular time, the one with the highest PRECEDENCE is used.

Specified by:
setPrecedence in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setPrecedence

public void setPrecedence(java.lang.Double newValue)

This method provides access to the OFFER.PRECEDENCE column of DB2 type FLOAT NOT NULL DEFAULT 0.

The following is a description of this column:

When more than one Offer is effective at a particular time, the one with the highest PRECEDENCE is used.

Parameters:
newValue - java.lang.Double
Returns:
void

getFlags

public java.lang.String getFlags()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 1.

The following is a description of this column:

Contains the following bit flag value:&l

Specified by:
getFlags in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getFlagsInEJBType

public java.lang.Integer getFlagsInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 1.

The following is a description of this column:

Contains the following bit flag value:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setFlags

public void setFlags(java.lang.String newValue)

This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 1.

The following is a description of this column:

Contains the following bit flag value:&l

Specified by:
setFlags in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setFlags

public void setFlags(java.lang.Integer newValue)

This method provides access to the OFFER.FLAGS column of DB2 type INTEGER NOT NULL DEFAULT 1.

The following is a description of this column:

Contains the following bit flag value:&l

Parameters:
newValue - java.lang.Integer
Returns:
void

getQuantityUnitId

public java.lang.String getQuantityUnitId()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the OFFER.QTYUNIT_ID column of DB2 type CHAR(16).

The following is a description of this column:

The unit of measure for MINIMUMQUANTITY and MAXIMUMQUANTITY. If this is NULL, then MINIMUMQUANTITY and MAXIMUMQUANTITY are multiplied by CATENTSHIP.NOMINALQUANTITY and the unit of measure of the results is CATENTSHIP.QUANTITYMEASURE.

Specified by:
getQuantityUnitId in interface OfferAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQuantityUnitId

public void setQuantityUnitId(java.lang.String newValue)

This method provides access to the OFFER.QTYUNIT_ID column of DB2 type CHAR(16).

The following is a description of this column:

The unit of measure for MINIMUMQUANTITY and MAXIMUMQUANTITY. If this is NULL, then MINIMUMQUANTITY and MAXIMUMQUANTITY are multiplied by CATENTSHIP.NOMINALQUANTITY and the unit of measure of the results is CATENTSHIP.QUANTITYMEASURE.

Specified by:
setQuantityUnitId in interface OfferAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getEndDate

public java.lang.String getEndDate()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The end of the time range during which this Offer is effective.

Specified by:
getEndDate in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEndDateInEJBType

public java.sql.Timestamp getEndDateInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The end of the time range during which this Offer is effective.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEndDate

public void setEndDate(java.lang.String newValue)

This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The end of the time range during which this Offer is effective.

Specified by:
setEndDate in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setEndDate

public void setEndDate(java.sql.Timestamp newValue)

This method provides access to the OFFER.ENDDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

The end of the time range during which this Offer is effective.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getMaximumQuantity

public java.lang.String getMaximumQuantity()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT.

The following is a description of this column:

The maximum quantity that can be purchased in a single Order under this Offer.

Specified by:
getMaximumQuantity in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMaximumQuantityInEJBType

public java.lang.Double getMaximumQuantityInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT.

The following is a description of this column:

The maximum quantity that can be purchased in a single Order under this Offer.

Returns:
java.lang.Double
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMaximumQuantity

public void setMaximumQuantity(java.lang.String newValue)

This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT.

The following is a description of this column:

The maximum quantity that can be purchased in a single Order under this Offer.

Specified by:
setMaximumQuantity in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setMaximumQuantity

public void setMaximumQuantity(java.lang.Double newValue)

This method provides access to the OFFER.MAXIMUMQUANTITY column of DB2 type FLOAT.

The following is a description of this column:

The maximum quantity that can be purchased in a single Order under this Offer.

Parameters:
newValue - java.lang.Double
Returns:
void

getTradePosContainerId

public java.lang.String getTradePosContainerId()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The TradingPositionContainer this Offer is part of.

Specified by:
getTradePosContainerId in interface OfferAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTradePosContainerIdInEJBType

public java.lang.Long getTradePosContainerIdInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The TradingPositionContainer this Offer is part of.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTradePosContainerId

public void setTradePosContainerId(java.lang.String newValue)

This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The TradingPositionContainer this Offer is part of.

Specified by:
setTradePosContainerId in interface OfferAccessBeanData
Parameters:
newValue - String
Returns:
void

setTradePosContainerId

public void setTradePosContainerId(java.lang.Long newValue)

This method provides access to the OFFER.TRADEPOSCN_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The TradingPositionContainer this Offer is part of.

Parameters:
newValue - java.lang.Long
Returns:
void

getPrice

public OfferPriceAccessBean getPrice(java.lang.String arg0)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException

Returns the OfferPriceAccessBean associated with this offer for the specified arg1.

Returns:
The offer price access bean.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getPrice

public OfferPriceAccessBean getPrice(java.lang.String arg0,
                                     java.lang.String arg1)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException

Returns the OfferPriceAccessBean associated with this offer for the negotiated currency. If there is no price available for the negotiated currency, returns the OfferAccessBean for the default currency.

Parameters:
arg1 - The currency of the offer.
Returns:
The offer price access bean.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getPrices

public java.util.Vector getPrices(java.lang.String arg0)
                           throws javax.naming.NamingException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  java.rmi.RemoteException

Returns a vector of OfferPriceAccessBean objects. If there is an OfferPrice for this offer and for the currency, return a one-element vector that only contains this OfferPriceAccessBean, otherwise returns a vector with all the OfferPriceAccessBean objects associated with this offer.

Returns:
The vector of offer price access beans.
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

findEffectiveOffersByTimestampCatentriesPredicateOffersStoreAndPriceLists

public java.util.Enumeration findEffectiveOffersByTimestampCatentriesPredicateOffersStoreAndPriceLists(boolean timestampFlag,
                                                                                                       java.sql.Timestamp timestamp,
                                                                                                       java.lang.Long[] catalogEntryIds,
                                                                                                       java.lang.Long[] offerIds,
                                                                                                       java.lang.Integer storeId,
                                                                                                       java.lang.Long[] priceListIds,
                                                                                                       java.lang.String exclusionPredicate,
                                                                                                       java.lang.Integer[] exclusionIds,
                                                                                                       java.lang.String inclusionPredicate,
                                                                                                       java.lang.Integer[] inclusionIds)
                                                                                                throws javax.naming.NamingException,
                                                                                                       javax.ejb.FinderException,
                                                                                                       java.rmi.RemoteException
findEffectiveOffersByTimestampCatentriesPredicateOffersStoreAndPriceLists
Returns:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException