com.ibm.commerce.catalog.beans
Class RelatedCategoryDataBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.catalog.objects.RelatedCatalogGroupAccessBean
              |
              +--com.ibm.commerce.catalog.beans.RelatedCategoryDataBean
All Implemented Interfaces:
RelatedCatalogGroupAccessBeanData

public class RelatedCategoryDataBean
extends RelatedCatalogGroupAccessBean

This bean represents a related Category.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Constructor Summary
RelatedCategoryDataBean()
          Creates an empty RelatedCategoryDataBean.
RelatedCategoryDataBean( RelatedCatalogGroupAccessBean abRelCatGroup)
          Creates a RelatedCategoryDataBean from a RelatedCatalogGroupAccessBean.
RelatedCategoryDataBean( RelatedCatalogGroupAccessBean abRelCatGroup, CommandContext aCommandContext)
          Creates a RelatedCategoryDataBean from a RelatedCatalogGroupAccessBean and a CommandContext.
 
Method Summary
  CategoryDataBean getCategory()
          Returns a bean that represents the related Category.
 void setCategory( CategoryDataBean abnCategory)
          Sets the related Category.
protected  void setCommandContext( CommandContext aCommandContext)
          Sets the command context passed in at run time.
 
Methods inherited from class com.ibm.commerce.catalog.objects. RelatedCatalogGroupAccessBean
commitCopyHelper, defaultJNDIName, findByCategoryAccessory, findByCategoryAccessoryAndStore, findByCategoryAccessoryWithSemantic, findByCategoryAccessoryWithSemanticAndStore, findByCategoryCrossSell, findByCategoryCrossSellAndStore, findByCategoryCrossSellWithSemantic, findByCategoryCrossSellWithSemanticAndStore, findByCategoryUpSell, findByCategoryUpSellAndStore, findByCategoryUpSellWithSemantic, findByCategoryUpSellWithSemanticAndStore, getAssociationType, getDate1, getField1, getField2, getField2InEJBType, getField3, getField3InEJBType, getFromCatalogGroupReferenceNumber, getFromCatalogGroupReferenceNumberInEJBType, getGroupName, getOid, getQuantity, getQuantityInEJBType, getRank, getRankInEJBType, getRelatedCatalogGroup, getRule, getSematicSpecifier, getStoreId, getToCatalogGroupReferenceNumber, getToCatalogGroupReferenceNumberInEJBType, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, setAssociationType, setDate1, setField1, setField2, setField2, setField3, setField3, setFromCatalogGroupReferenceNumber, setFromCatalogGroupReferenceNumber, setGroupName, setInitKey_associationReferenceNumber, setOid, setQuantity, setQuantity, setRank, setRank, setRule, setSematicSpecifier, setStoreId, setToCatalogGroupReferenceNumber, setToCatalogGroupReferenceNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values
Constructor Detail

RelatedCategoryDataBean

public RelatedCategoryDataBean()
Creates an empty RelatedCategoryDataBean.

RelatedCategoryDataBean

public RelatedCategoryDataBean(RelatedCatalogGroupAccessBean abRelCatGroup)
                        throws java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException,
                               javax.ejb.CreateException
Creates a RelatedCategoryDataBean from a RelatedCatalogGroupAccessBean.
Parameters:
abRelCatGroup - the RelatedCatalogGroupAccessBean

RelatedCategoryDataBean

public RelatedCategoryDataBean(RelatedCatalogGroupAccessBean abRelCatGroup,
CommandContext aCommandContext)
                        throws java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException,
                               javax.ejb.CreateException
Creates a RelatedCategoryDataBean from a RelatedCatalogGroupAccessBean and a CommandContext.
Parameters:
abRelCatGroup - the RelatedCatalogGroupAccessBean
aCommandContext - the command context
Method Detail

getCategory

public CategoryDataBean getCategory()
                             throws javax.ejb.FinderException,
                                    javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException
Returns a bean that represents the related Category.
Returns:
the related category bean
javax.ejb.FinderException
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException

setCategory

public void setCategory(CategoryDataBean abnCategory)
Sets the related Category.
Parameters:
abnCategory - the related category bean

setCommandContext

protected void setCommandContext(CommandContext aCommandContext)
Sets the command context passed in at run time.
Parameters:
aCommandContext - the command context