public class CatalogEntryRelationDataBean
extends com.ibm.commerce.catalog.beansrc.CatalogEntryRelationDataBeanBase
implements com.ibm.commerce.catalog.beans.CatalogEntryRelationInputDataBean, com.ibm.commerce.catalog.beans.CatalogEntryRelationSmartDataBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans: CatalogEntryRelation
Mandatory Parameters (for single row retrieval):
Some hints and tips for using this data bean are:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
emptyString
Constructor and Description |
---|
CatalogEntryRelationDataBean() |
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
java.lang.String |
getDataBeanKeyCatalogEntryIdChild()
Gets the catalog entry ID of the child of this catalog entry.
|
java.lang.String |
getDataBeanKeyCatalogEntryIdParent()
Gets the catalog entry ID of the parent of this catalog entry.
|
java.lang.String |
getDataBeanKeyCatalogRelationTypeId()
Gets the type of the relation.
|
TypedProperty |
getRequestProperties()
Gets the request property set within this bean.
|
void |
populate()
Loads data into the data bean
when the
DataBeanManager.activate() runs. |
void |
setCommandContext(CommandContext aCommandContext)
Sets the command context within this bean.
|
void |
setDataBeanKeyCatalogEntryIdChild(java.lang.String aCatalogEntryIdChild)
Sets the catalog entry ID of the child.
|
void |
setDataBeanKeyCatalogEntryIdParent(java.lang.String aCatalogEntryIdParent)
Sets the catalog entry ID of the parent of this catalog entry.
|
void |
setDataBeanKeyCatalogRelationTypeId(java.lang.String aCatalogRelationTypeId)
Sets the relation type.
|
void |
setRequestProperties(TypedProperty aRequestProperty)
Sets the request properties within this bean.
|
getDelegate
findByCatalogEntryChildId, findByCatalogEntryChildIdAndStore, findByCatalogEntryParentId, findByCatalogEntryParentIdAndTypeAndStore, findEntitledByCatalogEntryParentIdAndTypeAndStore, getCatalogEntryIdChild, getCatalogEntryIdChildInEntityType, getCatalogEntryIdParent, getCatalogEntryIdParentInEntityType, getCatalogRelationTypeId, getEntity, getField1, getField2, getField2InEntityType, getField3, getField3InEntityType, getGroupName, getOID, getQuantity, getQuantityInEntityType, getSequence, getSequenceInEntityType, instantiateEntity, setCatalogEntryIdChild, setCatalogEntryIdChild, setCatalogEntryIdParent, setCatalogEntryIdParent, setCatalogRelationTypeId, setField1, setField2, setField2, setField3, setField3, setGroupName, setInitKey_catalogEntryIdChild, setInitKey_catalogEntryIdChild, setInitKey_catalogEntryIdParent, setInitKey_catalogEntryIdParent, setInitKey_catalogRelationTypeId, setOID, setQuantity, setQuantity, setSequence, setSequence
public static final java.lang.String COPYRIGHT
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
TypedProperty
object.public void setRequestProperties(TypedProperty aRequestProperty)
setRequestProperties
in interface InputDataBean
aTypedProperty
- The request properties.CreateException
- In the execution of the method, a create exception occurs.FinderException
- In the execution of the method, a finder exception occurs.NamingException
- In the execution of the method, a naming exception occurs.RemoteException
- In the execution of the method, a remote exception occurs.public java.lang.String getDataBeanKeyCatalogEntryIdParent()
getDataBeanKeyCatalogEntryIdParent
in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationSmartDataBean
public java.lang.String getDataBeanKeyCatalogRelationTypeId()
getDataBeanKeyCatalogRelationTypeId
in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationSmartDataBean
public java.lang.String getDataBeanKeyCatalogEntryIdChild()
getDataBeanKeyCatalogEntryIdChild
in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationSmartDataBean
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
CommandContext
object.public void setCommandContext(CommandContext aCommandContext)
setCommandContext
in interface SmartDataBean
aCommandContext
- The command context as CommandContext
object.public void setDataBeanKeyCatalogEntryIdParent(java.lang.String aCatalogEntryIdParent)
setDataBeanKeyCatalogEntryIdParent
in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationInputDataBean
aCatalogEntryIdParent
- The catalog entry ID of the parent.public void setDataBeanKeyCatalogRelationTypeId(java.lang.String aCatalogRelationTypeId)
setDataBeanKeyCatalogRelationTypeId
in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationInputDataBean
aCatalogRelationTypeId
- The relation type.public void setDataBeanKeyCatalogEntryIdChild(java.lang.String aCatalogEntryIdChild)
setDataBeanKeyCatalogEntryIdChild
in interface com.ibm.commerce.catalog.beans.CatalogEntryRelationInputDataBean
aCatalogEntryIdChild
- The catalog entry ID of the child.public void populate()
DataBeanManager.activate()
runs.populate
in interface SmartDataBean
java.lang.Exception