java.lang.Object | +--com.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.
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 |
---|
public OfferAccessBean()
public OfferAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
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
arg0
- java.lang.Longarg1
- java.lang.Doublearg2
- java.lang.Longjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
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
arg0
- java.lang.Longarg1
- java.lang.Doublearg2
- java.lang.Longarg3
- java.lang.Longjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
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 = ?
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
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
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
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 = ?))
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
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)
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
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)
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
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 = ?)
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
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"
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic 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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
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
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"
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
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
arg0
- booleanarg1
- java.sql.Timestamparg2
- java.lang.Longarg3
- java.lang.Long[]arg4
- java.lang.Integerarg5
- java.lang.Long[]arg6
- java.lang.Long[]java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public void setInitKey_offerId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getLastUpdate
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setLastUpdate
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.sql.Timestamppublic 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
getPublished
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
setPublished
in interface
OfferAccessBeanData
newValue
- Stringpublic 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
newValue
- java.lang.Integerpublic 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.
getOID
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setOID
in interface
OfferAccessBeanData
newValue
- java.lang.Stringpublic 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.
getIdentifier
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setIdentifier
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.lang.Longpublic 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.
getStartDate
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setStartDate
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.sql.Timestamppublic 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.
getOfferId
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getCatalogEntryReferenceNumber
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setCatalogEntryReferenceNumber
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.lang.Longpublic 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.
getMinimumQuantity
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setMinimumQuantity
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.lang.Doublepublic 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.
getField2
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setField2
in interface
OfferAccessBeanData
newValue
- java.lang.Stringpublic 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.
getField1
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setField1
in interface
OfferAccessBeanData
newValue
- java.lang.Stringpublic 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.
getPrecedence
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setPrecedence
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.lang.Doublepublic 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
getFlags
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
setFlags
in interface
OfferAccessBeanData
newValue
- Stringpublic 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
newValue
- java.lang.Integerpublic 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.
getQuantityUnitId
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setQuantityUnitId
in interface
OfferAccessBeanData
newValue
- java.lang.Stringpublic 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.
getEndDate
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setEndDate
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.sql.Timestamppublic 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.
getMaximumQuantity
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setMaximumQuantity
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.lang.Doublepublic 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.
getTradePosContainerId
in interface
OfferAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
setTradePosContainerId
in interface
OfferAccessBeanData
newValue
- Stringpublic 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.
newValue
- java.lang.Longpublic 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.
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic 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.
arg1
- The currency of the offer.javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic 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.
javax.naming.NamingException
- The
javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic 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
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException