com.ibm.commerce.catalog.objects
Class CatalogGroupAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
All Implemented Interfaces:
CatalogGroupAccessBeanData, java.io.Serializable

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

This bean provides access to the CATGROUP table.

The following is a description of this table:

This table hold the information related to a CatalogGroup. Think of a CatalogGroup as a generic Category that can contain both other CatalogGroups and also CatalogEntries.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CatalogGroupAccessBean()
          Default constructor.
CatalogGroupAccessBean(javax.ejb.EJBObject catGrpEJBObj)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
CatalogGroupAccessBean(java.lang.Long anMemberId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
CatalogGroupAccessBean(java.lang.Long catGrpRefNum, java.lang.Long memberID)
          Maps to a corresponding ejbCreate method in the home interface of the EJB.
CatalogGroupAccessBean(java.lang.Long catGrpRefNum, java.lang.String memberID)
          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).
 java.util.Enumeration findByCatalogId(java.lang.Long catalogID)
          Finds the catalog group with catalog ID.
 CatalogGroupAccessBean findByCatalogIdAndProductSetId(java.lang.Long anCatalogId, java.lang.Integer anProductSetId)
          This method returns the CatalogGroup Access Bean with the specified Catalog ID and ProductSet ID.
 java.util.Enumeration findByChildGroupId(java.lang.Long anCatalogId, java.lang.Long anCatGroupId)
          This method return an enumeration of CatalogGroup Access Beans that belongs to the specified Catalog and parent to the specified Catalog Group.
 CatalogGroupAccessBean findByKeyAndStore(java.lang.Long anCatalogId, java.lang.Integer anStoreId)
          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 anMemberId, java.lang.String astrIdentifier)
          This method returns the Catalog Group of the specified owner and identifier.
 java.util.Enumeration findByParentGroupId(java.lang.Long catGrpRefNum, java.lang.Long parentCatGrpID)
          Finds the catalog group with the parent group ID.
 java.util.Enumeration findEntitledCatalogGroupsByCatalog(java.lang.Long anCatalogId, java.lang.Long[] aExcludeProductSetList)
          This method returns an enumeration of Catalog Groups of the specified Catalog and not in the excluded ProductSet list .
 java.util.Enumeration findEntitledChildCatalogGroupsByCatalogAndParentGroup(java.lang.Long anCatalogId, java.lang.Long anCatalogGroupIdParent, java.lang.Long[] aExcludedPSList)
          This method returns an enumeration of CatalogGroup Access Beans with the specified Catalog reference number and the specified parent Catalog Group reference number, and not in the excluded ProductSet list.
 boolean fulfills(java.lang.Long anMemberId, java.lang.String astrRelationship)
          Determines if a given member fulfills a given relationship with the resource.
 CatalogGroupAttributeAccessBean[] getAttributes()
          This method returns the list of CatalogGroupAttribute Access Bean that belongs to the Catalog Group.
 CatalogGroupAttributeAccessBean[] getAttributes(java.lang.Integer languageID)
          The attributes that describe this CatalogGroup in the language specified.
 CatalogEntryAccessBean[] getCatalogEntries(java.lang.Long catalogID)
          Gets the list of catalog entries in the catalog group.
 CatalogEntryAccessBean[] getCatalogEntries(java.lang.Long catalogID, java.lang.Long[] aInclusiveProductSetList, java.lang.Long[] aExclusiveProductSetList)
          Gets the list of catalog entries in the catalog group that are in the inclusive ProductSet list and not in the exclusive ProductSet list.
 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 astrSemantic)
          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[] getCategoryCrossSell()
          Gets the list of CatalogGroups that have a cross-sell relation to this group.
 RelatedCatalogGroupAccessBean[] getCategoryCrossSell(java.lang.String semantic)
          Gets the list of CatalogGroups that have a cross-sell relation to this group described by the semantic specifier.
 RelatedCatalogGroupAccessBean[] getCategoryUpSell()
          Gets the list of Catalog Groups that have an up-sell relation to this group.
 RelatedCatalogGroupAccessBean[] getCategoryUpSell(java.lang.String astrSemantic)
          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.
 CatalogGroupDescriptionAccessBean getDescription()
          Gets the description of the catalog group.
 CatalogGroupDescriptionAccessBean getDescription(java.lang.Integer anLanguageId)
          This method returns the Catalog Group Description of this Catalog Group with the specified Language.
 CatalogGroupDescriptionAccessBean getDescription(java.lang.Integer anLanguageId, java.lang.Integer anStoreId)
          The bean that holds the language specific information for this Catalog Group for the language identified by anLanguageId and the store identified by anStoreId.
 CatalogGroupAccessBean[] getEntitledSubCatalogGroups(java.lang.Long aEntitledSubCatalogGroups, java.lang.Long[] aEntitledSubCatalogGroups)
          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
 java.lang.String getField1()
          This method provides access to the CATGROUP.FIELD1 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField2()
          This method provides access to the CATGROUP.FIELD2 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getIdentifier()
          This method provides access to the CATGROUP.IDENTIFIER column of DB2 type VARCHAR(254) NULL.
 java.lang.String getLanguage_id()
          This method returns the Language reference number.
 java.lang.Integer getLanguage_idInEJBType()
          This methods returns the Language reference number.
 java.lang.String getLastUpdate()
          This method provides access to the CATGROUP.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the CATGROUP.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 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 aNumSubCatEntries)
          This method calculates the number of Catalog Entries that belongs to this Catalog Group and the specified Catalog.
 java.lang.Integer getNumSubCatGroups(java.lang.Long anCatalogId)
          This method calculates the number of sub Catalog Group for this Catalog Group with the specified Catalog.
 java.lang.String getOid()
          This method provides access to the CATGROUP.OID column of DB2 type VARCHAR(64) NULL.
 java.lang.Long getOwner()
          This method returns the member ID of the owner.
 CatalogGroupAccessBean[] getParentCatalogGroups(java.lang.Long anCatalogId)
          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 anCatalogId)
          This method return the list of ProductSet IDs with the specified Catalog and this Catalog Group.
 CatalogGroupAccessBean[] getSubCatalogGroups(java.lang.Long catalogID)
          Gets the list of sub catalog groups for the catalog group.
 java.lang.String getTemplateFileName(java.lang.Long[] memberGrpID, java.lang.Integer storeID, java.lang.String deviceType)
          Gets 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 storeID, java.lang.String deviceType)
          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 storeID, java.lang.String deviceType, java.lang.Integer languageId)
          The template file based on the specified member groups, store, device type, and language.
 boolean isCatalogGroupInStore(java.lang.Integer storeID)
          Indicates if this catalog group can be displayed in this group.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setField1(java.lang.String astrField1)
          This method provides access to the CATGROUP.FIELD1 column of DB2 type VARCHAR(254) NULL.
 void setField2(java.lang.String astrField2)
          This method provides access to the CATGROUP.FIELD2 column of DB2 type VARCHAR(254) NULL.
 void setIdentifier(java.lang.String astrIdentifier)
          This method provides access to the CATGROUP.IDENTIFIER column of DB2 type VARCHAR(254) NULL.
 void setInitKey_catalogGroupReferenceNumber(java.lang.String aInitKey_catalogGroupReferenceNumber)
          Set the primary key for this object
 void setLastUpdate(java.lang.String aLastUpdate)
          This method provides access to the CATGROUP.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setLastUpdate(java.sql.Timestamp aLastUpdate)
          This method provides access to the CATGROUP.LASTUPDATE column of DB2 type TIMESTAMP NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the CATGROUP.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.String astrMarkForDelete)
          This method provides access to the CATGROUP.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMemberId(java.lang.Long anMemberId)
          This method provides access to the CATGROUP.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String astrMemberId)
          This method provides access to the CATGROUP.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setOid(java.lang.String astrOid)
          This method provides access to the CATGROUP.OID column of DB2 type VARCHAR(64) NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogGroupAccessBean

