Liferay 6.1.2-ce-ga3

com.liferay.portlet.polls.model
Interface PollsQuestion

All Superinterfaces:
AuditedModel, BaseModel<PollsQuestion>, ClassedModel, Cloneable, Comparable<PollsQuestion>, GroupedModel, PersistedModel, PollsQuestionModel, Serializable
All Known Implementing Classes:
PollsQuestionBaseImpl, PollsQuestionImpl, 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.

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

Method Summary
 List<PollsChoice> getChoices()
           
 int getVotesCount()
           
 boolean isExpired()
           
 boolean isExpired(ServiceContext serviceContext, 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, toUnescapedModel, 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

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

getVotesCount

int getVotesCount()
                  throws SystemException
Throws:
SystemException

isExpired

boolean isExpired()

isExpired

boolean isExpired(ServiceContext serviceContext,
                  Date defaultCreateDate)

Liferay 6.1.2-ce-ga3