java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.CatalogAccessBean
This table holds the information related to a Catalog.
Constructor Summary | |
---|---|
CatalogAccessBean() constructor | |
CatalogAccessBean(javax.ejb.EJBObject o) constructor | |
CatalogAccessBean(java.lang.Long arg0,
java.lang.String arg1) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
CatalogAccessBean |
findByCatalogIdentifierAndStore(java.lang.String arg0,
java.lang.Integer arg1) Finds by catalog identifier and store. |
CatalogAccessBean |
findByKeyAndStore(java.lang.Long arg0,
java.lang.Integer arg1) Finds the catalog with the key and storeID. |
CatalogAccessBean |
findByMemberIdAndCatalogIdentifier(java.lang.Long arg0,
java.lang.String arg1) Finds the catalog using the member ID and catalog identifier. |
java.util.Enumeration |
findByStoreId(java.lang.Integer arg0) Finds the catalog by the store ID. |
java.util.Enumeration |
findMasterCatalogByStoreId(java.lang.Integer arg0) 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 arg0) |
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 arg0) 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 arg0,
java.lang.Integer arg1) 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 arg0) 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 provides access to the CATALOG.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL. |
void |
setInitKey_catalogReferenceNumber(java.lang.String newValue) Set the primary key for this object |
void |
setMemberId(java.lang.Long newValue) This method provides access to the CATALOG.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setMemberId(java.lang.String newValue) This method provides access to the CATALOG.MEMBER_ID column of DB2 type BIGINT NOT NULL. |
void |
setTPCLevel(java.lang.Integer newValue) This method provides access to the CATALOG.TPCLEVEL column of DB2 type INTEGER. |
void |
setTPCLevel(java.lang.String newValue) This method provides access to the CATALOG.TPCLEVEL column of DB2 type INTEGER. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public CatalogAccessBean()
public CatalogAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public CatalogAccessBean(java.lang.Long arg0, java.lang.String arg1) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
arg0
- java.lang.Longarg1
- java.lang.Stringjavax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail |
---|
public CatalogAccessBean findByKeyAndStore(java.lang.Long arg0, java.lang.Integer arg1) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public CatalogAccessBean findByMemberIdAndCatalogIdentifier(java.lang.Long arg0, java.lang.String arg1) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findByStoreId(java.lang.Integer arg0) 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
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public java.util.Enumeration findMasterCatalogByStoreId(java.lang.Integer arg0) 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.
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
- The
javax.naming.NamingException exceptionpublic void setInitKey_catalogReferenceNumber(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 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 used to identify the Catalog. Along with the MEMBER_ID, these columns are a unique index.
getIdentifier
in interface
CatalogAccessBeanData
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 CATALOG.IDENTIFIER column of DB2 type VARCHAR(254) NOT NULL.
The following is a description of this column:
The external used to identify the Catalog. Along with the MEMBER_ID, these columns are a unique index.
setIdentifier
in interface
CatalogAccessBeanData
newValue
- java.lang.Stringpublic java.lang.String getDescriptions() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getDescriptions
in interface
CatalogAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDescriptions(java.lang.String newValue)
setDescriptions
in interface
CatalogAccessBeanData
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.
getCatalogReferenceNumber
in interface
CatalogAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
getMemberId
in interface
CatalogAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setMemberId(java.lang.String newValue)
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.
setMemberId
in interface
CatalogAccessBeanData
newValue
- Stringpublic void setMemberId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic java.lang.String getLanguage_id() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
getLanguage_id
in interface
CatalogAccessBeanData
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
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.
getTPCLevel
in interface
CatalogAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTPCLevel(java.lang.String newValue)
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.
setTPCLevel
in interface
CatalogAccessBeanData
newValue
- Stringpublic void setTPCLevel(java.lang.Integer newValue)
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.
newValue
- java.lang.Integerpublic boolean isCatalogInStore(java.lang.Integer arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the flag indicating whether the catalog is in the store.
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 boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
arg0
- java.lang.Longarg1
- java.lang.Stringjava.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.
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 CatalogDescriptionAccessBean getDescription(java.lang.Integer arg0) 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.
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 CatalogDescriptionAccessBean getDescription(java.lang.Integer arg0, 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 and the store identified by arg2. This method will return an alternate language description if the specified description is not found.
arg1
- The language ID. java.lang.Integerjavax.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 CatalogGroupAccessBean[] getEntitledCatalogGroups(java.lang.Long[] arg0) throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
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.
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.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public CatalogGroupAccessBean[] getCatalogGroupsByStore(java.lang.Integer arg0) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
public CatalogAccessBean findByCatalogIdentifierAndStore(java.lang.String arg0, java.lang.Integer arg1) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public CatalogGroupAccessBean[] getEntitledCatalogGroupsByStore(java.lang.Integer arg0, java.lang.Long[] arg1) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
javax.naming.NamingException
javax.ejb.FinderException
javax.ejb.CreateException
java.rmi.RemoteException