public CatalogGroupAccessBean()

Default constructor. Maps to findByPrimaryKey.


CatalogGroupAccessBean

public CatalogGroupAccessBean(javax.ejb.EJBObject catGrpEJBObj)
                       throws java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
catGrpEJBObj - The catalog group EJB object. javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CatalogGroupAccessBean

public CatalogGroupAccessBean(java.lang.Long anMemberId)
                       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

Parameters:
anMemberId - The owner of the Catalog Group. java.lang.Long
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

CatalogGroupAccessBean

public CatalogGroupAccessBean(java.lang.Long catGrpRefNum,
                              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:
catGrpRefNum - 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 catGrpRefNum,
                              java.lang.String memberID)
                       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:
catGrpRefNum - The catalog group reference number. java.lang.Long
memberID - 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
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The javax.naming.NamingException exception

findByCatalogIdAndProductSetId

public CatalogGroupAccessBean findByCatalogIdAndProductSetId(java.lang.Long anCatalogId,
                                                             java.lang.Integer anProductSetId)
                                                      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 = anCatalogId AND CATGRPPS.PRODUCTSET_ID = anProductSetId AND CATGRPPS.CATGROUP_ID = CATGROUP.CATGROUP_ID

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
anProductSetId - 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 - The javax.naming.NamingException exception

