Liferay 6.2-ce-ga5

com.liferay.portlet.polls.util
Class PollsUtil

java.lang.Object
  extended by com.liferay.portlet.polls.util.PollsUtil

public class PollsUtil
extends Object


Constructor Summary
PollsUtil()
           
 
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
 

Constructor Detail

PollsUtil

public PollsUtil()
Method Detail

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)

Liferay 6.2-ce-ga5