java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.order.objects.OfferAccessBean
Each row of this table represents an Offer to sell a product identified by a CatalogEntry. This access bean corresponds to the database table 'OFFER'.
Constructor Summary | |
OfferAccessBean() Zero argument constructor used to initialize the access bean. |
|
OfferAccessBean(javax.ejb.EJBObject o) constructor |
|
OfferAccessBean(java.lang.Long catalogEntryId, java.lang.Double precedence, java.lang.Long containerId) Creates an access bean with the specified attributes. |
|
OfferAccessBean(java.lang.Long catalogEntryId, java.lang.Double precedence, java.lang.Long containerId, java.lang.Long aIdentifier) Creates an access bean with the specified attributes. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
OfferAccessBean | findByCatalogEntryAndIdentifierAndTradingPosContainer(java.lang.Long aCatalogEntry, java.lang.Long aIdentifier, java.lang.Long aTradingPosContainerId) Retrieves the offer for the catalog entry, aIdentifier, and trading position container. |
java.util.Enumeration | findByCatalogEntryAndStore(java.lang.Long catalogEntryId, java.lang.Integer storeId) Retrieves all offers for the catalog entry and store. |
java.util.Enumeration | findByCatalogEntryAndTradingPositionContainer(java.lang.Long aCatalogEntry, java.lang.Long aTradingPostionContainerId) Retrieves the offers for the catalog entry and trading position container. |
java.util.Enumeration | findByItem(java.lang.Long itemNum) Retrieves all offers for the catalog entry. |
OfferAccessBean | findByTimestampAndStore(java.sql.Timestamp timestamp1, java.sql.Timestamp timestamp2, java.lang.Integer storeId) |
java.util.Enumeration | findByTradingPositionContainerId(java.lang.Long tradingPositionContainerId) Retrieves all offers for the trading position container. |
java.util.Enumeration | findEffectiveOffersByTimestampCatentriesOffersStoreAndPriceLists(boolean timestampFlag, java.sql.Timestamp timestamp, java.lang.Long[] catalogEntryIds, java.lang.Long[] offerIds, java.lang.Integer storeId, java.lang.Long[] priceListIds) Retrieves all valid offers, for the store, for the item restricted by the specified input parameters. |
java.util.Enumeration | findEffectiveOffersByTimestampCatentriesOffersStorePriceListsAndMemberGroups(boolean timestampFlag, java.sql.Timestamp timestamp, java.lang.Long[] catalogEntryIds, java.lang.Long[] offerIds, java.lang.Integer storeId, java.lang.Long[] priceListIds, java.lang.Long[] memberGroupIds) 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 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.String inclusionPredicate) 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 arg1) Returns the OfferPriceAccessBean associated with this offer for the specified arg1. |
OfferPriceAccessBean | getPrice(java.lang.String arg1, java.lang.String arg2) Returns the OfferPriceAccessBean associated with this offer for the negotiated currency. |
java.util.Vector | getPrices(java.lang.String arg1) 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 accesses a non-CMP field |
void | setCatalogEntryReferenceNumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setEndDate(java.lang.String newValue) This method accesses a non-CMP field |
void | setEndDate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setField1(java.lang.String newValue) This method accesses a non-CMP field |
void | setField2(java.lang.String newValue) This method accesses a non-CMP field |
void | setFlags(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setFlags(java.lang.String newValue) This method accesses a non-CMP field |
void | setIdentifier(java.lang.Long newValue) This method accesses a non-CMP field |
void | setIdentifier(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_offerId(java.lang.String newValue) Set the primary key for this object |
void | setLastUpdate(java.lang.String newValue) This method accesses a non-CMP field |
void | setLastUpdate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setMaximumQuantity(java.lang.Double newValue) This method accesses a non-CMP field |
void | setMaximumQuantity(java.lang.String newValue) This method accesses a non-CMP field |
void | setMinimumQuantity(java.lang.Double newValue) This method accesses a non-CMP field |
void | setMinimumQuantity(java.lang.String newValue) This method accesses a non-CMP field |
void | setOID(java.lang.String newValue) This method accesses a non-CMP field |
void | setPrecedence(java.lang.Double newValue) This method accesses a non-CMP field |
void | setPrecedence(java.lang.String newValue) This method accesses a non-CMP field |
void | setPublished(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setPublished(java.lang.String newValue) This method accesses a non-CMP field |
void | setQuantityUnitId(java.lang.String newValue) This method accesses a non-CMP field |
void | setStartDate(java.lang.String newValue) This method accesses a non-CMP field |
void | setStartDate(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setTradePosContainerId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setTradePosContainerId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OfferAccessBean()
public OfferAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OfferAccessBean(java.lang.Long catalogEntryId, java.lang.Double precedence, java.lang.Long containerId) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
public OfferAccessBean(java.lang.Long catalogEntryId, java.lang.Double precedence, java.lang.Long containerId, java.lang.Long aIdentifier) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Creates an access bean with the specified attributes.
Method Detail |
public OfferAccessBean findByCatalogEntryAndIdentifierAndTradingPosContainer(java.lang.Long aCatalogEntry, java.lang.Long aIdentifier, java.lang.Long aTradingPosContainerId) 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 = ?
public OfferAccessBean findByTimestampAndStore(java.sql.Timestamp timestamp1, java.sql.Timestamp timestamp2, java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByCatalogEntryAndStore(java.lang.Long catalogEntryId, java.lang.Integer storeId) 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 = ?))
public java.util.Enumeration findByCatalogEntryAndTradingPositionContainer(java.lang.Long aCatalogEntry, java.lang.Long aTradingPostionContainerId) 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)
public java.util.Enumeration findByItem(java.lang.Long itemNum) 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)
public java.util.Enumeration findByTradingPositionContainerId(java.lang.Long tradingPositionContainerId) 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 = ?)
public java.util.Enumeration findEffectiveOffersByTimestampCatentriesOffersStoreAndPriceLists(boolean timestampFlag, java.sql.Timestamp timestamp, java.lang.Long[] catalogEntryIds, java.lang.Long[] offerIds, java.lang.Integer storeId, java.lang.Long[] priceListIds) 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"
public java.util.Enumeration findEffectiveOffersByTimestampCatentriesOffersStorePriceListsAndMemberGroups(boolean timestampFlag, java.sql.Timestamp timestamp, java.lang.Long[] catalogEntryIds, java.lang.Long[] offerIds, java.lang.Integer storeId, java.lang.Long[] priceListIds, java.lang.Long[] memberGroupIds) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method should not be used.
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.String inclusionPredicate) 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 ? " (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"
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
public void setInitKey_offerId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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.
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.
public void setLastUpdate(java.lang.String newValue)
public void setLastUpdate(java.sql.Timestamp newValue)
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
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
public void setPublished(java.lang.String newValue)
public void setPublished(java.lang.Integer newValue)
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.
public void setOID(java.lang.String newValue)
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.
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.
public void setIdentifier(java.lang.String newValue)
public void setIdentifier(java.lang.Long newValue)
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.
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.
public void setStartDate(java.lang.String newValue)
public void setStartDate(java.sql.Timestamp newValue)
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.
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.
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.
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.
public void setCatalogEntryReferenceNumber(java.lang.String newValue)
public void setCatalogEntryReferenceNumber(java.lang.Long newValue)
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.
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.
public void setMinimumQuantity(java.lang.String newValue)
public void setMinimumQuantity(java.lang.Double newValue)
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.
public void setField2(java.lang.String newValue)
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.
public void setField1(java.lang.String newValue)
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.
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.
public void setPrecedence(java.lang.String newValue)
public void setPrecedence(java.lang.Double newValue)
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
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
public void setFlags(java.lang.String newValue)
public void setFlags(java.lang.Integer newValue)
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.
public void setQuantityUnitId(java.lang.String newValue)
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.
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.
public void setEndDate(java.lang.String newValue)
public void setEndDate(java.sql.Timestamp newValue)
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.
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.
public void setMaximumQuantity(java.lang.String newValue)
public void setMaximumQuantity(java.lang.Double newValue)
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.
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.
public void setTradePosContainerId(java.lang.String newValue)
public void setTradePosContainerId(java.lang.Long newValue)
public OfferPriceAccessBean getPrice(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 specified arg1.
public OfferPriceAccessBean getPrice(java.lang.String arg1, java.lang.String arg2) 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.
public java.util.Vector getPrices(java.lang.String arg1) 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.
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
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.