findByChildGroupId

public java.util.Enumeration findByChildGroupId(java.lang.Long anCatalogId,
                                                java.lang.Long anCatGroupId)
                                         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 = anCatalogId AND CATGRPREL.CATGROUP_ID_CHILD = anCatGroupId AND CATGROUP.CATGROUP_ID = CATGRPREL.CATGROUP_ID_PARENT

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
anCatGroupId - 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 - The javax.naming.NamingException exception

findByKeyAndStore

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

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

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
anStoreId - 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 - The javax.naming.NamingException exception

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 - The javax.naming.NamingException exception

findByMemberIdAndIdentifier

public CatalogGroupAccessBean findByMemberIdAndIdentifier(java.lang.Long anMemberId,
                                                          java.lang.String astrIdentifier)
                                                   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 = anMemberIdAND CATGROUP.IDENTIFIER = astrIdentifier

Parameters:
anMemberId - The owner of the Catalog Group. java.lang.Long
astrIdentifier - 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 - The javax.naming.NamingException exception

findByParentGroupId

public java.util.Enumeration findByParentGroupId(java.lang.Long catGrpRefNum,
                                                 java.lang.Long parentCatGrpID)
                                          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 = catGrpRefNum AND CATGRPREL.CATGROUP_ID_PARENT = parentCatGrpID AND CATGRPREL.CATGROUP_ID_CHILD = CATGROUP.CATGROUP_ID

Parameters:
catGrpRefNum - The catalog group reference number. java.lang.Long
parentCatGrpID - 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 - The javax.naming.NamingException exception

findEntitledCatalogGroupsByCatalog

public java.util.Enumeration findEntitledCatalogGroupsByCatalog(java.lang.Long anCatalogId,
                                                                java.lang.Long[] aExcludeProductSetList)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException

This method returns an enumeration of Catalog Groups of the specified Catalog and not in the excluded ProductSet list .

SQL:
SELECT CATGROUP.CATGROUP_ID FROM CATGROUP, CATTOGRP WHERE CATGROUP.MARKFORDELETE = 0 AND CATTOGRP.CATALOG_ID = anCatalogId AND CATTOGRP.CATGROUP_ID = CATGROUP.CATGROUP_ID AND CATGROUP.CATGROUP_ID NOT IN (SELECT CATGRPPS.CATGROUP_ID FROM PRODUCTSET, CATGRPPS WHERE PRODUCTSET.MARKFORDELETE = 0 AND PRODUCTSET>PRODUCTSET_ID IN (aExcludeProductSetList) AND PRODUCTSET>PRODUCTSET_ID = CATGRPPS.PRODUCTSET_ID)

Parameters:
anCatalogId - java.lang.Long
aExcludeProductSetList - 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 - The javax.naming.NamingException exception

findEntitledChildCatalogGroupsByCatalogAndParentGroup

public java.util.Enumeration findEntitledChildCatalogGroupsByCatalogAndParentGroup(java.lang.Long anCatalogId,
                                                                                   java.lang.Long anCatalogGroupIdParent,
                                                                                   java.lang.Long[] aExcludedPSList)
                                                                            throws java.rmi.RemoteException,
                                                                                   javax.ejb.FinderException,
                                                                                   javax.naming.NamingException

