Liferay 6.2-ce-ga5

com.liferay.portlet.polls.model
Interface PollsQuestion

All Superinterfaces:
AuditedModel, BaseModel<PollsQuestion>, ClassedModel, Cloneable, Comparable<PollsQuestion>, GroupedModel, PersistedModel, PollsQuestionModel, Serializable, StagedGroupedModel, StagedModel
All Known Implementing Classes:
PollsQuestionBaseImpl, PollsQuestionImpl, PollsQuestionWrapper

@ProviderType
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()
           
 List<PollsVote> getVotes()
           
 List<PollsVote> getVotes(int start, int end)
           
 int getVotesCount()
           
 boolean isExpired()
           
 boolean isExpired(ServiceContext serviceContext, Date defaultCreateDate)
           
 
Methods inherited from interface com.liferay.portlet.polls.model.PollsQuestionModel
clone, compareTo, getAvailableLanguageIds, getCompanyId, getCreateDate, getDefaultLanguageId, 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, prepareLocalizedFieldsForImport, setCachedModel, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.StagedModel
getStagedModelType
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

getChoices

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

getVotes

List<PollsVote> getVotes()
                         throws SystemException
Throws:
SystemException

getVotes

List<PollsVote> getVotes(int start,
                         int end)
                         throws SystemException
Throws:
SystemException

getVotesCount

int getVotesCount()
                  throws SystemException
Throws:
SystemException

isExpired

boolean isExpired()

isExpired

boolean isExpired(ServiceContext serviceContext,
                  Date defaultCreateDate)

Liferay 6.2-ce-ga5