public class GiftRegistryAnnouncementTemplateDataBean extends GiftRegistryAnnouncementTemplateAccessBean implements SmartDataBean, InputDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
emptyString
Constructor and Description |
---|
GiftRegistryAnnouncementTemplateDataBean()
Generates an empty GiftRegistryAnnouncementTemplateDataBean
|
GiftRegistryAnnouncementTemplateDataBean(GiftRegistryAnnouncementTemplateAccessBean object)
Creates this data bean based on its parent access bean
|
Modifier and Type | Method and Description |
---|---|
CommandContext |
getCommandContext()
Gets the command context set within this bean.
|
java.lang.Boolean |
getDefaultTemplate()
Returns true if this is the default template for the given eventType
|
java.lang.String |
getDescription()
Gets the description of this announcement template
|
java.lang.Integer |
getEventTypeId()
Returns the eventTypeId for which this template is applicable.
|
java.lang.String |
getField1()
Gets an announcement template field1 customizable value
|
java.lang.String |
getField2()
Gets the announcement template field2 customizable value
|
java.lang.String |
getField3()
Gets the announcement template field3 customizable value
|
TypedProperty |
getRequestProperties()
Returns the request properties of the data bean.
|
java.lang.Integer |
getTemplateId()
Gets the announcement template ID
|
java.lang.String |
getTemplateName()
Gets a corresponding name for this template
|
java.lang.String |
getThumbnailPath()
Gets a relative path to an image representing what this thumbnail looks like
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
void |
setCommandContext(CommandContext commandContext)
Sets the command context.
|
void |
setRequestProperties(TypedProperty param)
Set the requestProperties associated
with the data bean.
|
void |
setTemplateId(java.lang.Integer integer1)
Sets the bean's announcement template ID.
|
findAnnouncementTemplateByEventTypeId, findAnnouncementTemplateByTemplateId, getEntity, getPath, instantiateEntity, setDefaultTemplate, setDescription, setEventTypeId, setField1, setField2, setField3, setInitKey_templateId, setPath, setTemplateName, setThumbnailPath
public static final java.lang.String COPYRIGHT
public GiftRegistryAnnouncementTemplateDataBean()
public GiftRegistryAnnouncementTemplateDataBean(GiftRegistryAnnouncementTemplateAccessBean object) throws ECSystemException
GiftRegistryAnnouncementTemplateAccessBean
- ECSystemException
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
CommandContext
object.public void setCommandContext(CommandContext commandContext)
setCommandContext
in interface SmartDataBean
commandContext
- The command context..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 void populate()
DataBeanManager.activate()
runs.
You must set the templateId
using the setTemplateId method before running the populate()
method.populate
in interface SmartDataBean
java.lang.Exception
- if there is a problem populating the data bean.setTemplateId
public java.lang.Integer getTemplateId()
getTemplateId
in class GiftRegistryAnnouncementTemplateAccessBean
public void setTemplateId(java.lang.Integer integer1)
setTemplateId
in class GiftRegistryAnnouncementTemplateAccessBean
TemplateId
- public java.lang.Boolean getDefaultTemplate()
getDefaultTemplate
in class GiftRegistryAnnouncementTemplateAccessBean
public java.lang.String getDescription()
getDescription
in class GiftRegistryAnnouncementTemplateAccessBean
public java.lang.Integer getEventTypeId()
getEventTypeId
in class GiftRegistryAnnouncementTemplateAccessBean
public java.lang.String getTemplateName()
getTemplateName
in class GiftRegistryAnnouncementTemplateAccessBean
public java.lang.String getThumbnailPath()
getThumbnailPath
in class GiftRegistryAnnouncementTemplateAccessBean
public java.lang.String getField1()
getField1
in class GiftRegistryAnnouncementTemplateAccessBean
public java.lang.String getField2()
getField2
in class GiftRegistryAnnouncementTemplateAccessBean
public java.lang.String getField3()
getField3
in class GiftRegistryAnnouncementTemplateAccessBean