public class CompleteOnRedirectAction extends NotificationAction
| Constructor and Description |
|---|
CompleteOnRedirectAction() |
CompleteOnRedirectAction(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.
|
public CompleteOnRedirectAction()
public CompleteOnRedirectAction(String label)
public void invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
throws 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 NotificationActionreq - res - IOExceptionCopyright © 2016 Jasig. All Rights Reserved.