java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.ProductPageRelationAccessBean
This table holds the page names used to display CatalogEntries. The selection is based on Store, MemberGroup, DeviceType, CatalogEntryType, CatalogEntry, AuctionState, Language, or any combination of the above. This access bean corresponds to the database table 'DISPENTREL'.
Constructor Summary | |
ProductPageRelationAccessBean() Zero argument constructor used to initialize the access bean. |
|
ProductPageRelationAccessBean(javax.ejb.EJBObject o) constructor |
|
ProductPageRelationAccessBean(java.lang.Long productReferenceNumber, java.lang.Integer autionState, java.lang.Long mbrGrpId, java.lang.Integer storeId, java.lang.String entryType, java.lang.String pageName) Maps to a corresponding ejbCreate method in the home interface of the EJB. |
|
ProductPageRelationAccessBean(java.lang.Long productReferenceNumber, java.lang.Long mbrGrpId, java.lang.Integer storeId, java.lang.String entryType, java.lang.String pageName) Maps to a corresponding ejbCreate method in the home interface of the EJB. |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
ProductPageRelationAccessBean | findByStoreCatEntryMemberGroup(java.lang.Integer storeId, java.lang.Long catalongEntryId, java.lang.Long memberGrpId, java.lang.String devicetype_id, java.lang.String entry_type) Finds the product page relation with the catalog entry ID. |
java.util.Enumeration | findByStoreCatEntryMemberGroupAuctionState(java.lang.Integer deviceFmtId, java.lang.Integer storeId, java.lang.Long catalongEntryId, java.lang.String entry_type, java.lang.Long memberGrpId, java.lang.Integer auctionState) Finds the product page relation with the catalog entry ID. |
ProductPageRelationAccessBean | findByStoreCatEntryMemberGroupLanguageId(java.lang.Integer storeId, java.lang.Long catalongEntryId, java.lang.Long memberGrpId, java.lang.String devicetype_id, java.lang.String entry_type, java.lang.Integer languageId) Finds the product page relation with the catalog entry ID. |
ProductPageRelationAccessBean | findByStoreCatEntryMemberGroups(java.lang.Integer arg0, java.lang.Long arg1, java.lang.String arg2, java.lang.String arg3, java.lang.Long[] arg4) constructor |
ProductPageRelationAccessBean | findByStoreCatEntryMemberGroupsLanguageId(java.lang.Integer arg0, java.lang.Long arg1, java.lang.String arg2, java.lang.String arg3, java.lang.Long[] arg4, java.lang.Integer arg5) constructor |
java.lang.String | getAutionState() This method provides access to the DISPENTREL.AUCTIONSTATE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.Integer | getAutionStateInEJBType() This method provides access to the DISPENTREL.AUCTIONSTATE column of DB2 type INTEGER NOT NULL DEFAULT 0. |
java.lang.String | getCatalogEntryType() This method provides access to the DISPENTREL.CATENTTYPE_ID column of DB2 type CHAR(16) NOT NULL. |
java.lang.String | getDescription() This method provides access to the DISPENTREL.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getDevicetype_id() This method provides access to the DISPENTREL.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getField1() This method provides access to the DISPENTREL.FIELD1 column of DB2 type VARCHAR(254). |
java.lang.String | getField2() This method provides access to the DISPENTREL.FIELD2 column of DB2 type VARCHAR(254). |
java.lang.String | getLanguageId() This method provides access to the DISPENTREL.LANGUAGE_ID column of DB2 type INTEGER. |
java.lang.Integer | getLanguageIdInEJBType() This method provides access to the DISPENTREL.LANGUAGE_ID column of DB2 type INTEGER. |
java.lang.String | getMemberGroupID() This method provides access to the DISPENTREL.MBRGRP_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberGroupIDInEJBType() This method provides access to the DISPENTREL.MBRGRP_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOid() This method provides access to the DISPENTREL.OID column of DB2 type VARCHAR(64). |
java.lang.String | getProductReferenceNumber() This method provides access to the DISPENTREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getProductReferenceNumberInEJBType() This method provides access to the DISPENTREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getRank() This method provides access to the DISPENTREL.RANK column of DB2 type FLOAT. |
java.lang.Double | getRankInEJBType() This method provides access to the DISPENTREL.RANK column of DB2 type FLOAT. |
java.lang.String | getStoreEntryID() This method provides access to the DISPENTREL.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreEntryIDInEJBType() This method provides access to the DISPENTREL.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getTemplateName() This method provides access to the DISPENTREL.PAGENAME column of DB2 type VARCHAR(254) NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setAutionState(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setAutionState(java.lang.String newValue) This method accesses a non-CMP field |
void | setCatalogEntryType(java.lang.String newValue) This method accesses a non-CMP field |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setDevicetype_id(java.lang.String 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 | setInitKey_displayReferenceNumber(java.lang.String newValue) Set the primary key for this object |
void | setLanguageId(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setLanguageId(java.lang.String newValue) This method accesses a non-CMP field |
void | setMemberGroupID(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberGroupID(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 | setProductReferenceNumber(java.lang.Long newValue) This method accesses a non-CMP field |
void | setProductReferenceNumber(java.lang.String newValue) This method accesses a non-CMP field |
void | setRank(java.lang.Double newValue) This method accesses a non-CMP field |
void | setRank(java.lang.String newValue) This method accesses a non-CMP field |
void | setStoreEntryID(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreEntryID(java.lang.String newValue) This method accesses a non-CMP field |
void | setTemplateName(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 ProductPageRelationAccessBean()
public ProductPageRelationAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public ProductPageRelationAccessBean(java.lang.Long productReferenceNumber, java.lang.Integer autionState, java.lang.Long mbrGrpId, java.lang.Integer storeId, java.lang.String entryType, java.lang.String pageName) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the product page relation according to the product reference number, auction state, member group ID, store ID, catalog entry type, and page name.
public ProductPageRelationAccessBean(java.lang.Long productReferenceNumber, java.lang.Long mbrGrpId, java.lang.Integer storeId, java.lang.String entryType, java.lang.String pageName) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the product page relation according to the product reference number, member group ID, store ID, catalog entry type, and page name.
Method Detail |
public ProductPageRelationAccessBean findByStoreCatEntryMemberGroup(java.lang.Integer storeId, java.lang.Long catalongEntryId, java.lang.Long memberGrpId, java.lang.String devicetype_id, java.lang.String entry_type) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the product page relation with the catalog entry ID.
SQL:
SELECT FIELD2, OID, MBRGRP_ID, CATENTTYPE_ID, DISPENTREL_ID, PAGENAME, CATENTRY_ID, AUCTIONSTATE, DESCRIPTION, FIELD1, DEVICEFMT_ID, STOREENT_ID, RANK, LANGUAGE_ID FROM DISPENTREL WHERE (STOREENT_ID = storeId OR STOREENT_ID = 0 ) AND (catentry_id = catalongEntryId or catentry_id = 0 ) AND (MBRGRP_ID = memberGrpId or MBRGRP_ID = 0 ) AND (devicefmt_id = devicetype_id or devicefmt_id =-1) AND (CATENTTYPE_ID = entry_type or CATENTTYPE_ID = 'CatalogEntryBean') ORDER BY auctionstate desc, MBRGRP_ID desc, catentry_id desc, STOREENT_ID desc
public ProductPageRelationAccessBean findByStoreCatEntryMemberGroupLanguageId(java.lang.Integer storeId, java.lang.Long catalongEntryId, java.lang.Long memberGrpId, java.lang.String devicetype_id, java.lang.String entry_type, java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the product page relation with the catalog entry ID.
SQL:
SELECT FIELD2, OID, MBRGRP_ID, CATENTTYPE_ID, DISPENTREL_ID, PAGENAME, CATENTRY_ID, AUCTIONSTATE, DESCRIPTION, FIELD1, DEVICEFMT_ID, STOREENT_ID, RANK, LANGUAGE_ID FROM DISPENTREL WHERE (STOREENT_ID = storeId or STOREENT_ID = 0 ) AND (catentry_id = catalongEntryId or catentry_id = 0 ) AND (MBRGRP_ID = memberGrpId or MBRGRP_ID = 0 ) AND (devicefmt_id = devicetype_id or devicefmt_id = -1) AND (CATENTTYPE_ID = 'entry_type' or CATENTTYPE_ID = 'CatalogEntryBean') AND (language_id = languageId or language_id is null ) ORDER BY auctionstate desc, MBRGRP_ID desc, catentry_id desc, STOREENT_ID desc , language_id asc
public ProductPageRelationAccessBean findByStoreCatEntryMemberGroups(java.lang.Integer arg0, java.lang.Long arg1, java.lang.String arg2, java.lang.String arg3, java.lang.Long[] arg4) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public ProductPageRelationAccessBean findByStoreCatEntryMemberGroupsLanguageId(java.lang.Integer arg0, java.lang.Long arg1, java.lang.String arg2, java.lang.String arg3, java.lang.Long[] arg4, java.lang.Integer arg5) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Enumeration findByStoreCatEntryMemberGroupAuctionState(java.lang.Integer deviceFmtId, java.lang.Integer storeId, java.lang.Long catalongEntryId, java.lang.String entry_type, java.lang.Long memberGrpId, java.lang.Integer auctionState) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the product page relation with the catalog entry ID.
SQL:
SELECT FIELD2, OID, MBRGRP_ID, CATENTTYPE_ID, DISPENTREL_ID, PAGENAME, CATENTRY_ID, AUCTIONSTATE, DESCRIPTION, FIELD1, DEVICEFMT_ID, STOREENT_ID, RANK, LANGUAGE_ID FROM DISPENTREL WHERE DEVICEFMT_ID = deviceFmtId AND STOREENT_ID = storeId AND CATENTRY_ID= catalongEntryId AND CATENTTYPE_ID = entry_type AND MBRGRP_ID = memberGrpId AND AUCTIONSTATE= auctionState
public void setInitKey_displayReferenceNumber(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 getDevicetype_id() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The reference number of the device type that the page will be displayed on. Foreign key to the DEVICEFMT table.
public void setDevicetype_id(java.lang.String newValue)
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
A description of this display page.
public void setDescription(java.lang.String newValue)
public java.lang.String getCatalogEntryType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.CATENTTYPE_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The type of CatalogEntry that this page will be used to display. Foreign key to the CATENTTYPE table. For example, if this column is designated as &quo
public void setCatalogEntryType(java.lang.String newValue)
public java.lang.String getAutionState() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.AUCTIONSTATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The flag that indicates that this template page displays a CatalogEntry that is on auction. A value of 0 indicates that it is not an auction template, while a value of 1 indicates that it is.
public java.lang.Integer getAutionStateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.AUCTIONSTATE column of DB2 type INTEGER NOT NULL DEFAULT 0.
The following is a description of this column:
The flag that indicates that this template page displays a CatalogEntry that is on auction. A value of 0 indicates that it is not an auction template, while a value of 1 indicates that it is.
public void setAutionState(java.lang.String newValue)
public void setAutionState(java.lang.Integer newValue)
public java.lang.String getLanguageId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.LANGUAGE_ID column of DB2 type INTEGER.
The following is a description of this column:
The language in which this page displays. For a list of language components, see the LANGUAGE table.
public java.lang.Integer getLanguageIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.LANGUAGE_ID column of DB2 type INTEGER.
The following is a description of this column:
The language in which this page displays. For a list of language components, see the LANGUAGE table.
public void setLanguageId(java.lang.String newValue)
public void setLanguageId(java.lang.Integer 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 DISPENTREL.FIELD2 column of DB2 type VARCHAR(254).
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 DISPENTREL.FIELD1 column of DB2 type VARCHAR(254).
The following is a description of this column:
Customizable.
public void setField1(java.lang.String 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 DISPENTREL.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 getMemberGroupID() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of the MemberGroup for which this template page will be displayed. A value of 0 indicates that this template page will be used for for all MemberGroups.
public java.lang.Long getMemberGroupIDInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.MBRGRP_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of the MemberGroup for which this template page will be displayed. A value of 0 indicates that this template page will be used for for all MemberGroups.
public void setMemberGroupID(java.lang.String newValue)
public void setMemberGroupID(java.lang.Long newValue)
public java.lang.String getProductReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of the CatalogEntry for which this page name displays. A value of 0 indicates that this page name will be used for for all CatalogEntries.
public java.lang.Long getProductReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.CATENTRY_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of the CatalogEntry for which this page name displays. A value of 0 indicates that this page name will be used for for all CatalogEntries.
public void setProductReferenceNumber(java.lang.String newValue)
public void setProductReferenceNumber(java.lang.Long newValue)
public java.lang.String getTemplateName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.PAGENAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The name and path of the display template page. The path is relative to the application document root.
public void setTemplateName(java.lang.String newValue)
public java.lang.String getRank() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.RANK column of DB2 type FLOAT.
The following is a description of this column:
A sequence number used to break ties when more than one page satisfies the selection criteria. The larger the rank, the lower the precedence of the page.
public java.lang.Double getRankInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.RANK column of DB2 type FLOAT.
The following is a description of this column:
A sequence number used to break ties when more than one page satisfies the selection criteria. The larger the rank, the lower the precedence of the page.
public void setRank(java.lang.String newValue)
public void setRank(java.lang.Double newValue)
public java.lang.String getStoreEntryID() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The reference number of the Store for which this page will be displayed.
public java.lang.Integer getStoreEntryIDInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPENTREL.STOREENT_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The reference number of the Store for which this page will be displayed.
public void setStoreEntryID(java.lang.String newValue)
public void setStoreEntryID(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.