public class AdministrationMessage extends PortalMessage implements atg.portal.alert.AlertConstants, java.io.Serializable
This message bean extends the PortalMessage class for the purposes of adding properties common to all framework alerts messages.
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | CLASS_VERSION | 
ALERT_ADMIN_ID, ALERT_CHANNEL_COMPONENT_NAME, ALERT_CHANNEL_DISPLAY_NAME, ALERT_CHANNEL_VIEW, ALERT_CHANNELS, ALERT_COMMUNITY_LEADER_TARGET, ALERT_COMMUNITY_TARGET, ALERT_CONTENT_URL, ALERT_CREATION_DATE, ALERT_DELETE_FLAG, ALERT_DISPLAY_STRING, ALERT_EMAIL_TEMPLATE, ALERT_END_DATE, ALERT_EVENT_TYPE, ALERT_FRAMEWORK_ID, ALERT_GEAR_ALERT_ITEM_DESCRIPTOR, ALERT_GEAR_COMMUNITIES_TARGET, ALERT_GEAR_DEF_VIEW, ALERT_GEAR_ID, ALERT_GROUP_VIEW, ALERT_ITEM_DESCRIPTOR, ALERT_LOGIN, ALERT_MESSAGE_BEAN, ALERT_MESSAGE_TYPE, ALERT_NAME, ALERT_NO, ALERT_NOTIFICATION_PREFERENCE, ALERT_NOTIFY_PREFERENCES, ALERT_OPT_IN_OUT, ALERT_ORGANIZATION_TARGET, ALERT_ORIGINATES, ALERT_PROFILE_VIEW, ALERT_PROPERTY_NAMES, ALERT_RESOURCE_BUNDLE, ALERT_ROLE_TARGET, ALERT_SOURCE_ID, ALERT_SOURCE_TYPE, ALERT_START_DATE, ALERT_TARGET_ID, ALERT_TARGET_TYPE, ALERT_USER_TARGET, ALERT_USER_VIEW, ALERT_VALUE, ALERT_YES, ALERT_YES_LOCKED, ALERT_YES_OPENED, COMMUNITY_ID, COMMUNITY_TYPE, COMMUNITY_VIEW, EMAIL_CHANNEL, EVENT_TYPE, GEAR_ID, GEAR_VIEW, ORG_TYPE, ROLE_TYPE, USER_TYPE, WEB_CHANNEL, WIRELESS_CHANNEL| Constructor and Description | 
|---|
| AdministrationMessage() | 
| AdministrationMessage(java.lang.String pProfileId,
                     java.lang.String pMessageType) | 
| AdministrationMessage(java.lang.String pProfileId,
                     java.lang.String pMessageType,
                     java.util.Date pStartDate,
                     java.util.Date pEndDate,
                     java.util.Date pExpirationDate) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getProfileDisplayName()Get the profile display name | 
| java.lang.String | getProfileId()Get the profile item id | 
| void | postFormatMessage(java.util.Locale pLocale)This method should be called by any AlertHandler implementation after
 formatting and delivery of the alert message. | 
| void | preFormatMessage(java.util.Locale pLocale)Dynamically retrieve the CommunityName and GearName in a locale sensitive
 manner prior to the format and delivery of the alert message. | 
| void | setProfileDisplayName(java.lang.String pProfileDisplayName)Sets the profile display name | 
| void | setProfileId(java.lang.String pProfileId)Sets the profile item id | 
getCreationDate, getEndDate, getExpirationDate, getMessageType, getSourceId, getSourceType, getStartDate, setCreationDate, setEndDate, setExpirationDate, setMessageType, setSourceId, setSourceType, setStartDatepublic AdministrationMessage()
public AdministrationMessage(java.lang.String pProfileId,
                     java.lang.String pMessageType)
public AdministrationMessage(java.lang.String pProfileId,
                     java.lang.String pMessageType,
                     java.util.Date pStartDate,
                     java.util.Date pEndDate,
                     java.util.Date pExpirationDate)
public java.lang.String getProfileId()
public void setProfileId(java.lang.String pProfileId)
pProfileId - the repository id of the profilepublic java.lang.String getProfileDisplayName()
public void setProfileDisplayName(java.lang.String pProfileDisplayName)
pProfileDisplayName - the display name of the profilepublic void preFormatMessage(java.util.Locale pLocale)
                      throws java.lang.Exception
preFormatMessage in class PortalMessagepLocale - the Locale that the request to receive alerts came fromjava.lang.Exceptionpublic void postFormatMessage(java.util.Locale pLocale)
                       throws java.lang.Exception
postFormatMessage in class PortalMessagejava.lang.Exception