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

The model interface for the PollsQuestion service. Represents a row in the "PollsQuestion" database table, with each column mapped to a property of this class.

Never modify this interface directly. Add methods to com.liferay.portlet.polls.model.impl.PollsQuestionImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

Never reference this interface directly. All methods that expect a polls question model instance should use the PollsQuestion interface instead.

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 SystemException
Throws:
SystemException

getVotesCount

int getVotesCount()
                  throws SystemException
Throws:
SystemException

isExpired

boolean isExpired()