com.liferay.portlet.polls.util
Class PollsUtil
java.lang.Object
com.liferay.portlet.polls.util.PollsUtil
public class PollsUtil
- extends Object
Method Summary |
static org.jfree.data.category.CategoryDataset |
getVotesDataset(long questionId)
|
static boolean |
hasVoted(javax.servlet.http.HttpServletRequest request,
long questionId)
|
static void |
saveVote(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long questionId)
|
static void |
saveVote(PortletRequest portletRequest,
PortletResponse portletResponse,
long questionId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollsUtil
public PollsUtil()
getVotesDataset
public static org.jfree.data.category.CategoryDataset getVotesDataset(long questionId)
throws SystemException
- Throws:
SystemException
hasVoted
public static boolean hasVoted(javax.servlet.http.HttpServletRequest request,
long questionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
saveVote
public static void saveVote(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long questionId)
saveVote
public static void saveVote(PortletRequest portletRequest,
PortletResponse portletResponse,
long questionId)