This method returns an enumeration of CatalogGroup Access Beans with the specified Catalog reference number and the specified parent Catalog Group reference number, and not in the excluded ProductSet list.

SQL:
SELECT CATGROUP.CATGROUP_ID FROM CATGROUP, CATGRPREL WHERE CATGROUP.MARKFORDELETE = 0 AND CATGROUP.CATGROUP_ID=CATGRPREL.CATGROUP_ID_CHILD AND CATGRPREL.CATALOG_ID = anCatalogId AND CATGRPREL.CATGROUP_ID_PARENT = anCatalogGroupIdParent AND CATGROUP.CATGROUP_ID NOT IN (SELECT CATGRPPS.CATGROUP_ID FROM PRODUCTSET, CATGRPPS WHERE PRODUCTSET.MAKRKFORDELETE = 0 AND PRODUCTSET.PRODUCTSET_ID IN (aExcludedPSList) AND PRODUCTSET.PRODUCTSET_ID = CATGRPPS.PRODUCTSET_ID)

Parameters:
anCatalogId - The Catalog reference number. java.lang.Long
anCatalogGroupIdParent - The parent Catalog Group reference number. java.lang.Long
aExcludedPSList - The excluded ProductSet list. 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 - The javax.naming.NamingException exception

fulfills

public boolean fulfills(java.lang.Long anMemberId,
                        java.lang.String astrRelationship)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

Determines if a given member fulfills a given relationship with the resource. return true if the member fulfills the relationship with the resource.

Parameters:
anMemberId - The member reference number. java.lang.Long
astrRelationship - The relationship the member has with respect to the resource java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException 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 languageID)
                                                throws javax.naming.NamingException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       java.rmi.RemoteException

The attributes that describe this CatalogGroup in the language specified.

Parameters:
languageID - 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

getCatalogEntries

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

Gets the list of catalog entries in the catalog group.

Parameters:
catalogID - 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 catalogID,
                                                  java.lang.Long[] aInclusiveProductSetList,
                                                  java.lang.Long[] aExclusiveProductSetList)
                                           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:
catalogID - The catalog ID. java.lang.Long
aInclusiveProductSetList - The inclusive ProductSet list. java.lang.Long[]
aExclusiveProductSetList - 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

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 Catalog Group.

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

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 Catalog Group.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException 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 astrSemantic)
                                                     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:
astrSemantic - 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 semantic)
                                                     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 semantic specifier.

Parameters:
semantic - The semantic 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 astrSemantic)
                                                  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:
astrSemantic - 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

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 anLanguageId)
                                                 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:
anLanguageId - 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 anLanguageId,
                                                        java.lang.Integer anStoreId)
                                                 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 anLanguageId and the store identified by anStoreId. This method will return an alternate language description if the specified description is not found.

Parameters:
anLanguageId - The Language reference number. java.lang.Integer
anStoreId - 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

getEntitledSubCatalogGroups

public CatalogGroupAccessBean[] getEntitledSubCatalogGroups(java.lang.Long aEntitledSubCatalogGroups,
                                                            java.lang.Long[] aEntitledSubCatalogGroups)
                                                     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:
anCatalogId - 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

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) NULL.

The following is a description of this column:

Customizable.

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

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) NULL.

The following is a description of this column:

Customizable.

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

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLanguage_id

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

This method returns the Language reference number.

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

getLanguage_idInEJBType

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

This methods returns the Language reference number.

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

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 NULL.

The following is a description of this column:

Indicates the last time that this Catalog Group was updated.

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

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 NULL.

The following is a description of this column:

Indicates the last time that this Catalog Group was updated.

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

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 Catalog Group has been marked for deletion:
0 = No.
1 = Yes.

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

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:
0 = No.
1 = Yes.

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

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:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getNumSubCatEntries

public java.lang.Integer getNumSubCatEntries(java.lang.Long aNumSubCatEntries)
                                      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:
anCatalogId - 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 anCatalogId)
                                     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:
anCatalogId - 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

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) NULL.

The following is a description of this column:

The Object Identifier. Reserved for IBM internal use.

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

getOwner

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

This method returns the member ID of the owner.

