public class CompleteOnRedirectAction
extends org.jasig.portlet.notice.NotificationAction
| Constructor and Description |
|---|
CompleteOnRedirectAction() |
CompleteOnRedirectAction(java.lang.String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
When invoke is called, a configured notification state is set for the entry if it has not already been set.
|
void |
invoke(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public CompleteOnRedirectAction()
public CompleteOnRedirectAction(java.lang.String label)
public void invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
throws java.io.IOException
JpaNotificationService and CacheNotificationService are used here to add the entry state and clear
the cache for the user. This class is not managed by Spring, so these objects must be obtained using the
Spring context that SpringContext provides.invoke in class org.jasig.portlet.notice.NotificationActionreq - res - java.io.IOExceptionpublic void invoke(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
invoke in class org.jasig.portlet.notice.NotificationAction