public class FavoriteAction extends NotificationAction
| Modifier and Type | Field and Description |
|---|---|
static FavoriteAction |
FAVORITE
This INSTANCE is only for convenience -- FAVORITE and UNFAVORITE not singletons.
|
| Constructor and Description |
|---|
FavoriteAction()
Must remain public, no-arg for de-serialization.
|
FavoriteAction(java.lang.String label) |
| Modifier and Type | Method and Description |
|---|---|
static FavoriteAction |
createFavoriteInstance() |
static FavoriteAction |
createUnfavoriteInstance() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
Invoking a FavoriteAction toggles it.
|
void |
removeFavoriteNotices(javax.portlet.PortletRequest req,
java.util.Set<java.lang.String> idsToRemove) |
public static final FavoriteAction FAVORITE
public FavoriteAction()
public FavoriteAction(java.lang.String label)
public static final FavoriteAction createFavoriteInstance()
public static final FavoriteAction createUnfavoriteInstance()
public void invoke(javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
throws java.io.IOException
invoke in class NotificationActionjava.io.IOExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void removeFavoriteNotices(javax.portlet.PortletRequest req,
java.util.Set<java.lang.String> idsToRemove)
Copyright © 2018 Jasig. All Rights Reserved.