|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.notification.builder.AbstractUserNotificationBuilder
com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<T>
public abstract class AbstractResourceUserNotificationBuilder<T>
| Constructor Summary | |
|---|---|
AbstractResourceUserNotificationBuilder(T resource)
Default constructor |
|
AbstractResourceUserNotificationBuilder(T resource,
String title,
String content)
Default constructor |
|
| Method Summary | |
|---|---|
protected T |
getResource()
|
protected String |
getResourceURL(T resource)
Gets the URL of the resource |
protected void |
initialize()
Performs common initializations from a given resource |
protected NotificationResourceData |
initializeNotificationResourceData()
Initializes from notification meta data already filled the container of notification resource data |
protected boolean |
isSendImmediatly()
Forces the sending immediatly if true |
protected void |
performBuild()
Builds the notification data container |
protected abstract void |
performBuild(T resource)
Builds the notification data container |
protected void |
performNotificationResource(T resource)
Handling notification resource data (Used by delayed notifications for example) |
protected abstract void |
performNotificationResource(T resource,
NotificationResourceData notificationResourceData)
Builds the notification resource data container. |
protected void |
setResource(T resource)
|
| Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder |
|---|
build, createNotification, getAction, getBundle, getBundle, getComponentInstanceId, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getMultilangPropertyFile, getNotificationMetaData, getSender, getTitle, getUserIdsToExcludeFromNotifying, getUserIdsToNotify, performUsersToBeNotified, stop, stopWhenNoUserToNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractResourceUserNotificationBuilder(T resource,
String title,
String content)
resource - title - content - public AbstractResourceUserNotificationBuilder(T resource)
resource - | Method Detail |
|---|
protected void initialize()
initialize in class AbstractUserNotificationBuilderprotected final void performBuild()
performBuild in class AbstractUserNotificationBuilderprotected abstract void performBuild(T resource)
protected void performNotificationResource(T resource)
resource - protected NotificationResourceData initializeNotificationResourceData()
protected abstract void performNotificationResource(T resource,
NotificationResourceData notificationResourceData)
resource - notificationResourceData - protected String getResourceURL(T resource)
protected boolean isSendImmediatly()
AbstractUserNotificationBuilder
isSendImmediatly in class AbstractUserNotificationBuilderprotected final T getResource()
protected final void setResource(T resource)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||