public class GiftRegistryItemAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements com.ibm.commerce.component.giftregistry.objects.GiftRegistryItemAccessBeanData
Constructor and Description |
---|
GiftRegistryItemAccessBean()
GiftRegistryItemAccessBean
|
GiftRegistryItemAccessBean(javax.ejb.EJBObject o)
GiftRegistryItemAccessBean
|
GiftRegistryItemAccessBean(java.lang.Long newGiftRegistryId, java.lang.Integer newQuantityRequested, java.lang.Integer newQuantityBought, java.lang.String newLocation, java.lang.String newPartNumber, java.lang.String newPartAuxKey)
ejbCreate method for a CMP entity bean containing all non-null database fields.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
commitCopyHelper
|
java.lang.String | defaultJNDIName()
defaultJNDIName
|
java.util.Collection | findGiftItemsByGiftRegistryId(java.lang.Long GiftRegistryId)
Finds all registry items in a gift registry
|
java.util.Collection | findGiftItemsByGiftRegistryIdAndLocation(java.lang.Long GiftRegistryId, java.lang.String Location)
Finds all registry items by a gift registry Id and the location the item was added from.
|
java.util.Collection | findGiftItemsByGiftRegistryIdAndPartNumber(java.lang.Long GiftRegistryId, java.lang.String PartNumber)
Finds all registry items by a gift registry id and partNumber
|
java.util.Collection | findGiftItemsByGiftRegistryIdAndPartNumberAndPartAuxKey(java.lang.Long GiftRegistryId, java.lang.String PartNumber, java.lang.String PartAuxKey)
Find all items in a gift registry with a particular partNumber and partAuxKey
|
java.util.Collection | findGiftItemsByGiftRegistryIdAndPartNumberAndPartAuxKeyOrderByQuantityBought(java.lang.Long GiftRegistryId, java.lang.String PartNumber, java.lang.String PartAuxKey)
Finds all items in a registry by part number and partAuxKey.
|
java.util.Collection | findGiftItemsByGiftRegistryIdAndPartNumberOrderByQuantityBought(java.lang.Long GiftRegistryId, java.lang.String PartNumber)
Finds all items in a registry by part number.
|
java.util.Collection | findGiftItemsByGiftRegistryIdOrderByQuantityBought(java.lang.Long GiftRegistryId)
Find all registry items in a gift registry and order by quantity bought descending
|
boolean | fulfills(java.lang.Long member, java.lang.String relationship)
fulfills
|
java.sql.Timestamp | getCreateTime()
Gets the creation time of the gift registry item
|
java.lang.Integer | getField1()
Gets the value customizable field 1
|
java.lang.Integer | getField2()
getField2
|
java.lang.String | getField4()
Gets the value customizable field 4
|
java.lang.String | getField5()
Gets the value customizable field 5
|
java.lang.Long | getGiftItemId()
Gets the gift item ID
|
java.lang.Long | getGiftRegistryId()
Gets the gift registry ID
|
java.sql.Timestamp | getLastUpdate()
Gets the last updated timestamp of the gift item
|
java.lang.String | getLocation()
Gets the purchase location of the gift item
|
java.lang.Long | getOwner()
getOwner
|
java.lang.String | getPartAuxKey()
Gets the part auxiliary key of the gift item
|
java.lang.String | getPartNumber()
Gets the part number of the gift item
|
java.lang.Integer | getQuantityBought()
Gets the quantity bought by gift giver of the gift item
|
java.lang.Integer | getQuantityRequested()
Gets the quantity requested by registrant of the gift item
|
java.lang.Integer | getUserRelationship()
getUserRelationship
|
protected void | instantiateEJB()
instantiateEJB
|
protected boolean | instantiateEJBByPrimaryKey()
instantiateEJBByPrimaryKey
|
void | refreshCopyHelper()
refreshCopyHelper
|
void | setCreateTime(java.sql.Timestamp timestamp)
Set the creation time of the gift item
|
void | setField1(java.lang.Integer integer)
Sets the customizable field 1
|
void | setField2(java.lang.Integer integer)
Sets the customizable field 2
|
void | setField3(java.lang.String string)
public java.lang.String getField3() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException { return (((java.lang.String) __getCache("field3"))); } /** Sets the customizable field 3
|
void | setField4(java.lang.String string)
Sets the customizable field 4
|
void | setField5(java.lang.String string)
Sets the customizable field 5
|
void | setGiftItemId(java.lang.Long long1)
Sets the gift item ID
|
void | setGiftRegistryId(java.lang.Long long1)
Sets the gift registry ID
|
void | setInitKey_giftItemId(java.lang.Long newValue)
setInitKey_giftItemId
|
void | setLastUpdate(java.sql.Timestamp timestamp)
Sets the timestamp of last update of the gift item
|
void | setLocation(java.lang.String string)
Sets the purchase location of the gift item
|
void | setPartAuxKey(java.lang.String string)
This method sets the part auxiliary key of the gift item
|
void | setPartNumber(java.lang.String string)
Sets the part number of the gift item
|
void | setQuantityBought(java.lang.Integer integer)
Sets the quantity bought by gift giver of the gift item
|
void | setQuantityRequested(java.lang.Integer integer)
Sets the quantity requested by registrant of the gift item
|
void | setUserRelationship(java.lang.Integer relationship)
setUserRelationship
|
public GiftRegistryItemAccessBean()
public GiftRegistryItemAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public GiftRegistryItemAccessBean(java.lang.Long newGiftRegistryId, java.lang.Integer newQuantityRequested, java.lang.Integer newQuantityBought, java.lang.String newLocation, java.lang.String newPartNumber, java.lang.String newPartAuxKey) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public java.sql.Timestamp getLastUpdate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLastUpdate(java.sql.Timestamp timestamp)
public java.lang.String getField5() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField5(java.lang.String string)
public java.lang.String getField4() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField4(java.lang.String string)
public void setField3(java.lang.String string)
public java.lang.Integer getField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField2(java.lang.Integer integer)
public java.lang.Integer getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField1(java.lang.Integer integer)
public java.lang.Integer getQuantityBought() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setQuantityBought(java.lang.Integer integer)
public java.lang.Long getGiftRegistryId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setGiftRegistryId(java.lang.Long long1)
public java.lang.String getPartAuxKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPartAuxKey(java.lang.String string)
public java.lang.Integer getQuantityRequested() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setQuantityRequested(java.lang.Integer integer)
public java.lang.String getPartNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPartNumber(java.lang.String string)
public void setInitKey_giftItemId(java.lang.Long newValue)
public java.lang.String defaultJNDIName()
protected void instantiateEJB() throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
protected boolean instantiateEJBByPrimaryKey() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.util.Collection findGiftItemsByGiftRegistryIdOrderByQuantityBought(java.lang.Long GiftRegistryId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Collection findGiftItemsByGiftRegistryIdAndPartNumberAndPartAuxKey(java.lang.Long GiftRegistryId, java.lang.String PartNumber, java.lang.String PartAuxKey) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Collection findGiftItemsByGiftRegistryIdAndPartNumberOrderByQuantityBought(java.lang.Long GiftRegistryId, java.lang.String PartNumber) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Collection findGiftItemsByGiftRegistryId(java.lang.Long GiftRegistryId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Collection findGiftItemsByGiftRegistryIdAndPartNumber(java.lang.Long GiftRegistryId, java.lang.String PartNumber) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Collection findGiftItemsByGiftRegistryIdAndPartNumberAndPartAuxKeyOrderByQuantityBought(java.lang.Long GiftRegistryId, java.lang.String PartNumber, java.lang.String PartAuxKey) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.lang.Long getOwner() throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
public java.lang.Long getGiftItemId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setGiftItemId(java.lang.Long long1)
public java.lang.String getLocation() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLocation(java.lang.String string)
public java.util.Collection findGiftItemsByGiftRegistryIdAndLocation(java.lang.Long GiftRegistryId, java.lang.String Location) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.sql.Timestamp getCreateTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCreateTime(java.sql.Timestamp timestamp)
public void setUserRelationship(java.lang.Integer relationship) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public java.lang.Integer getUserRelationship() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException