| |
|
| org.sakaiproject.util.SiteEmailNotification org.sakaiproject.announcement.impl.SiteEmailNotificationAnnc
SiteEmailNotificationAnnc | public class SiteEmailNotificationAnnc extends SiteEmailNotification implements ScheduledInvocationCommand(Code) | |
SiteEmailNotificationAnnc fills the notification message and headers with details from the announcement message that triggered the notification event.
|
SiteEmailNotificationAnnc | public SiteEmailNotificationAnnc()(Code) | | Construct.
|
SiteEmailNotificationAnnc | public SiteEmailNotificationAnnc(String siteId)(Code) | | Construct.
|
addSpecialRecipients | protected void addSpecialRecipients(List users, Reference ref)(Code) | | Add to the user list any other users who should be notified about this ref's change.
Parameters: users - The user list, already populated based on site visit and resource ability. Parameters: ref - The entity reference. |
enableSecurityAdvisor | protected void enableSecurityAdvisor()(Code) | | Establish a security advisor to allow the "embedded" azg work to occur
with no need for additional security permissions.
|
execute | public void execute(String opaqueContext)(Code) | | Implementation of command pattern. Will be called by ScheduledInvocationManager
for delayed announcement notifications
Parameters: opaqueContext - reference (context) for message |
getResourceAbility | protected String getResourceAbility()(Code) | | |
getSubject | protected String getSubject(Event event)(Code) | | Format the announcement notification subject line.
Parameters: event - The event that matched criteria to cause the notification. the announcement notification subject line. |
setComponentManager | public void setComponentManager(ComponentManager componentManager)(Code) | | Inject ComponentManager
|
|
|
|