|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.notification.builder.AbstractUserNotificationBuilder
public abstract class AbstractUserNotificationBuilder
Constructor Summary | |
---|---|
protected |
AbstractUserNotificationBuilder()
Default constructor |
protected |
AbstractUserNotificationBuilder(String title,
String content)
Default constructor |
Method Summary | |
---|---|
UserNotification |
build()
Builds the notification data container |
protected UserNotification |
createNotification()
Create the user notification container |
protected abstract NotifAction |
getAction()
Gets the type of action on a resource |
protected ResourceLocator |
getBundle()
Gets the bundle |
protected ResourceLocator |
getBundle(String language)
Gets the bundle |
protected abstract String |
getComponentInstanceId()
Gets the component instance id |
protected String |
getContent()
|
protected Collection<String> |
getExternalAddressesToNotify()
|
protected Collection<String> |
getGroupIdsToNotify()
|
protected NotifMessageType |
getMessageType()
Gets the type of notification message |
protected String |
getMultilangPropertyFile()
Gets the resource locator path |
protected NotificationMetaData |
getNotificationMetaData()
Gets the notification meta data container |
protected abstract String |
getSender()
Gets the sender (the user id usually) |
protected String |
getTitle()
|
protected Collection<String> |
getUserIdsToExcludeFromNotifying()
Collection of identifiers of users that don't have to be notified ... |
protected abstract Collection<String> |
getUserIdsToNotify()
|
protected void |
initialize()
Performs common initializations |
protected boolean |
isSendImmediatly()
Forces the sending immediatly if true |
protected abstract void |
performBuild()
Builds the notification data container |
protected void |
performUsersToBeNotified()
|
protected void |
stop()
Stopping the treatment |
protected boolean |
stopWhenNoUserToNotify()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractUserNotificationBuilder()
protected AbstractUserNotificationBuilder(String title, String content)
title
- content
- Method Detail |
---|
protected void initialize()
protected UserNotification createNotification()
protected abstract NotifAction getAction()
protected abstract String getComponentInstanceId()
protected abstract String getSender()
protected final NotificationMetaData getNotificationMetaData()
protected NotifMessageType getMessageType()
protected boolean isSendImmediatly()
public final UserNotification build()
build
in interface UserNotificationBuilder
protected abstract Collection<String> getUserIdsToNotify()
protected Collection<String> getUserIdsToExcludeFromNotifying()
protected Collection<String> getGroupIdsToNotify()
protected Collection<String> getExternalAddressesToNotify()
protected final void performUsersToBeNotified()
protected boolean stopWhenNoUserToNotify()
protected abstract void performBuild()
protected String getMultilangPropertyFile()
protected final ResourceLocator getBundle()
protected final ResourceLocator getBundle(String language)
protected String getTitle()
protected String getContent()
protected void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |