public class NotificationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NOTIFICATION_SKIN |
protected static Locale |
EMPTY_LOCALE |
protected IDigestDeliveryEvent |
m_digestEvent |
protected String |
m_frontEndURL |
protected DateFormat |
m_fullDateFormat |
protected String |
m_language |
protected Locale |
m_locale |
protected INotificationSourceEvent |
m_notEvent |
protected IThingID |
m_oldParentID |
protected String |
m_oldParentName |
protected String |
m_oldParentURL |
protected IThingID |
m_parentID |
protected String |
m_parentName |
protected String |
m_parentURL |
protected IPortalEvent |
m_portalEvent |
protected DateFormat |
m_shortDateFormat |
protected IThingID |
m_skinID |
protected String |
m_thingDescription |
protected IThingID |
m_thingID |
protected String |
m_thingName |
protected String |
m_thingType |
protected String |
m_thingURL |
protected String |
m_time |
protected String |
m_userName |
protected String |
m_userURL |
protected String |
m_webServer |
Constructor and Description |
---|
NotificationHelper() |
NotificationHelper(INotificationSourceEvent event,
Locale locale) |
public static final String DEFAULT_NOTIFICATION_SKIN
protected static final Locale EMPTY_LOCALE
protected DateFormat m_fullDateFormat
protected DateFormat m_shortDateFormat
protected String m_frontEndURL
protected String m_webServer
protected IThingID m_skinID
protected INotificationSourceEvent m_notEvent
protected IDigestDeliveryEvent m_digestEvent
protected IPortalEvent m_portalEvent
protected IThingID m_thingID
protected IThingID m_parentID
protected IThingID m_oldParentID
protected String m_thingType
protected String m_thingURL
protected String m_thingName
protected String m_thingDescription
protected String m_parentURL
protected String m_parentName
protected String m_oldParentURL
protected String m_oldParentName
protected String m_userName
protected String m_userURL
protected String m_time
protected Locale m_locale
protected String m_language
public NotificationHelper()
public NotificationHelper(INotificationSourceEvent event, Locale locale) throws PortalException
PortalException
public void init(INotificationSourceEvent event, Locale locale) throws PortalException
PortalException
public String getThingType() throws PortalException
PortalException
public String getThingURL() throws PortalException
PortalException
public String getThingName() throws PortalException
PortalException
public String getThingDescription() throws PortalException
PortalException
public String getParentURL() throws PortalException
PortalException
public String getParentName() throws PortalException
PortalException
public String getOldParentURL() throws PortalException
PortalException
public String getOldParentName() throws PortalException
PortalException
public String getUserName() throws PortalException
PortalException
public String getUserURL() throws PortalException
PortalException
public String getTime() throws PortalException
PortalException
public String getSystemTitle() throws PortalException
PortalException
public String getSkinProperty(String name) throws PortalException
PortalException
public IThingID getSkinID() throws PortalException
PortalException
public String getFrontEndURL() throws PortalException
PortalException
public String getWebServer() throws PortalException
PortalException
public DateFormat getFullDateFormat() throws PortalException
PortalException
public DateFormat getShortDateFormat() throws PortalException
PortalException
public String getLocalizedMessage(Class<? extends ResourceBundle> bundleClass, String key, Object[] args)
public int getDeliveryModes() throws PortalException
PortalException
public List<IPortalEvent> getSourceEvents()
public INotificationSourceEvent getNotificationSourceEvent()
public Locale getLocale()
public String getThingName(IThing thing) throws PortalException
PortalException
public String getThingDescription(IThing thing) throws PortalException
PortalException