Liferay 6.0.5

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

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 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.

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.5