java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.CatalogGroupPageRelationAccessBean
This table holds the page names used to display CatalogGroups. The selection is based on Store, MemberGroup, DeviceType, CatalogGroup, Language, or any combination of the above. If many pages satisfy the criteria, the page that best fits will be chosen. This access bean corresponds to the database table 'DISPCGPREL'.
Constructor Summary | |
CatalogGroupPageRelationAccessBean() Zero argument constructor used to initialize the access bean. |
|
CatalogGroupPageRelationAccessBean(javax.ejb.EJBObject o) constructor |
|
CatalogGroupPageRelationAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.lang.Integer arg3) 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() |
CatalogGroupPageRelationAccessBean | findByStoreCategoryMember(java.lang.Integer storeId, java.lang.Long categroyId, java.lang.Long memberGrpId, java.lang.String devicetype_id) This finder method returns the CatalogGroupPageRelation Access Bean with the given Store ID, Category ID, Member Group ID, and Device Type ID. |
CatalogGroupPageRelationAccessBean | findByStoreCategoryMemberGroups(java.lang.Integer storeId, java.lang.Long categoryId, java.lang.String devicetype_id, java.lang.Long[] memberGrpId) This method returns the Catalog Group Page Relation with the specified Store, Catalog Group, Device Type and Member Groups. |
CatalogGroupPageRelationAccessBean | findByStoreCategoryMemberGroupsLanguageId(java.lang.Integer storeId, java.lang.Long categoryId, java.lang.String devicetype_id, java.lang.Long[] memberGrpId, java.lang.Integer languageId) This finder method returns the CatalogGroupPageRelation Access Bean with the given Store ID, Category ID, list of Member Group IDs, Device Type ID and Language ID. |
CatalogGroupPageRelationAccessBean | findByStoreCategoryMemberLanguageId(java.lang.Integer storeId, java.lang.Long categroyId, java.lang.Long memberGrpId, java.lang.String devicetype_id, java.lang.Integer languageId) This method returns the Catalog Group Page Relation with the specified Store, Catalog Group, Member, and Language. |
java.lang.String | getDescription() This method provides access to the DISPCGPREL.DESCRIPTION column of DB2 type VARCHAR(254). |
java.lang.String | getDevicetype_id() This method provides access to the DISPCGPREL.DEVICEFMT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.String | getField1() This method provides access to the DISPCGPREL.FIELD1 column of DB2 type VARCHAR(254). |
java.lang.String | getField2() This method provides access to the DISPCGPREL.FIELD2 column of DB2 type VARCHAR(254). |
java.lang.String | getLanguageId() This method provides access to the DISPCGPREL.LANGUAGE_ID column of DB2 type INTEGER. |
java.lang.Integer | getLanguageIdInEJBType() This method provides access to the DISPCGPREL.LANGUAGE_ID column of DB2 type INTEGER. |
java.lang.String | getMemberGroupId() This method provides access to the DISPCGPREL.MBRGRP_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberGroupIdInEJBType() This method provides access to the DISPCGPREL.MBRGRP_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String | getOid() This method provides access to the DISPCGPREL.OID column of DB2 type VARCHAR(64). |
java.lang.String | getPageName() This method provides access to the DISPCGPREL.PAGENAME column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.String | getRank() This method provides access to the DISPCGPREL.RANK column of DB2 type FLOAT. |
java.lang.Double | getRankInEJBType() This method provides access to the DISPCGPREL.RANK column of DB2 type FLOAT. |
java.lang.String | getStoreent_id() This method provides access to the DISPCGPREL.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer | getStoreent_idInEJBType() This method provides access to the DISPCGPREL.STOREENT_ID column of DB2 type INTEGER NOT NULL. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
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 | setPageName(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 | setStoreent_id(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setStoreent_id(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 CatalogGroupPageRelationAccessBean()
public CatalogGroupPageRelationAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CatalogGroupPageRelationAccessBean(java.lang.Long arg1, java.lang.Long arg2, java.lang.Integer arg3) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB. This method creates a new CatalogGroupPageRelation Access Bean using the Catalog Group ID, the Member Group ID, and the Store ID.
Method Detail |
public CatalogGroupPageRelationAccessBean findByStoreCategoryMember(java.lang.Integer storeId, java.lang.Long categroyId, java.lang.Long memberGrpId, java.lang.String devicetype_id) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This finder method returns the CatalogGroupPageRelation Access Bean with the given Store ID, Category ID, Member Group ID, and Device Type ID.
SQL:
SELECT * FROM DISPCGPREL WHERE ((DISPCGPREL.STOREENT_ID = storeId or DISPCGPREL.STOREENT_ID= 0 ) and (DISPCGPREL.CATGROUP_id = categroyId or DISPCGPREL.CATGROUP_id= 0 ) and (DISPCGPREL.mbrgrp_id = memberGrpId or DISPCGPREL.mbrgrp_id = 0 ) and (DISPCGPREL.devicefmt_id = devicetype_id or DISPCGPREL.devicefmt_id= 0 ) order by DISPCGPREL.mbrgrp_id desc, DISPCGPREL.CATGROUP_id desc, DISPCGPREL.STOREENT_ID desc
public CatalogGroupPageRelationAccessBean findByStoreCategoryMemberGroups(java.lang.Integer storeId, java.lang.Long categoryId, java.lang.String devicetype_id, java.lang.Long[] memberGrpId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method returns the Catalog Group Page Relation with the specified Store, Catalog Group, Device Type and Member Groups.
SQL:
SELECT * FROM DISPCGPREL WHERE ((DISPCGPREL.STOREENT_ID = storeId or DISPCGPREL.STOREENT_ID= 0 ) AND (DISPCGPREL.CATGROUP_ID = categoryId OR DISPCGPREL.CATGROUP_ID = 0) AND (DISPCGPREL.MBRGRP_ID IN (memberGrpId) AND (DISPCGPREL.DEVICEFMT_ID = devicetype_id OR DISPCGPREL.DEVICEFMYT_ID = -1) ORDER BY DISPCGPREL.MBRGRP_ID DESC, DISPCGPREL.CATGROUP_ID DESC, DISPCGPREL.STOREENT_ID DESC
public CatalogGroupPageRelationAccessBean findByStoreCategoryMemberGroupsLanguageId(java.lang.Integer storeId, java.lang.Long categoryId, java.lang.String devicetype_id, java.lang.Long[] memberGrpId, java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This finder method returns the CatalogGroupPageRelation Access Bean with the given Store ID, Category ID, list of Member Group IDs, Device Type ID and Language ID.
SQL:
SELECT * FROM DISPCGPREL WHERE ((DISPCGPREL.STOREENT_ID = storeId or DISPCGPREL.STOREENT_ID= 0 ) AND (DISPCGPREL.CATGROUP_ID = categoryId OR DISPCGPREL.CATGROUP_ID = 0) AND (DISPCGPREL.DEVICEFMT_ID = devicetype_id OR DISPCGPREL.DEVICEFMYT_ID = -1) AND (DISPCGPREL.MBRGRP_ID IN (memberGrpId)) AND (DISPCGPREL.LANGUAGE_ID = languageId OR DISPCGPREL.LANGUAGE_ID IS NULL) ORDER BY DISPCGPREL.MBRGRP_ID DESC, DISPCGPREL.CATGROUP_ID DESC, DISPCGPREL.STOREENT_ID DESC, DISPCGPREL.LANGUAGE_ID ASC
public CatalogGroupPageRelationAccessBean findByStoreCategoryMemberLanguageId(java.lang.Integer storeId, java.lang.Long categroyId, java.lang.Long memberGrpId, java.lang.String devicetype_id, java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method returns the Catalog Group Page Relation with the specified Store, Catalog Group, Member, and Language.
SQL:
SELECT * FROM DISPCGPREL WHERE ((DISPCGPREL.STOREENT_ID = storeId or DISPCGPREL.STOREENT_ID= 0 ) AND (DISPCGPREL.CATGROUP_ID = categroyId OR DISPCGPREL.CATGROUP_ID = 0) AND (DISPCGPREL.MBRGRP_ID = memberGrpId OR DISPCGPREL.MBRGRP_ID = 0) AND (DISPCGPREL.DEVICEFMT_ID = devicetype_id OR DISPCGPREL.DEVICEFMYT_ID = -1) AND (DISPCGPREL.LANGUAGE_ID = languageId OR DISPCGPREL.LANGUAGE_ID IS NULL) ORDER BY DISPCGPREL.MBRGRP_ID DESC, DISPCGPREL.CATGROUP_ID DESC, DISPCGPREL.STOREENT_ID DESC, DISPCGPREL.LANGUAGE_ID ASC
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 DISPCGPREL.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 DISPCGPREL.DESCRIPTION column of DB2 type VARCHAR(254).
The following is a description of this column:
A descriptive comment of this entry.
public void setDescription(java.lang.String 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 DISPCGPREL.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 DISPCGPREL.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 getPageName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPCGPREL.PAGENAME column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The name and path of the display page template. The path is relative to the application document root.
public void setPageName(java.lang.String newValue)
public java.lang.String getStoreent_id() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPCGPREL.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 getStoreent_idInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPCGPREL.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 setStoreent_id(java.lang.String newValue)
public void setStoreent_id(java.lang.Integer 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 DISPCGPREL.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 display. 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 DISPCGPREL.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 display. 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 getField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPCGPREL.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 DISPCGPREL.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 DISPCGPREL.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 getRank() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the DISPCGPREL.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 DISPCGPREL.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)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.