public class GiftRegistryEventTypeDataBean extends GiftRegistryEventTypeAccessBean implements SmartDataBean, InputDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
GiftRegistryEventTypeDataBean()
Generates an empty GiftRegistryEventTypeDataBean
|
GiftRegistryEventTypeDataBean(GiftRegistryEventTypeAccessBean object)
Populates this data bean given its access bean
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
GiftRegistryEventTypeDescriptionDataBean |
getDescription()
Get the description for this event type by returning the GiftRegistryEventTypeDescriptionDataBean
|
java.lang.Integer |
getEventTypeId()
Gets the event type ID
|
java.lang.String |
getEventTypeName()
Gets the event type name of the event
|
java.lang.String |
getField1()
Gets the gift registry event type field 1 value
|
java.lang.String |
getField2()
Gets the gift registry event type field 2 value
|
java.lang.String |
getField3()
Gets the gift registry event type field 3 value
|
TypedProperty |
getRequestProperties()
Returns the request properties of the data bean.
|
java.lang.Integer |
getStatus()
Gets the current status of the eventType
0: The gift registry is not active (that is, it is disabled).
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
void |
setCommandContext(CommandContext commandContext)
Sets the command context.
|
void |
setEventTypeId(java.lang.Integer newValue)
Sets the eventTypeId.
|
void |
setRequestProperties(TypedProperty param)
Sets the request properties within this bean.
|
findEventTypesByStatusOrderBySequence, findEventTypesByStoreIdAndStatusOrderBySequence, getEntity, getEventTypeDescription, getSequence, getStoreId, instantiateEntity, setEventTypeName, setField1, setField2, setField3, setInitKey_eventTypeId, setSequence, setStatus, setStoreId
public static final java.lang.String COPYRIGHT
public GiftRegistryEventTypeDataBean()
public GiftRegistryEventTypeDataBean(GiftRegistryEventTypeAccessBean object) throws ECSystemException
GiftRegistryEventTypeAccessBean
- ECSystemException
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
CommandContext
object.public void setCommandContext(CommandContext commandContext)
setCommandContext
in interface SmartDataBean
commandContext
- The command context..public void populate()
DataBeanManager.activate()
runs.
You must set the eventTypeId
using the setEventTypeId method before running
the populate()
method.populate
in interface SmartDataBean
java.lang.Exception
- if there is a problem populating the data bean with data.public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public void setRequestProperties(TypedProperty param)
setRequestProperties
in interface InputDataBean
requestProperties
- the set of properties passed to the JSP
page that invokes this data bean,java.lang.Exception
- if there is a problem when setting the request properties. This
particular method should not throw any exception because it just stores the request properties.public GiftRegistryEventTypeDescriptionDataBean getDescription()
public java.lang.Integer getEventTypeId()
getEventTypeId
in class GiftRegistryEventTypeAccessBean
public java.lang.String getField1()
getField1
in class GiftRegistryEventTypeAccessBean
public java.lang.String getField2()
getField2
in class GiftRegistryEventTypeAccessBean
public java.lang.String getField3()
getField3
in class GiftRegistryEventTypeAccessBean
public java.lang.String getEventTypeName()
getEventTypeName
in class GiftRegistryEventTypeAccessBean
public java.lang.Integer getStatus()
getStatus
in class GiftRegistryEventTypeAccessBean
public void setEventTypeId(java.lang.Integer newValue)
setEventTypeId
in class GiftRegistryEventTypeAccessBean
EventTypeId
- - event type ID