com.ibm.commerce.catalog.objects
Class CatalogGroupAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
All Implemented Interfaces:
CatalogGroupAccessBeanData
Direct Known Subclasses:
CategoryDataBean

public class CatalogGroupAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CatalogGroupAccessBeanData

This table hold the information related to a CatalogGroup. A CatalogGroup is similar to a generic Category that can contain both other CatalogGroups and also CatalogEntries. This access bean corresponds to the database table 'CATGROUP'.

See Also:
Serialized Form

Constructor Summary
CatalogGroupAccessBean()
Zero argument constructor used to initialize the access bean.
CatalogGroupAccessBean(javax.ejb.EJBObject o)
constructor
CatalogGroupAccessBean(java.lang.Long argCatalogGroupReferenceNumber, java.lang.Long memberId)
Maps to a corresponding ejbCreate method in the home interface of the EJB.
CatalogGroupAccessBean(java.lang.Long aMemberId, java.lang.String argIdentifier)
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()
java.util.Enumeration findByCatalogId(java.lang.Long catalogId)
Finds the catalog group with catalog ID.
CatalogGroupAccessBean findByCatalogIdAndProductSetId(java.lang.Long catalogId, java.lang.Integer productSetId)
This method returns the CatalogGroup Access Bean with the specified Catalog ID and ProductSet ID.
CatalogGroupAccessBean findByCatalogIdAndProductSetIdAndStore(java.lang.Long catalogId, java.lang.Integer productSetId, java.lang.Integer storeId)
Finds by catalog id, product set id and store id.
java.util.Enumeration findByCatalogIdAndStore(java.lang.Long catalogId, java.lang.Integer storeId)
Finds by catalog id and store id.
java.util.Enumeration findByChildGroupId(java.lang.Long catalogId, java.lang.Long catalogChildGroupId)
This method return an enumeration of CatalogGroup Access Beans that belongs to the specified Catalog and parent to the specified Catalog Group.
java.util.Enumeration findByChildGroupIdAndStore(java.lang.Long catalogId, java.lang.Long catalogChildGroupId, java.lang.Integer storeId)
Finds by catalog id, child catalog group id and store id.
java.util.Enumeration findByIdentifierAndStore(java.lang.String astrIdentifier, java.lang.Integer anStoreId)
Finds by identifier and store id.
CatalogGroupAccessBean findByKeyAndStore(java.lang.Long catalogId, java.lang.Integer StoreId)
This method return the Catalog Group of the specified Catalog and Store.
java.util.Enumeration findByMemberIdAndCategoryId(java.lang.Long memberId, java.lang.String categoryId)
Finds the catalog group with the owner ID and category ID.
CatalogGroupAccessBean findByMemberIdAndIdentifier(java.lang.Long memberId, java.lang.String Identifier)
This method returns the Catalog Group of the specified owner and identifier.
java.util.Enumeration findByParentGroupId(java.lang.Long catalogId, java.lang.Long catalogParentGroupId)
Finds the catalog group with the parent group ID.
java.util.Enumeration findByParentGroupIdAndStore(java.lang.Long catalogId, java.lang.Long catalogParentGroupId, java.lang.Integer storeId)
Finds by catalog id, parent catalog group id and store id.
java.util.Enumeration findEntitledCatalogGroupsByCatalog(java.lang.Long arg0, java.lang.Long[] arg1)
java.util.Enumeration findEntitledCatalogGroupsByCatalogAndStore(java.lang.Long arg0, java.lang.Integer arg1, java.lang.Long[] arg2)
findEntitledCatalogGroupsByCatalogAndStore
java.util.Enumeration findEntitledChildCatalogGroupsByCatalogAndParentGroup(java.lang.Long arg0, java.lang.Long arg1, java.lang.Long[] arg2)
java.util.Enumeration findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore(java.lang.Long arg0, java.lang.Long arg1, java.lang.Integer arg2, java.lang.Long[] arg3)
findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore
boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
CatalogGroupAttributeAccessBean[] getAttributes()
This method returns the list of CatalogGroupAttribute Access Bean that belongs to the Catalog Group.
CatalogGroupAttributeAccessBean[] getAttributes(java.lang.Integer arg1)
The attributes that describe this CatalogGroup in the language specified.
CatalogEntryAccessBean[] getCatalogEntries(java.lang.Long arg1)
Gets the list of catalog entries in the catalog group.
CatalogEntryAccessBean[] getCatalogEntries(java.lang.Long argCatalogId, java.lang.Long[] arginclusivePSList, java.lang.Long[] argExclusivePSList)
Gets the list of catalog entries in the catalog group that are in the inclusive ProductSet list and not in the exclusive ProductSet list.
CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long anCatalogId, java.lang.Integer anStoreId)
Gets the catalog entries for the given store.
CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long argCatalogId, java.lang.Integer anStoreId, java.lang.Long[] arginclusivePSList, java.lang.Long[] argExclusivePSList)
Gets the catalog entries for the given store and which are allowed by the inclusion and exclusion product sets.
CatalogEntryAccessBean[] getCatalogEntriesByStoreOrderByPartNumber(java.lang.Long argCatalogId, java.lang.Integer anStoreId, java.lang.Long[] argInclusivePS, java.lang.Long[] argExclusivePS)
Gets the catalog entries in the given catalog and store which were included in and exclueded from the product sets.The result is sorted by part number.
java.lang.String getCatalogGroupReferenceNumber()
This method provides access to the CATGROUP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getCatalogGroupReferenceNumberInEJBType()
This method provides access to the CATGROUP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
RelatedCatalogGroupAccessBean[] getCategoryAccessory()
This method returns the list of RelatedCatalogGroup Access Bean that have an accessory relationship with this Catalog Group.
RelatedCatalogGroupAccessBean[] getCategoryAccessory(java.lang.String arg1)
This methods returns the list of RelatedCatalogGroup Access Bean with the Catalog Groups that have an accessory relationship to this group described by the semantic specifier.
RelatedCatalogGroupAccessBean[] getCategoryAccessoryByStore(java.lang.Integer anStoreId)
Gets the category accessories for the given store.
RelatedCatalogGroupAccessBean[] getCategoryAccessoryByStore(java.lang.String astrSemantic, java.lang.Integer anStoreId)
Gets the category accessories for the given semantic and store.
RelatedCatalogGroupAccessBean[] getCategoryCrossSell()
Gets the list of CatalogGroups that have a cross-sell relation to this group.
RelatedCatalogGroupAccessBean[] getCategoryCrossSell(java.lang.String arg1)
Gets the list of CatalogGroups that have a cross-sell relation to this group described by the arg1 specifier.
RelatedCatalogGroupAccessBean[] getCategoryCrossSellByStore(java.lang.Integer anStoreId)
Gets the category cross sells for the given store.
RelatedCatalogGroupAccessBean[] getCategoryCrossSellByStore(java.lang.String astrSemantic, java.lang.Integer anStoreId)
Gets the category cross sells for the given semantic and store.
RelatedCatalogGroupAccessBean[] getCategoryUpSell()
Gets the list of Catalog Groups that have an up-sell relation to this group.
RelatedCatalogGroupAccessBean[] getCategoryUpSell(java.lang.String arg1)
This methods returns the list of RelatedCatalogGroup Access Bean with the Catalog Groups that have an up-sell relation to this group described by the semantic specifier.
RelatedCatalogGroupAccessBean[] getCategoryUpSellByStore(java.lang.Integer anStoreId)
Gets the category upsells for the given store.
RelatedCatalogGroupAccessBean[] getCategoryUpSellByStore(java.lang.String astrSemantic, java.lang.Integer anStoreId)
Gets the category upsells for the given semantic and store.
CatalogGroupDescriptionAccessBean getDescription()
Gets the description of the catalog group.
CatalogGroupDescriptionAccessBean getDescription(java.lang.Integer arg1)
This method returns the Catalog Group Description of this Catalog Group with the specified Language.
CatalogGroupDescriptionAccessBean getDescription(java.lang.Integer arg1, java.lang.Integer arg2)
The bean that holds the language specific information for this Catalog Group for the language identified by arg1 and the store identified by arg2.
CatalogGroupAccessBean[] getEntitledSubCatalogGroups(java.lang.Long nCatalogId, java.lang.Long[] arProductSetExclusionList)
This method returns the list of CatalogGroup Access Bean that are members of this Catalog Group and the specified Catalog, and are not excluded from view
CatalogGroupAccessBean[] getEntitledSubCatalogGroupsByStore(java.lang.Long anCatalogId, java.lang.Integer anStoreId, java.lang.Long[] anProductSetExclusionList)
Gets the entitled sub catalog groups for the given catalog id and store, and are not exclued from the view.
java.lang.String getField1()
This method provides access to the CATGROUP.FIELD1 column of DB2 type VARCHAR(254).
java.lang.String getField2()
This method provides access to the CATGROUP.FIELD2 column of DB2 type VARCHAR(254).
java.lang.String getIdentifier()
This method provides access to the CATGROUP.IDENTIFIER column of DB2 type VARCHAR(254).
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 getLastUpdate()
This method provides access to the CATGROUP.LASTUPDATE column of DB2 type TIMESTAMP.
java.sql.Timestamp getLastUpdateInEJBType()
This method provides access to the CATGROUP.LASTUPDATE column of DB2 type TIMESTAMP.
java.lang.String getMarkForDelete()
This method provides access to the CATGROUP.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
java.lang.Integer getMarkForDeleteInEJBType()
This method provides access to the CATGROUP.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
java.lang.String getMemberId()
This method provides access to the CATGROUP.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getMemberIdInEJBType()
This method provides access to the CATGROUP.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Integer getNumSubCatEntries(java.lang.Long catalogId)
This method calculates the number of Catalog Entries that belongs to this Catalog Group and the specified Catalog.
java.lang.Integer getNumSubCatEntriesByStore(java.lang.Long anCatalogId, java.lang.Integer anStoreId)
Gets the number of sub catalog entries for the given catalog id and store id.
java.lang.Integer getNumSubCatGroups(java.lang.Long catalogId)
This method calculates the number of sub Catalog Group for this Catalog Group with the specified Catalog.
java.lang.Integer getNumSubCatGroupsByStore(java.lang.Long anCatalogId, java.lang.Integer anStoreId)
Gets the number of sub catalog groups for the given catalog id and store id.
java.lang.String getOid()
This method provides access to the CATGROUP.OID column of DB2 type VARCHAR(64).
java.lang.Long getOwner()
This method accesses a non-CMP field
CatalogGroupAccessBean[] getParentCatalogGroups(java.lang.Long catalogId)
This method return the list of Catalog Groups that are parents to this Catalog Group and belong to the specified Catalog.
java.lang.Integer[] getProductSetIds(java.lang.Long catalogId)
This method return the list of ProductSet IDs with the specified Catalog and this Catalog Group.
CatalogGroupAccessBean[] getSubCatalogGroups(java.lang.Long arg1)
Gets the list of sub catalog groups for the catalog group.
CatalogGroupAccessBean[] getSubCatalogGroupsByStore(java.lang.Long anCatalogId, java.lang.Integer anStoreId)
Gets the sub catalog groups for the given catalog id and store id.
java.lang.String getTemplateFileName(java.lang.Long[] arg1, java.lang.Integer arg2, java.lang.String arg3)
Gets the template file based on the specified member groups, store and device type.
java.lang.String getTemplateFileName(java.lang.Long arg1, java.lang.Integer arg2, java.lang.String arg3)
java.lang.String getTemplateFileName(java.lang.Long arg1, UserAccessBean arg2, java.lang.Integer arg3, java.lang.String arg4)
The template file based on the specified member groups, store and device type.
java.lang.String getTemplateFileName(java.lang.Long userId, UserAccessBean user, java.lang.Integer store_id, java.lang.String devicetype_id, java.lang.Integer language_id)
The template file based on the specified member groups, store, device type, and language.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
boolean isCatalogGroupInStore(java.lang.Integer arg1)
Indicates if this catalog group can be displayed in this group.
void refreshCopyHelper()
Load data from the EJBObject.
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 setIdentifier(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_catalogGroupReferenceNumber(java.lang.String newValue)
Set the primary key for this object
void setlanguage_id(java.lang.Integer newValue)
This method accesses a non-CMP field
void setlanguage_id(java.lang.String newValue)
This method accesses a non-CMP field
void setLastUpdate(java.lang.String newValue)
This method accesses a non-CMP field
void setLastUpdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field
void setMarkForDelete(java.lang.Integer newValue)
This method accesses a non-CMP field
void setMarkForDelete(java.lang.String newValue)
This method accesses a non-CMP field
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 setOid(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

CatalogGroupAccessBean

public CatalogGroupAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.catalog.objects.CatalogGroup com.ibm.commerce.catalog.objimpl.CatalogGroupHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.CatalogGroupKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_catalogGroupReferenceNumber( java.lang.Long )

CatalogGroupAccessBean

public CatalogGroupAccessBean(javax.ejb.EJBObject o)
                       throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

CatalogGroupAccessBean

public CatalogGroupAccessBean(java.lang.Long argCatalogGroupReferenceNumber,
                              java.lang.Long memberId)
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.naming.NamingException

Maps to a corresponding ejbCreate method in the home interface of the EJB. Creates an access to the catalog group according to the catalog group reference number and member ID.

Parameters:
argCatalogGroupReferenceNumber - The catalog group reference number. java.lang.Long
memberId - The owner ID. java.lang.Long
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception

CatalogGroupAccessBean

public CatalogGroupAccessBean(java.lang.Long aMemberId,
                              java.lang.String argIdentifier)
                       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 catalog group according to the Catalog Group reference number and Member ID.

Parameters:
aMemberId - The catalog group reference number. java.lang.Long
argIdentifier - The owner reference number. java.lang.Long
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException
Method Detail

findByCatalogIdAndProductSetId

public CatalogGroupAccessBean findByCatalogIdAndProductSetId(java.lang.Long catalogId,
                                                             java.lang.Integer productSetId)
                                                      throws java.rmi.RemoteException,
                                                             javax.ejb.FinderException,
                                                             javax.naming.NamingException

This method returns the CatalogGroup Access Bean with the specified Catalog ID and ProductSet ID.

SQL:
SELECT CATGROUP.CATGROUP_ID FROM CATGROUP, CATGRPPS WHERE CATGRPPS.CATALOG_ID = catalogId AND CATGRPPS.PRODUCTSET_ID = productSetId AND CATGRPPS.CATGROUP_ID = CATGROUP.CATGROUP_ID

Parameters:
catalogId - The Catalog reference number. java.lang.Long
productSetId - The ProductSet reference number. java.lang.Integer
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByKeyAndStore

public CatalogGroupAccessBean findByKeyAndStore(java.lang.Long catalogId,
                                                java.lang.Integer StoreId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method return the Catalog Group of the specified Catalog and Store.

Parameters:
catalogId - The Catalog reference number. java.lang.Long
StoreId - The Store reference number. java.lang.Integer
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByMemberIdAndIdentifier

public CatalogGroupAccessBean findByMemberIdAndIdentifier(java.lang.Long memberId,
                                                          java.lang.String Identifier)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException

This method returns the Catalog Group of the specified owner and identifier.

SQL:
SELECT * FROM CATGROUP WHERE CATGROUP.MEMBER_ID = memberIdAND CATGROUP.IDENTIFIER = Identifier

Parameters:
memberId - The owner of the Catalog Group. java.lang.Long
Identifier - The identifier of the Catalog Group. java.lang.String
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByCatalogId

public java.util.Enumeration findByCatalogId(java.lang.Long catalogId)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Finds the catalog group with catalog ID.

SQL:
SELECT T1.MEMBER_ID, T1.CATGROUP_ID, T1.FIELD1, T1.FIELD2, T1.LASTUPDATE, T1.MARKFORDELETE, T1.IDENTIFIER, T1.OID FROM CATGROUP T1 WHERE T1.MARKFORDELETE = 0 AND CATTOGRP.CATALOG_ID = catalogId AND T1.CATGROUP_ID = CATTOGRP.CATGROUP_ID

Parameters:
catalogId - The catalog ID. java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByChildGroupId

public java.util.Enumeration findByChildGroupId(java.lang.Long catalogId,
                                                java.lang.Long catalogChildGroupId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method return an enumeration of CatalogGroup Access Beans that belongs to the specified Catalog and parent to the specified Catalog Group.

SQL:
SELECT CATGROUP.CATGROUP_ID FROM CATGROUP, CATGRPREL WHERE CATGROUP.MARKFORDELETE = 0 AND CATGRPREL.CATALOG_ID = catalogId AND CATGRPREL.CATGROUP_ID_CHILD = catalogChildGroupId AND CATGROUP.CATGROUP_ID = CATGRPREL.CATGROUP_ID_PARENT

Parameters:
catalogId - The Catalog reference number. java.lang.Long
catalogChildGroupId - The Catalog Group reference number. java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByMemberIdAndCategoryId

public java.util.Enumeration findByMemberIdAndCategoryId(java.lang.Long memberId,
                                                         java.lang.String categoryId)
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

Finds the catalog group with the owner ID and category ID.

SQL:
SELECT MEMBER_ID, CATGROUP_ID, FIELD1, FIELD2, LASTUPDATE, MARKFORDELETE, IDENTIFIER, OID FROM CATGROUP WHERE member_id = memberId AND identifier = categoryId

Parameters:
memberId - The owner ID. java.lang.Long
categoryId - The category ID. java.lang.String
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByParentGroupId

public java.util.Enumeration findByParentGroupId(java.lang.Long catalogId,
                                                 java.lang.Long catalogParentGroupId)
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

Finds the catalog group with the parent group ID.

SQL:
SELECT CATGROUP.MEMBER_ID, CATGROUP.CATGROUP_ID, CATGROUP.FIELD1, CATGROUP.FIELD2, CATGROUP.LASTUPDATE, CATGROUP.MARKFORDELETE, CATGROUP.IDENTIFIER, CATGROUP.OID FROM CATGROUP, CATGRPREL WHERE CATGROUP.MARKFORDELETE = 0 AND CATGRPREL.CATALOG_ID = catalogId AND CATGRPREL.CATGROUP_ID_PARENT = catalogParentGroupId AND CATGRPREL.CATGROUP_ID_CHILD = CATGROUP.CATGROUP_ID

Parameters:
catalogId - The catalog group reference number. java.lang.Long
catalogParentGroupId - The parent category group ID. java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findEntitledCatalogGroupsByCatalog

public java.util.Enumeration findEntitledCatalogGroupsByCatalog(java.lang.Long arg0,
                                                                java.lang.Long[] arg1)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long[]
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findEntitledChildCatalogGroupsByCatalogAndParentGroup

public java.util.Enumeration findEntitledChildCatalogGroupsByCatalogAndParentGroup(java.lang.Long arg0,
                                                                                   java.lang.Long arg1,
                                                                                   java.lang.Long[] arg2)
                                                                            throws java.rmi.RemoteException,
                                                                                   javax.ejb.FinderException,
                                                                                   javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
arg2 - java.lang.Long[]
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

setInitKey_catalogGroupReferenceNumber

public void setInitKey_catalogGroupReferenceNumber(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdate

public java.lang.String getLastUpdate()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the CATGROUP.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Indicates the last time that this CatalogGroup was updated.

Specified by:
getLastUpdate in interface CatalogGroupAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdateInEJBType

public java.sql.Timestamp getLastUpdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the CATGROUP.LASTUPDATE column of DB2 type TIMESTAMP.

The following is a description of this column:

Indicates the last time that this CatalogGroup was updated.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastUpdate

public void setLastUpdate(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setLastUpdate in interface CatalogGroupAccessBeanData

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getCatalogGroupReferenceNumber

public java.lang.String getCatalogGroupReferenceNumber()
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

This method provides access to the CATGROUP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogGroup.

Specified by:
getCatalogGroupReferenceNumber in interface CatalogGroupAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatalogGroupReferenceNumberInEJBType

public java.lang.Long getCatalogGroupReferenceNumberInEJBType()
                                                       throws java.rmi.RemoteException,
                                                              javax.ejb.CreateException,
                                                              javax.ejb.FinderException,
                                                              javax.naming.NamingException

This method provides access to the CATGROUP.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The internal reference number of the CatalogGroup.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getIdentifier

public java.lang.String getIdentifier()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the CATGROUP.IDENTIFIER column of DB2 type VARCHAR(254).

The following is a description of this column:

The external name that is used to identify the CatalogGroup. Along with MEMBER_ID, these columns are a unique index.

Specified by:
getIdentifier in interface CatalogGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setIdentifier

public void setIdentifier(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setIdentifier in interface CatalogGroupAccessBeanData

getMarkForDelete

public java.lang.String getMarkForDelete()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the CATGROUP.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this CatalogGroup has been marked for deletion:&l

Specified by:
getMarkForDelete in interface CatalogGroupAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMarkForDeleteInEJBType

public java.lang.Integer getMarkForDeleteInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the CATGROUP.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this CatalogGroup has been marked for deletion:&l

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMarkForDelete

public void setMarkForDelete(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMarkForDelete in interface CatalogGroupAccessBeanData

setMarkForDelete

public void setMarkForDelete(java.lang.Integer newValue)
This method accesses a non-CMP field

getField2

public java.lang.String getField2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the CATGROUP.FIELD2 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface CatalogGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

public void setField2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField2 in interface CatalogGroupAccessBeanData

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the CATGROUP.FIELD1 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface CatalogGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface CatalogGroupAccessBeanData

getOid

public java.lang.String getOid()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

This method provides access to the CATGROUP.OID column of DB2 type VARCHAR(64).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getOid in interface CatalogGroupAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOid

public void setOid(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOid in interface CatalogGroupAccessBeanData

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the CATGROUP.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 CatalogGroup. Along with IDENTIFIER, these columns are a unique index.

Specified by:
getMemberId in interface CatalogGroupAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the CATGROUP.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 CatalogGroup. Along with IDENTIFIER, these columns are a unique index.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMemberId in interface CatalogGroupAccessBeanData

setMemberId

public void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field

getLanguage_id

public java.lang.String getLanguage_id()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getLanguage_id in interface CatalogGroupAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLanguage_idInEJBType

public java.lang.Integer getLanguage_idInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

isCatalogGroupInStore

public boolean isCatalogGroupInStore(java.lang.Integer arg1)
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     java.rmi.RemoteException

Indicates if this catalog group can be displayed in this group.

Parameters:
arg1 - The store ID. java.lang.Integer
Returns:
boolean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getCatalogEntries

public CatalogEntryAccessBean[] getCatalogEntries(java.lang.Long arg1)
                                           throws javax.naming.NamingException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  java.rmi.RemoteException

Gets the list of catalog entries in the catalog group.

Parameters:
arg1 - The catalog ID. java.lang.Long
Returns:
com.ibm.commerce.catalog.objects.CatalogEntryAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getCatalogEntries

public CatalogEntryAccessBean[] getCatalogEntries(java.lang.Long argCatalogId,
                                                  java.lang.Long[] arginclusivePSList,
                                                  java.lang.Long[] argExclusivePSList)
                                           throws javax.ejb.CreateException,
                                                  java.rmi.RemoteException,
                                                  javax.naming.NamingException,
                                                  javax.ejb.FinderException

Gets the list of catalog entries in the catalog group that are in the inclusive ProductSet list and not in the exclusive ProductSet list.

Parameters:
argCatalogId - The catalog ID. java.lang.Long
arginclusivePSList - The inclusive ProductSet list. java.lang.Long[]
argExclusivePSList - The exclusive ProductSet list. java.lang.Long[]
Returns:
com.ibm.commerce.catalog.objects.CatalogEntryAccessBean[]
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getEntitledSubCatalogGroups

public CatalogGroupAccessBean[] getEntitledSubCatalogGroups(java.lang.Long nCatalogId,
                                                            java.lang.Long[] arProductSetExclusionList)
                                                     throws javax.naming.NamingException,
                                                            javax.ejb.CreateException,
                                                            javax.ejb.FinderException,
                                                            java.rmi.RemoteException

This method returns the list of CatalogGroup Access Bean that are members of this Catalog Group and the specified Catalog, and are not excluded from view

Parameters:
nCatalogId - The Catalog reference number. java.lang.Long
arProductSetExclusionList - The list of ProductSet that the entitled sub Catalog Groups are excluded from. java.lang.Long[]
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getParentCatalogGroups

public CatalogGroupAccessBean[] getParentCatalogGroups(java.lang.Long catalogId)
                                                throws javax.naming.NamingException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       java.rmi.RemoteException

This method return the list of Catalog Groups that are parents to this Catalog Group and belong to the specified Catalog.

Parameters:
catalogId - The Catalog reference number. java.lang.Long
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getSubCatalogGroups

public CatalogGroupAccessBean[] getSubCatalogGroups(java.lang.Long arg1)
                                             throws javax.naming.NamingException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    java.rmi.RemoteException

Gets the list of sub catalog groups for the catalog group.

Parameters:
arg1 - The catalog ID. java.lang.Long
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getAttributes

public CatalogGroupAttributeAccessBean[] getAttributes()
                                                throws javax.naming.NamingException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       java.rmi.RemoteException

This method returns the list of CatalogGroupAttribute Access Bean that belongs to the Catalog Group. All the attribute of the Catalog Group will be returned.

Returns:
com.ibm.commerce.catalog.objects.CatalogGroupAttributeAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getAttributes

public CatalogGroupAttributeAccessBean[] getAttributes(java.lang.Integer arg1)
                                                throws javax.naming.NamingException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       java.rmi.RemoteException

The attributes that describe this CatalogGroup in the language specified.

Parameters:
arg1 - The language ID. java.lang.Integer
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupAttributeAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDescription

public CatalogGroupDescriptionAccessBean getDescription()
                                                 throws javax.naming.NamingException,
                                                        javax.ejb.CreateException,
                                                        javax.ejb.FinderException,
                                                        java.rmi.RemoteException

Gets the description of the catalog group.

Returns:
com.ibm.commerce.catalog.objects.CatalogGroupDescriptionAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDescription

public CatalogGroupDescriptionAccessBean getDescription(java.lang.Integer arg1)
                                                 throws javax.naming.NamingException,
                                                        javax.ejb.CreateException,
                                                        javax.ejb.FinderException,
                                                        java.rmi.RemoteException

This method returns the Catalog Group Description of this Catalog Group with the specified Language.

Parameters:
arg1 - The language reference number. java.lang.Integer
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupDescriptionAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getDescription

public CatalogGroupDescriptionAccessBean getDescription(java.lang.Integer arg1,
                                                        java.lang.Integer arg2)
                                                 throws javax.naming.NamingException,
                                                        javax.ejb.CreateException,
                                                        javax.ejb.FinderException,
                                                        java.rmi.RemoteException

The bean that holds the language specific information for this Catalog Group 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.

Parameters:
arg1 - The Language reference number. java.lang.Integer
arg2 - The Store reference number. java.lang.Integer
Returns:
com.ibm.commerce.catalog.objects.CatalogGroupDescriptionAccessBean
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getCategoryAccessory

public RelatedCatalogGroupAccessBean[] getCategoryAccessory()
                                                     throws javax.naming.NamingException,
                                                            javax.ejb.CreateException,
                                                            javax.ejb.FinderException,
                                                            java.rmi.RemoteException

This method returns the list of RelatedCatalogGroup Access Bean that have an accessory relationship with this Catalog Group.

Returns:
com.ibm.commerce.catalog.objects.RelatedCatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getCategoryAccessory

public RelatedCatalogGroupAccessBean[] getCategoryAccessory(java.lang.String arg1)
                                                     throws javax.naming.NamingException,
                                                            javax.ejb.CreateException,
                                                            javax.ejb.FinderException,
                                                            java.rmi.RemoteException

This methods returns the list of RelatedCatalogGroup Access Bean with the Catalog Groups that have an accessory relationship to this group described by the semantic specifier.

Parameters:
arg1 - java.lang.String
Returns:
com.ibm.commerce.catalog.objects.RelatedCatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getCategoryCrossSell

public RelatedCatalogGroupAccessBean[] getCategoryCrossSell()
                                                     throws javax.naming.NamingException,
                                                            javax.ejb.CreateException,
                                                            javax.ejb.FinderException,
                                                            java.rmi.RemoteException

Gets the list of CatalogGroups that have a cross-sell relation to this group.

Returns:
com.ibm.commerce.catalog.objects.RelatedCatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getCategoryCrossSell

public RelatedCatalogGroupAccessBean[] getCategoryCrossSell(java.lang.String arg1)
                                                     throws javax.naming.NamingException,
                                                            javax.ejb.CreateException,
                                                            javax.ejb.FinderException,
                                                            java.rmi.RemoteException

Gets the list of CatalogGroups that have a cross-sell relation to this group described by the arg1 specifier.

Parameters:
arg1 - The arg1 specifier. java.lang.String
Returns:
com.ibm.commerce.catalog.objects.RelatedCatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getCategoryUpSell

public RelatedCatalogGroupAccessBean[] getCategoryUpSell()
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException

Gets the list of Catalog Groups that have an up-sell relation to this group.

Returns:
com.ibm.commerce.catalog.objects.RelatedCatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getCategoryUpSell

public RelatedCatalogGroupAccessBean[] getCategoryUpSell(java.lang.String arg1)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException

This methods returns the list of RelatedCatalogGroup Access Bean with the Catalog Groups that have an up-sell relation to this group described by the semantic specifier.

Parameters:
arg1 - java.lang.String
Returns:
com.ibm.commerce.catalog.objects.RelatedCatalogGroupAccessBean[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getNumSubCatEntries

public java.lang.Integer getNumSubCatEntries(java.lang.Long catalogId)
                                      throws javax.naming.NamingException,
                                             javax.ejb.CreateException,
                                             java.sql.SQLException,
                                             javax.ejb.FinderException,
                                             java.rmi.RemoteException

This method calculates the number of Catalog Entries that belongs to this Catalog Group and the specified Catalog.

Parameters:
catalogId - The Catalog reference number. java.lang.Long
Returns:
java.lang.Integer
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.sql.SQLException - The java.sql.SQLException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getNumSubCatGroups

public java.lang.Integer getNumSubCatGroups(java.lang.Long catalogId)
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            java.sql.SQLException,
                                            javax.ejb.FinderException,
                                            java.rmi.RemoteException

This method calculates the number of sub Catalog Group for this Catalog Group with the specified Catalog.

Parameters:
catalogId - The Catalog reference number. java.lang.Long
Returns:
java.lang.Integer
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.sql.SQLException - The java.sql.SQLException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getProductSetIds

public java.lang.Integer[] getProductSetIds(java.lang.Long catalogId)
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            java.rmi.RemoteException

This method return the list of ProductSet IDs with the specified Catalog and this Catalog Group.

SQL:
SELECT PRODUCTSET_ID FROM CATGRPPS WHERE CATGRPPS.CATALOG_ID = catalogId AND CATGRPPS.CATGROUP_ID = this Catalog Group ID

Parameters:
catalogId - The Catalog reference number. java.lang.Long
Returns:
java.lang.Integer[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
Throws:
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

getTemplateFileName

public java.lang.String getTemplateFileName(java.lang.Long arg1,
                                            UserAccessBean arg2,
                                            java.lang.Integer arg3,
                                            java.lang.String arg4)
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            java.rmi.RemoteException

The template file based on the specified member groups, store and device type.

Parameters:
arg1 - The arg2 ID. java.lang.Long
arg2 - The arg2 object. com.ibm.commerce.arg2.objects.UserAccessBean
arg3 - The store ID. java.lang.Integer
arg4 - The device type. java.lang.String
Returns:
java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getTemplateFileName

public java.lang.String getTemplateFileName(java.lang.Long userId,
                                            UserAccessBean user,
                                            java.lang.Integer store_id,
                                            java.lang.String devicetype_id,
                                            java.lang.Integer language_id)
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            java.rmi.RemoteException

The template file based on the specified member groups, store, device type, and language.

Parameters:
userId - The user ID. java.lang.Long
user - The user object. com.ibm.commerce.user.objects.UserAccessBean
store_id - The store ID. java.lang.Integer
devicetype_id - The device type. java.lang.String
language_id - The Language ID. java.lang.Integer
Returns:
java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

getTemplateFileName

public java.lang.String getTemplateFileName(java.lang.Long arg1,
                                            java.lang.Integer arg2,
                                            java.lang.String arg3)
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            java.rmi.RemoteException
Parameters:
arg1 - java.lang.Long
arg2 - java.lang.Integer
arg3 - java.lang.String
Returns:
java.lang.String
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getTemplateFileName

public java.lang.String getTemplateFileName(java.lang.Long[] arg1,
                                            java.lang.Integer arg2,
                                            java.lang.String arg3)
                                     throws javax.naming.NamingException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            java.rmi.RemoteException

Gets the template file based on the specified member groups, store and device type.

Parameters:
arg1 - The list of member group ID. java.lang.Long[]
arg2 - The store ID. java.lang.Integer
arg3 - The device type. java.lang.String
Returns:
java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

setlanguage_id

public void setlanguage_id(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setlanguage_id in interface CatalogGroupAccessBeanData

setlanguage_id

public void setlanguage_id(java.lang.Integer newValue)
This method accesses a non-CMP field

findByParentGroupIdAndStore

public java.util.Enumeration findByParentGroupIdAndStore(java.lang.Long catalogId,
                                                         java.lang.Long catalogParentGroupId,
                                                         java.lang.Integer storeId)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.FinderException,
                                                         java.rmi.RemoteException
Finds by catalog id, parent catalog group id and store id.
Parameters:
catalogId - The catalog id
catalogParentGroupId - The parent catalog group id.
storeId - The store id.
Returns:
The records meet the searching criteria
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByCatalogIdAndProductSetIdAndStore

public CatalogGroupAccessBean findByCatalogIdAndProductSetIdAndStore(java.lang.Long catalogId,
                                                                     java.lang.Integer productSetId,
                                                                     java.lang.Integer storeId)
                                                              throws javax.naming.NamingException,
                                                                     javax.ejb.FinderException,
                                                                     java.rmi.RemoteException
Finds by catalog id, product set id and store id.
Parameters:
catalogId - The catalog id
productSetId - The product set id.
storeId - The store id.
Returns:
The records meet the searching criteria
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByCatalogIdAndStore

public java.util.Enumeration findByCatalogIdAndStore(java.lang.Long catalogId,
                                                     java.lang.Integer storeId)
                                              throws javax.naming.NamingException,
                                                     javax.ejb.FinderException,
                                                     java.rmi.RemoteException
Finds by catalog id and store id.
Parameters:
catalogId - The catalog id
storeId - The store id.
Returns:
The records meet the searching criteria
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findByChildGroupIdAndStore

public java.util.Enumeration findByChildGroupIdAndStore(java.lang.Long catalogId,
                                                        java.lang.Long catalogChildGroupId,
                                                        java.lang.Integer storeId)
                                                 throws javax.naming.NamingException,
                                                        javax.ejb.FinderException,
                                                        java.rmi.RemoteException
Finds by catalog id, child catalog group id and store id.
Parameters:
catalogId - The catalog id
catalogChildGroupId - The child catalog group id.
storeId - The store id.
Returns:
The records meet the searching criteria
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findEntitledCatalogGroupsByCatalogAndStore

public java.util.Enumeration findEntitledCatalogGroupsByCatalogAndStore(java.lang.Long arg0,
                                                                        java.lang.Integer arg1,
                                                                        java.lang.Long[] arg2)
                                                                 throws javax.naming.NamingException,
                                                                        javax.ejb.FinderException,
                                                                        java.rmi.RemoteException
findEntitledCatalogGroupsByCatalogAndStore
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
arg2 - java.lang.Long[]
Returns:
java.util.Enumeration
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

findByIdentifierAndStore

public java.util.Enumeration findByIdentifierAndStore(java.lang.String astrIdentifier,
                                                      java.lang.Integer anStoreId)
                                               throws javax.naming.NamingException,
                                                      javax.ejb.FinderException,
                                                      java.rmi.RemoteException
Finds by identifier and store id.
Parameters:
astrIdentifier - The catalog id
anStoreId - The store id.
Returns:
The records meet the searching criteria
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore

public java.util.Enumeration findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore(java.lang.Long arg0,
                                                                                           java.lang.Long arg1,
                                                                                           java.lang.Integer arg2,
                                                                                           java.lang.Long[] arg3)
                                                                                    throws javax.naming.NamingException,
                                                                                           javax.ejb.FinderException,
                                                                                           java.rmi.RemoteException
findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
arg2 - java.lang.Integer
arg3 - java.lang.Long[]
Returns:
java.util.Enumeration
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

getCatalogEntriesByStore

public CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long anCatalogId,
                                                         java.lang.Integer anStoreId)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.FinderException,
                                                         javax.ejb.CreateException,
                                                         java.rmi.RemoteException
Gets the catalog entries for the given store.
Parameters:
anCatalogId - The catalog id.
anStoreId - The store id.
Returns:
The catalog entries.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getCategoryAccessoryByStore

public RelatedCatalogGroupAccessBean[] getCategoryAccessoryByStore(java.lang.Integer anStoreId)
                                                            throws javax.naming.NamingException,
                                                                   javax.ejb.FinderException,
                                                                   javax.ejb.CreateException,
                                                                   java.rmi.RemoteException
Gets the category accessories for the given store.
Parameters:
anStoreId - The store id.
Returns:
The list of category accessory which meets the searching criteria.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getCategoryAccessoryByStore

public RelatedCatalogGroupAccessBean[] getCategoryAccessoryByStore(java.lang.String astrSemantic,
                                                                   java.lang.Integer anStoreId)
                                                            throws javax.naming.NamingException,
                                                                   javax.ejb.FinderException,
                                                                   javax.ejb.CreateException,
                                                                   java.rmi.RemoteException
Gets the category accessories for the given semantic and store.
Parameters:
astrSemantic - The semantic.
anStoreId - The store id.
Returns:
The list of category accessory which meets the searching criteria.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getSubCatalogGroupsByStore

public CatalogGroupAccessBean[] getSubCatalogGroupsByStore(java.lang.Long anCatalogId,
                                                           java.lang.Integer anStoreId)
                                                    throws javax.naming.NamingException,
                                                           javax.ejb.FinderException,
                                                           javax.ejb.CreateException,
                                                           java.rmi.RemoteException
Gets the sub catalog groups for the given catalog id and store id.
Parameters:
anCatalogId - The catalog id
anStoreId - The store id.
Returns:
The sub catalog groups which meets the searching criteria.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getCategoryCrossSellByStore

public RelatedCatalogGroupAccessBean[] getCategoryCrossSellByStore(java.lang.Integer anStoreId)
                                                            throws javax.naming.NamingException,
                                                                   javax.ejb.FinderException,
                                                                   javax.ejb.CreateException,
                                                                   java.rmi.RemoteException
Gets the category cross sells for the given store.
Parameters:
anStoreId - The store id.
Returns:
The list of category cross sells which meets the searching criteria.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getCategoryCrossSellByStore

public RelatedCatalogGroupAccessBean[] getCategoryCrossSellByStore(java.lang.String astrSemantic,
                                                                   java.lang.Integer anStoreId)
                                                            throws javax.naming.NamingException,
                                                                   javax.ejb.FinderException,
                                                                   javax.ejb.CreateException,
                                                                   java.rmi.RemoteException
Gets the category cross sells for the given semantic and store.
Parameters:
astrSemantic - The semantic.
anStoreId - The store id.
Returns:
The list of category cross sells which meets the searching criteria.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getNumSubCatEntriesByStore

public java.lang.Integer getNumSubCatEntriesByStore(java.lang.Long anCatalogId,
                                                    java.lang.Integer anStoreId)
                                             throws javax.naming.NamingException,
                                                    javax.ejb.FinderException,
                                                    javax.ejb.CreateException,
                                                    java.rmi.RemoteException,
                                                    java.sql.SQLException
Gets the number of sub catalog entries for the given catalog id and store id.
Parameters:
anCatalogId - The catalog id
anStoreId - The store id.
Returns:
The number of sub catalog entries.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

getCategoryUpSellByStore

public RelatedCatalogGroupAccessBean[] getCategoryUpSellByStore(java.lang.String astrSemantic,
                                                                java.lang.Integer anStoreId)
                                                         throws javax.naming.NamingException,
                                                                javax.ejb.FinderException,
                                                                javax.ejb.CreateException,
                                                                java.rmi.RemoteException
Gets the category upsells for the given semantic and store.
Parameters:
astrSemantic - The semantic.
anStoreId - The store id.
Returns:
The list of category upsells which meets the searching criteria.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getEntitledSubCatalogGroupsByStore

public CatalogGroupAccessBean[] getEntitledSubCatalogGroupsByStore(java.lang.Long anCatalogId,
                                                                   java.lang.Integer anStoreId,
                                                                   java.lang.Long[] anProductSetExclusionList)
                                                            throws javax.naming.NamingException,
                                                                   javax.ejb.FinderException,
                                                                   javax.ejb.CreateException,
                                                                   java.rmi.RemoteException
Gets the entitled sub catalog groups for the given catalog id and store, and are not exclued from the view.
Parameters:
anCatalogId - The catalog id
anStoreId - The store id.
anProductSetExclusionList - The product set exclusion list.
Returns:
The list of catalog groups which meets the searching criteria.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getNumSubCatGroupsByStore

public java.lang.Integer getNumSubCatGroupsByStore(java.lang.Long anCatalogId,
                                                   java.lang.Integer anStoreId)
                                            throws javax.naming.NamingException,
                                                   javax.ejb.FinderException,
                                                   javax.ejb.CreateException,
                                                   java.rmi.RemoteException,
                                                   java.sql.SQLException
Gets the number of sub catalog groups for the given catalog id and store id.
Parameters:
anCatalogId - The catalog id
anStoreId - The store id.
Returns:
The number of sub catalog groups.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException
java.sql.SQLException

getCategoryUpSellByStore

public RelatedCatalogGroupAccessBean[] getCategoryUpSellByStore(java.lang.Integer anStoreId)
                                                         throws javax.naming.NamingException,
                                                                javax.ejb.FinderException,
                                                                javax.ejb.CreateException,
                                                                java.rmi.RemoteException
Gets the category upsells for the given store.
Parameters:
anStoreId - The store id.
Returns:
The list of category upsells which meets the searching criteria.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getCatalogEntriesByStore

public CatalogEntryAccessBean[] getCatalogEntriesByStore(java.lang.Long argCatalogId,
                                                         java.lang.Integer anStoreId,
                                                         java.lang.Long[] arginclusivePSList,
                                                         java.lang.Long[] argExclusivePSList)
                                                  throws javax.naming.NamingException,
                                                         javax.ejb.FinderException,
                                                         javax.ejb.CreateException,
                                                         java.rmi.RemoteException
Gets the catalog entries for the given store and which are allowed by the inclusion and exclusion product sets.
Parameters:
argCatalogId - The catalog id.
anStoreId - The store id.
arginclusivePSList - The inclusion product set.
argExclusivePSList - The exclusion product set.
Returns:
The catalog entries.
Throws:
javax.naming.NamingException
javax.ejb.CreateException
javax.ejb.FinderException
java.rmi.RemoteException

getCatalogEntriesByStoreOrderByPartNumber

public CatalogEntryAccessBean[] getCatalogEntriesByStoreOrderByPartNumber(java.lang.Long argCatalogId,
                                                                          java.lang.Integer anStoreId,
                                                                          java.lang.Long[] argInclusivePS,
                                                                          java.lang.Long[] argExclusivePS)
                                                                   throws javax.naming.NamingException,
                                                                          javax.ejb.FinderException,
                                                                          javax.ejb.CreateException,
                                                                          java.rmi.RemoteException
Gets the catalog entries in the given catalog and store which were included in and exclueded from the product sets.The result is sorted by part number.
Parameters:
argCatalogId - java.lang.Long
anStoreId - the store id
argInclusivePS - java.lang.Long[]
argExclusivePS - java.lang.Long[]
Returns:
The catalog entries.
Throws:
javax.ejb.CreateException - The exception description.
javax.naming.NamingException - The exception description.
javax.ejb.FinderException - The exception description.
java.rmi.RemoteException

Feedback