com.liferay.portlet.polls.model
Interface PollsQuestion

All Superinterfaces:
BaseModel<PollsQuestion>, java.lang.Cloneable, java.lang.Comparable<PollsQuestion>, PollsQuestionModel, java.io.Serializable
All Known Implementing Classes:
PollsQuestionWrapper

public interface PollsQuestion
extends PollsQuestionModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the PollsQuestion table in the database.

Customize com.liferay.portlet.polls.model.impl.PollsQuestionImpl and rerun the ServiceBuilder to generate the new methods.

Author:
Brian Wing Shun Chan
See Also:
PollsQuestionModel, com.liferay.portlet.polls.model.impl.PollsQuestionImpl, com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
Generated:

Method Summary
 java.util.List<PollsChoice> getChoices()
           
 int getVotesCount()
           
 boolean isExpired()
           
 
Methods inherited from interface com.liferay.portlet.polls.model.PollsQuestionModel
clone, compareTo, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionMap, getExpandoBridge, getExpirationDate, getGroupId, getLastVoteDate, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getQuestionId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCompanyId, setCreateDate, setDescription, setDescription, setDescriptionMap, setEscapedModel, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setLastVoteDate, setModifiedDate, setNew, setPrimaryKey, setQuestionId, setTitle, setTitle, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, toEscapedModel, toString, toXmlString
 

Method Detail

getChoices

java.util.List<PollsChoice> getChoices()
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getVotesCount

int getVotesCount()
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

isExpired

boolean isExpired()