java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.catalog.objects.CatalogAccessBean
This table holds the information related to a Catalog. This access bean corresponds to the database table 'CATALOG'.
Constructor Summary | |
CatalogAccessBean() Default constructor. |
|
CatalogAccessBean(javax.ejb.EJBObject o) constructor |
|
CatalogAccessBean(java.lang.Long aMember_id, java.lang.String aIdentifier) Contructor for the object that 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() |
CatalogAccessBean | findByCatalogIdentifierAndStore(java.lang.String astrIdentifier, java.lang.Integer anStoreId) Finds by catalog identifier and store. |
CatalogAccessBean | findByKeyAndStore(java.lang.Long catalogId, java.lang.Integer storeId) Finds the catalog with the key and storeID. |
CatalogAccessBean | findByMemberIdAndCatalogIdentifier(java.lang.Long memberId, java.lang.String identifier) Finds the catalog using the member ID and catalog identifier. |
java.util.Enumeration | findByStoreId(java.lang.Integer storeId) Finds the catalog by the store ID. |
java.util.Enumeration | findMasterCatalogByStoreId(java.lang.Integer storeId) This method returns an Enumeration of Catalog Access Bean that is the Master Catalog of the store with the specified Store ID. |
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
CatalogGroupAccessBean[] | getCatalogGroups() Gets the list of catalog groups. |
CatalogGroupAccessBean[] | getCatalogGroupsByStore(java.lang.Integer anStoreId) |
java.lang.String | getCatalogReferenceNumber() This method provides access to the CATALOG.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getCatalogReferenceNumberInEJBType() This method provides access to the CATALOG.CATALOG_ID column of DB2 type BIGINT NOT NULL. |
CatalogDescriptionAccessBean | getDescription() This method returns the bean that holds the language specific information for this Catalog. |
CatalogDescriptionAccessBean | getDescription(java.lang.Integer arg1) This method returns the bean that holds the language specific information for this Catalog for the language identified by arg1. |
CatalogDescriptionAccessBean | getDescription(java.lang.Integer arg1, java.lang.Integer arg2) This method returns the bean that holds the language specific information for this Catalog for the language identified by arg1 and the store identified by arg2. |
java.lang.String | getDescriptions() This method accesses a non-CMP field |
CatalogGroupAccessBean[] | getEntitledCatalogGroups(java.lang.Long[] arg0) This method accesses a non-CMP field |
CatalogGroupAccessBean[] | getEntitledCatalogGroupsByStore(java.lang.Integer arg0, java.lang.Long[] arg1) This method accesses a non-CMP field |
java.lang.String | getIdentifier() This method provides access to the CATALOG.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL. |
java.lang.String | getLanguage_id() This method accesses a non-CMP field |
java.lang.Integer | getLanguage_idInEJBType() This method accesses a non-CMP field |
java.lang.String | getMemberId() This method provides access to the CATALOG.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getMemberIdInEJBType() This method provides access to the CATALOG.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getTPCLevel() This method provides access to the CATALOG.TPCLEVEL column of DB2 type INTEGER. |
java.lang.Integer | getTPCLevelInEJBType() This method provides access to the CATALOG.TPCLEVEL column of DB2 type INTEGER. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
boolean | isCatalogInStore(java.lang.Integer arg1) Gets the flag indicating whether the catalog is in the store. |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setDescriptions(java.lang.String newValue) This method accesses a non-CMP field |
void | setIdentifier(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_catalogReferenceNumber(java.lang.String newValue) Set the primary key for this object |
void | setMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setTPCLevel(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setTPCLevel(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 CatalogAccessBean()
Default constructor. Maps to findByPrimaryKey.
public CatalogAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CatalogAccessBean(java.lang.Long aMember_id, java.lang.String aIdentifier) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
Contructor for the object that maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog according to the owner ID and the Catalog Identifier.
Method Detail |
public CatalogAccessBean findByKeyAndStore(java.lang.Long catalogId, java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog with the key and storeID.
SQL:
SELECT CATALOG.IDENTIFIER, CATALOG.MEMBER_ID, CATALOG.DESCRIPTION, CATALOG.CATALOG_ID, CATALOG.TPCLEVEL FROM CATALOG, STORECAT WHERE CATALOG.CATALOG_ID = catalogID AND STORECAT.STOREENT_ID = storeID AND STORECAT.CATALOG_ID = CATALOG.CATALOG_ID
public CatalogAccessBean findByMemberIdAndCatalogIdentifier(java.lang.Long memberId, java.lang.String identifier) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog using the member ID and catalog identifier.
SQL:
SELECT IDENTIFIER, MEMBER_ID, DESCRIPTION, CATALOG_ID, TPCLEVEL FROM CATALOG WHERE MEMBER_ID = memberID AND IDENTIFIER = identifier
public java.util.Enumeration findByStoreId(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the catalog by the store ID.
SQL:
SELECT CATALOG.IDENTIFIER, CATALOG.MEMBER_ID, CATALOG.DESCRIPTION, CATALOG.CATALOG_ID, CATALOG.TPCLEVEL FROM CATALOG, STORECAT WHERE STORECAT.STOREENT_ID = storeId AND STORECAT.CATALOG_ID = CATALOG.CATALOG_ID
public java.util.Enumeration findMasterCatalogByStoreId(java.lang.Integer storeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
This method returns an Enumeration of Catalog Access Bean that is the Master Catalog of the store with the specified Store ID.
public void setInitKey_catalogReferenceNumber(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 getIdentifier() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATALOG.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The external identifier used to identify the Catalog. Along with the MEMBER_ID, these columns are a unique index.
public void setIdentifier(java.lang.String newValue)
public java.lang.String getDescriptions() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDescriptions(java.lang.String newValue)
public java.lang.String getCatalogReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATALOG.CATALOG_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The internal reference number of the Catalog.
public java.lang.Long getCatalogReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATALOG.CATALOG_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The internal reference number of the Catalog.
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATALOG.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The internal reference number that identifies the owner of the Catalog. Along with the IDENTIFIER, these columns are a unique index.
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATALOG.MEMBER_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The internal reference number that identifies the owner of the Catalog. Along with the IDENTIFIER, these columns are a unique index.
public void setMemberId(java.lang.String newValue)
public void setMemberId(java.lang.Long newValue)
public java.lang.String getLanguage_id() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getLanguage_idInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getTPCLevel() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATALOG.TPCLEVEL column of DB2 type INTEGER.
The following is a description of this column:
Reserved for IBM internal use.
public java.lang.Integer getTPCLevelInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the CATALOG.TPCLEVEL column of DB2 type INTEGER.
The following is a description of this column:
Reserved for IBM internal use.
public void setTPCLevel(java.lang.String newValue)
public void setTPCLevel(java.lang.Integer newValue)
public boolean isCatalogInStore(java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the flag indicating whether the catalog is in the store.
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public CatalogDescriptionAccessBean getDescription() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the bean that holds the language specific information for this Catalog.
public CatalogDescriptionAccessBean getDescription(java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the bean that holds the language specific information for this Catalog for the language identified by arg1.
public CatalogDescriptionAccessBean getDescription(java.lang.Integer arg1, java.lang.Integer arg2) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the bean that holds the language specific information for this Catalog for the language identified by arg1 and the store identified by arg2. This method will return an alternate language description if the specified description is not found.
public CatalogGroupAccessBean[] getEntitledCatalogGroups(java.lang.Long[] arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
public CatalogGroupAccessBean[] getCatalogGroups() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the list of catalog groups.
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public CatalogGroupAccessBean[] getCatalogGroupsByStore(java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public CatalogAccessBean findByCatalogIdentifierAndStore(java.lang.String astrIdentifier, java.lang.Integer anStoreId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public CatalogGroupAccessBean[] getEntitledCatalogGroupsByStore(java.lang.Integer arg0, java.lang.Long[] arg1) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.