com.liferay.portlet.polls.util
Class PollsUtil
java.lang.Object
com.liferay.portlet.polls.util.PollsUtil
public class PollsUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan, Shepherd Ching
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.portlet.ActionRequest actionRequest,
long questionId)
|
static void |
saveVote(javax.servlet.http.HttpServletRequest request,
long questionId)
|
static void |
saveVote(javax.portlet.RenderRequest renderRequest,
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 com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasVoted
public static boolean hasVoted(javax.servlet.http.HttpServletRequest request,
long questionId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
saveVote
public static void saveVote(javax.portlet.ActionRequest actionRequest,
long questionId)
saveVote
public static void saveVote(javax.portlet.RenderRequest renderRequest,
long questionId)
saveVote
public static void saveVote(javax.servlet.http.HttpServletRequest request,
long questionId)