Returns:
java.lang.Long
Throws:
java.lang.Exception - The java.lang.Exception exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getParentCatalogGroups

public CatalogGroupAccessBean[] getParentCatalogGroups(java.lang.Long anCatalogId)
                                                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:
anCatalogId - 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

getProductSetIds

public java.lang.Integer[] getProductSetIds(java.lang.Long anCatalogId)
                                     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 = anCatalogId AND CATGRPPS.CATGROUP_ID = this Catalog Group ID

Parameters:
anCatalogId - 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

getSubCatalogGroups

public CatalogGroupAccessBean[] getSubCatalogGroups(java.lang.Long catalogID)
                                             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:
catalogID - 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

getTemplateFileName

public java.lang.String getTemplateFileName(java.lang.Long[] memberGrpID,
                                            java.lang.Integer storeID,
                                            java.lang.String deviceType)
                                     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:
memberGrpID - The list of member group ID. java.lang.Long[]
storeID - The store ID. java.lang.Integer
deviceType - 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 storeID,
                                            java.lang.String deviceType)
                                     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:
userID - The user ID. java.lang.Long
user - The user object. com.ibm.commerce.user.objects.UserAccessBean
storeID - The store ID. java.lang.Integer
deviceType - 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 storeID,
                                            java.lang.String deviceType,
                                            java.lang.Integer languageId)
                                     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
storeID - The store ID. java.lang.Integer
deviceType - The device type. java.lang.String
languageId - 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

isCatalogGroupInStore

public boolean isCatalogGroupInStore(java.lang.Integer storeID)
                              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:
storeID - 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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setField1

public void setField1(java.lang.String astrField1)

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

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface CatalogGroupAccessBeanData
Parameters:
astrField1 - The first customizable field. java.lang.String
Returns:
void

setField2

public void setField2(java.lang.String astrField2)

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

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface CatalogGroupAccessBeanData
Parameters:
astrField2 - The second customizable field. java.lang.String
Returns:
void

setIdentifier

public void setIdentifier(java.lang.String astrIdentifier)

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

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:
setIdentifier in interface CatalogGroupAccessBeanData
Parameters:
astrIdentifier - The Identifier for the Catalog Group. java.lang.String
Returns:
void

setInitKey_catalogGroupReferenceNumber

public void setInitKey_catalogGroupReferenceNumber(java.lang.String aInitKey_catalogGroupReferenceNumber)

Set the primary key for this object

Parameters:
aInitKey_catalogGroupReferenceNumber - The Catalog Group reference number. java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.lang.String aLastUpdate)

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

The following is a description of this column:

Indicates the last time that this Catalog Group was updated.

Specified by:
setLastUpdate in interface CatalogGroupAccessBeanData
Parameters:
astrLastUpdate - The time the Catalog Group was last updated. java.lang.String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp aLastUpdate)

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

The following is a description of this column:

Indicates the last time that this CatalogGroup was updated.

Parameters:
aLastUpdate - The time the Catalog Group was last updated. java.sql.Timestamp
Returns:
void

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

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:
0 = No.
1 = Yes.

Parameters:
anMarkForDelete - The Mark For Delete flag of the Catalog Group. java.lang.Integer
Returns:
void

setMarkForDelete

public void setMarkForDelete(java.lang.String astrMarkForDelete)

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:
0 = No.
1 = Yes.

Specified by:
setMarkForDelete in interface CatalogGroupAccessBeanData
Parameters:
astrMarkForDelete - The Mark For Delete flag of this Catalog Group. java.lang.String
Returns:
void

setMemberId

public void setMemberId(java.lang.Long anMemberId)

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.

Parameters:
anMemberId - The owner reference number of the Catalog Group. java.lang.Long
Returns:
void

setMemberId

public void setMemberId(java.lang.String astrMemberId)

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:
setMemberId in interface CatalogGroupAccessBeanData
Parameters:
astrMemberId - The owner of the Catalog Group. java.lang.String
Returns:
void

setOid

public void setOid(java.lang.String astrOid)

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setOid in interface CatalogGroupAccessBeanData
Parameters:
astrOid - The Object Identifier. java.lang.String
Returns:
void