com.liferay.portlet.polls.model
Interface PollsQuestion

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

public interface PollsQuestion
extends PollsQuestionModel, PersistedModel

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

Author:
Brian Wing Shun Chan
See Also:
PollsQuestionModel, PollsQuestionImpl, PollsQuestionModelImpl
Generated:

Method Summary
 java.util.List<PollsChoice> getChoices()
           
 int getVotesCount()
           
 boolean isExpired()
           
 boolean isExpired(ServiceContext serviceContext, java.util.Date defaultCreateDate)
           
 
Methods inherited from interface com.liferay.portlet.polls.model.PollsQuestionModel
clone, compareTo, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getExpirationDate, getGroupId, getLastVoteDate, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getQuestionId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, hashCode, isCachedModel, isEscapedModel, isNew, prepareLocalizedFieldsForImport, setCachedModel, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setLastVoteDate, setModifiedDate, setNew, setPrimaryKey, setPrimaryKeyObj, setQuestionId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toString, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

getChoices

java.util.List<PollsChoice> getChoices()
                                       throws SystemException
Throws:
SystemException

getVotesCount

int getVotesCount()
                  throws SystemException
Throws:
SystemException

isExpired

boolean isExpired()

isExpired

boolean isExpired(ServiceContext serviceContext,
                  java.util.Date defaultCreateDate)