public class GiftRegistryAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements com.ibm.commerce.component.giftregistry.objects.GiftRegistryAccessBeanData
Constructor and Description |
---|
GiftRegistryAccessBean()
GiftRegistryAccessBean
|
GiftRegistryAccessBean(javax.ejb.EJBObject o)
GiftRegistryAccessBean
|
GiftRegistryAccessBean(java.lang.Integer newEventTypeId, java.lang.Integer newGuestAccessOption, java.lang.Long newPreEventAddressId, java.lang.Long newPostEventAddressId, java.lang.Integer newStatus, java.lang.Integer newAcceptGiftCard, java.lang.Integer newStoreId, java.lang.String newLocation, java.lang.Integer newOptForEmail, java.lang.Integer newType, java.sql.Timestamp newCreatedTime, java.sql.Timestamp newLastUpdate, java.sql.Date newEventDate, java.lang.String newExternalId)
ejbCreate method for a CMP entity bean with all non-null fields.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper()
commitCopyHelper
|
java.lang.String | defaultJNDIName()
defaultJNDIName
|
java.util.Collection | findGiftRegistryByAddressId(java.lang.Long AddressId)
Returns all Gift Registries for which a specific addressId belongs
|
java.util.Collection | findGiftRegistryByEventTypeId(java.lang.Integer EventTypeId)
Finds all gift registries for a particular event
|
GiftRegistryAccessBean | findGiftRegistryByExternalId(java.lang.String ExternalId)
Finds a gift registry by its external unique key.
|
GiftRegistryAccessBean | findGiftRegistryByExternalIdAndGuestAccessKey(java.lang.String ExternalId, java.lang.String AccessKey)
Finds a gift registry by its unique external key, but only if the given GuestAccessKey is related to it.
|
GiftRegistryAccessBean | findGiftRegistryByExternalIdAndRegistrantAccessKey(java.lang.String ExternalId, java.lang.String AccessKey)
Find a gift registry by an external unique Registrant AccessKey
|
GiftRegistryAccessBean | findGiftRegistryByExternalIdAndStoreId(java.lang.String ExternalId, java.lang.Integer StoreId)
Finds a gift registry by its owning store and external Id
|
java.util.Collection | findGiftRegistryByExternalIds(java.lang.String[] ExternalIds)
Finds all Gift Registries by an array of ExternalIds.
|
java.util.Collection | findGiftRegistryByGiftRegistryIds(java.lang.Long[] GiftRegistryIds)
Finds all Gift Registries by an array of GiftRegistryIds.
|
java.util.Collection | findGiftRegistryByLocationAndStatusOrderByEventDate(java.lang.String Location, java.lang.Integer Status)
Finds all gift registries by their created location and status.
|
boolean | fulfills(java.lang.Long member, java.lang.String relationship)
fulfills
|
java.lang.Integer | getAcceptGiftCard()
Gets the value of the accept gift card option
|
GiftRegistryAnnouncementHistoryAccessBean[] | getAnnouncementHistory()
Returns an array of Announcement History for the gift registry
|
java.sql.Timestamp | getCreatedTime()
Gets gift registry creation time
|
java.lang.String | getDescription()
Gets gift registry description
|
java.sql.Date | getEventDate()
Gets gift registry event date
|
java.lang.String | getEventTypeDescription()
Gets gift registry event type description
|
java.lang.String | getEventTypeDescriptionInLanguage(java.lang.Integer language_id)
Returns the description of the event
|
java.lang.Integer | getEventTypeId()
Gets gift registry event type ID
|
java.lang.String | getExternalId()
Gets gift registry external ID
|
java.lang.Integer | getField1()
Gets gift registry customizable field 1
|
java.lang.Integer | getField2()
Gets gift registry customizable field 2
|
java.lang.String | getField3()
Gets gift registry customizable field 3
|
java.lang.String | getField4()
Gets gift registry customizable field 4
|
java.lang.String | getField5()
Gets gift registry customizable field 5
|
java.lang.Long | getGiftRegistryId()
Gets gift registry ID
|
GiftRegistryItemAccessBean[] | getGiftRegistryItems()
Returns an array of items in the gift registry
|
GiftRegistryRegistrantAccessBean[] | getGiftRegistryRegistrants()
Returns an array of registrants belonging to this gift registry
|
java.lang.String | getGuestAccessKey()
Gets gift registry guest access key
|
java.lang.Integer | getGuestAccessOption()
Gets gift registry guest access option value
|
java.sql.Timestamp | getLastUpdate()
Gets gift registry last update timestamp
|
java.lang.String | getLocation()
Gets gift registry location
|
java.lang.String | getMessageForGuest()
Gets gift registry message for guest
|
java.lang.String | getName()
Gets name
|
java.lang.Integer | getOptForEmail()
Gets the value of the option for email
|
java.lang.Long | getOwner()
getOwner
|
java.lang.Long | getPostEventAddressId()
Gets post-event shipping address ID
|
java.lang.Long | getPreEventAddressId()
Gets pre-event shipping address ID
|
java.lang.String | getRegistrantAccessKey()
Gets registrant access key
|
java.lang.Integer | getStatus()
Gets gift registry status
|
java.lang.Integer | getStoreId()
Gets store ID
|
java.lang.Integer | getType()
Gets gift registry type
|
java.lang.Integer | getUserRelationship()
getUserRelationship
|
protected void | instantiateEJB()
instantiateEJB
|
protected boolean | instantiateEJBByPrimaryKey()
instantiateEJBByPrimaryKey
|
void | refreshCopyHelper()
refreshCopyHelper
|
void | setAcceptGiftCard(java.lang.Integer integer)
Sets the value for the accept gift card option
|
void | setCreatedTime(java.sql.Timestamp timestamp)
Sets the creation time of the gift registry
|
void | setDescription(java.lang.String string)
Sets the description of the gift registry
|
void | setEventDate(java.sql.Date date)
Sets the event date of the gift registry
|
void | setEventTypeDescription(java.lang.String string)
Sets the event type description of the gift registry
|
void | setEventTypeId(java.lang.Integer integer)
Sets the event type ID of the gift registry
|
void | setExternalId(java.lang.String string)
Sets the external ID of the gift registry
|
void | setField1(java.lang.Integer integer)
Sets the customizable field 1 of the gift registry
|
void | setField2(java.lang.Integer integer)
Sets the customizable field 2 of the gift registry
|
void | setField3(java.lang.String string)
Sets the customizable field 3 of the gift registry
|
void | setField4(java.lang.String string)
Sets the customizable field 4 of the gift registry
|
void | setField5(java.lang.String string)
Sets the customizable field 5 of the gift registry
|
void | setGiftRegistryId(java.lang.Long long1)
Sets the gift registry ID of the gift registry
|
void | setGuestAccessKey(java.lang.String string)
Sets the guest access key of the gift registry
|
void | setGuestAccessOption(java.lang.Integer integer)
Sets the value of guest access option of the gift registry
|
void | setInitKey_giftRegistryId(java.lang.Long newValue)
setInitKey_giftRegistryId
|
void | setLastUpdate(java.sql.Timestamp timestamp)
Sets the last updated timestamp of the gift registry
|
void | setLocation(java.lang.String string)
Sets the purchase location of the gift registry
|
void | setMessageForGuest(java.lang.String string)
Sets the guest message of the gift registry
|
void | setName(java.lang.String string)
Sets name
|
void | setOptForEmail(java.lang.Integer integer)
Sets the value of the option for email
|
void | setPostEventAddressId(java.lang.Long long1)
Sets the post-event address ID
|
void | setPreEventAddressId(java.lang.Long long1)
Sets the pre-event address ID
|
void | setRegistrantAccessKey(java.lang.String string)
Sets the registrant access key
|
void | setStatus(java.lang.Integer integer)
Sets the status of the gift registry
|
void | setStoreId(java.lang.Integer integer)
Sets store ID
|
void | setType(java.lang.Integer integer)
Sets the gift registry type
|
void | setUserRelationship(java.lang.Integer relationship)
setUserRelationship
|
public GiftRegistryAccessBean()
public GiftRegistryAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public GiftRegistryAccessBean(java.lang.Integer newEventTypeId, java.lang.Integer newGuestAccessOption, java.lang.Long newPreEventAddressId, java.lang.Long newPostEventAddressId, java.lang.Integer newStatus, java.lang.Integer newAcceptGiftCard, java.lang.Integer newStoreId, java.lang.String newLocation, java.lang.Integer newOptForEmail, java.lang.Integer newType, java.sql.Timestamp newCreatedTime, java.sql.Timestamp newLastUpdate, java.sql.Date newEventDate, java.lang.String newExternalId) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
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.String getLocation() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setLocation(java.lang.String string)
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 getOptForEmail() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOptForEmail(java.lang.Integer integer)
public java.sql.Date getEventDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setEventDate(java.sql.Date date)
public java.lang.Long getPostEventAddressId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPostEventAddressId(java.lang.Long long1)
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.Integer getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setType(java.lang.Integer integer)
public java.lang.String getExternalId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setExternalId(java.lang.String string)
public java.lang.Integer getEventTypeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setEventTypeId(java.lang.Integer integer)
public java.sql.Timestamp getCreatedTime() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setCreatedTime(java.sql.Timestamp timestamp)
public java.lang.String getRegistrantAccessKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setRegistrantAccessKey(java.lang.String string)
public java.lang.Long getPreEventAddressId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPreEventAddressId(java.lang.Long long1)
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 getMessageForGuest() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setMessageForGuest(java.lang.String string)
public java.lang.Integer getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStatus(java.lang.Integer integer)
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDescription(java.lang.String string)
public java.lang.String getGuestAccessKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setGuestAccessKey(java.lang.String string)
public java.lang.Integer getStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStoreId(java.lang.Integer integer)
public java.lang.Integer getAcceptGiftCard() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setAcceptGiftCard(java.lang.Integer integer)
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 java.lang.Integer getGuestAccessOption() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setGuestAccessOption(java.lang.Integer integer)
public java.lang.String getField3() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setField3(java.lang.String string)
public java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setName(java.lang.String string)
public void setInitKey_giftRegistryId(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 GiftRegistryAccessBean findGiftRegistryByExternalId(java.lang.String ExternalId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Collection findGiftRegistryByEventTypeId(java.lang.Integer EventTypeId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public GiftRegistryAccessBean findGiftRegistryByExternalIdAndRegistrantAccessKey(java.lang.String ExternalId, java.lang.String AccessKey) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public GiftRegistryAccessBean findGiftRegistryByExternalIdAndGuestAccessKey(java.lang.String ExternalId, java.lang.String AccessKey) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Collection findGiftRegistryByLocationAndStatusOrderByEventDate(java.lang.String Location, java.lang.Integer Status) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public GiftRegistryAnnouncementHistoryAccessBean[] getAnnouncementHistory() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public GiftRegistryItemAccessBean[] getGiftRegistryItems() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public GiftRegistryRegistrantAccessBean[] getGiftRegistryRegistrants() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public java.util.Collection findGiftRegistryByExternalIds(java.lang.String[] ExternalIds) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public GiftRegistryAccessBean findGiftRegistryByExternalIdAndStoreId(java.lang.String ExternalId, java.lang.Integer StoreId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.util.Collection findGiftRegistryByAddressId(java.lang.Long AddressId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public java.lang.String getEventTypeDescriptionInLanguage(java.lang.Integer language_id) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public java.util.Collection findGiftRegistryByGiftRegistryIds(java.lang.Long[] GiftRegistryIds) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
public void setUserRelationship(java.lang.Integer relationship) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, 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 getOwner() throws javax.naming.NamingException, javax.ejb.FinderException, java.lang.Exception, java.rmi.RemoteException
public java.lang.Integer getUserRelationship() throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public void setEventTypeDescription(java.lang.String string)
public java.lang.String getEventTypeDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException