|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.course.assessment.AssessmentNotificationsHandler
public class AssessmentNotificationsHandler
Description:
Calculates it the user has any assessment news for the notification system.
Currently this checks for new tests
Initial Date: 21-giu-2005
| Constructor Summary | |
|---|---|
AssessmentNotificationsHandler()
Don't use this! Always use the getInstance() method. |
|
| Method Summary | |
|---|---|
SubscriptionInfo |
createSubscriptionInfo(Subscriber subscriber,
java.util.Locale locale,
java.util.Date compareDate)
pre: the publisher of the subscriber param must be valid! |
java.lang.String |
createTitleInfo(Subscriber subscriber,
java.util.Locale locale)
get specific titleInfo for this kind of notification a generic approach won't work, so collect info with handlers. |
PublisherData |
getAssessmentPublisherData(ICourse course,
java.lang.String businessPath)
Return PublisherData instance to use for assessment
notification.PRE CONDITIONS course != null
|
static AssessmentNotificationsHandler |
getInstance()
|
void |
markPublisherNews(Identity ident,
java.lang.Long courseId)
Signal the NotificationsManagerImpl about assessment news
available for a course.PRE CONDITIONS courseId != null
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssessmentNotificationsHandler()
| Method Detail |
|---|
public static AssessmentNotificationsHandler getInstance()
public PublisherData getAssessmentPublisherData(ICourse course,
java.lang.String businessPath)
PublisherData instance to use for assessment
notification.course != null
course - the - business path
public void markPublisherNews(Identity ident,
java.lang.Long courseId)
NotificationsManagerImpl about assessment news
available for a course.courseId != null
courseId - the resourceable id of the course to signal news aboutident - the identity to ignore news for
public SubscriptionInfo createSubscriptionInfo(Subscriber subscriber,
java.util.Locale locale,
java.util.Date compareDate)
NotificationsHandler
createSubscriptionInfo in interface NotificationsHandlerorg.olat.notifications.NotificationsHandler#createSubscriptionInfo(org.olat.notifications.Subscriber,
java.util.Locale, java.util.Date)
public java.lang.String createTitleInfo(Subscriber subscriber,
java.util.Locale locale)
NotificationsHandler
createTitleInfo in interface NotificationsHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||