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(ActionRequest actionRequest,
long questionId)
|
static void |
saveVote(javax.servlet.http.HttpServletRequest request,
long questionId)
|
static void |
saveVote(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 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(ActionRequest actionRequest,
long questionId)
saveVote
public static void saveVote(RenderRequest renderRequest,
long questionId)
saveVote
public static void saveVote(javax.servlet.http.HttpServletRequest request,
long questionId)