Liferay 6.0.3

com.liferay.portlet.polls.model
Interface PollsQuestion

All Superinterfaces:
BaseModel<PollsQuestion>, Cloneable, Comparable<PollsQuestion>, PollsQuestionModel, Serializable
All Known Implementing Classes:
PollsQuestionImpl, PollsQuestionWrapper

public interface PollsQuestion
extends PollsQuestionModel

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

Customize PollsQuestionImpl and rerun the ServiceBuilder to generate the new methods.

See Also:
PollsQuestionModel, PollsQuestionImpl, PollsQuestionModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 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

List<PollsChoice> getChoices()
                             throws SystemException
Throws:
SystemException

getVotesCount

int getVotesCount()
                  throws SystemException
Throws:
SystemException

isExpired

boolean isExpired()

Liferay 6.0.3