@Controller @RequestMapping(value="VIEW") public class NotificationLifecycleController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DO_EVENTS_PREFERENCE |
static String |
NOTIFICATION_NAMESPACE |
static String |
NOTIFICATION_QUERY_LOCAL_NAME |
static QName |
NOTIFICATION_QUERY_QNAME |
static String |
NOTIFICATION_QUERY_QNAME_STRING |
static String |
NOTIFICATION_RESULT_LOCAL_NAME |
static QName |
NOTIFICATION_RESULT_QNAME |
static String |
NOTIFICATION_RESULT_QNAME_STRING |
| Constructor and Description |
|---|
NotificationLifecycleController() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectNotifications(javax.portlet.EventRequest req,
javax.portlet.EventResponse res) |
org.springframework.web.portlet.ModelAndView |
getNotifications(javax.portlet.ResourceRequest req,
String doRefresh) |
void |
invokeNotificationService(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
String doRefresh) |
void |
invokeUserAction(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
String notificationId,
String actionId) |
public static final String DO_EVENTS_PREFERENCE
public static final String NOTIFICATION_NAMESPACE
public static final String NOTIFICATION_QUERY_LOCAL_NAME
public static final QName NOTIFICATION_QUERY_QNAME
public static final String NOTIFICATION_QUERY_QNAME_STRING
public static final String NOTIFICATION_RESULT_LOCAL_NAME
public static final QName NOTIFICATION_RESULT_QNAME
public static final String NOTIFICATION_RESULT_QNAME_STRING
@ResourceMapping(value="GET-NOTIFICATIONS-UNCATEGORIZED")
public org.springframework.web.portlet.ModelAndView getNotifications(javax.portlet.ResourceRequest req,
@RequestParam(value="refresh",required=false)
String doRefresh)
throws IOException
IOException@ActionMapping(params="action=invokeNotificationService")
public void invokeNotificationService(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
@RequestParam(value="refresh",required=false)
String doRefresh)
throws IOException
IOException@ActionMapping
public void invokeUserAction(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res,
@RequestParam(value="notificationId")
String notificationId,
@RequestParam(value="actionId")
String actionId)
@EventMapping(value="{https://source.jasig.org/schemas/portlet/notification}NotificationResult")
public void collectNotifications(javax.portlet.EventRequest req,
javax.portlet.EventResponse res)
Copyright © 2013 Jasig. All Rights Reserved.