Liferay 6.0.5

com.liferay.portlet.polls.model.impl
Class PollsQuestionImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<PollsQuestion>
      extended by com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
          extended by com.liferay.portlet.polls.model.impl.PollsQuestionImpl
All Implemented Interfaces:
BaseModel<PollsQuestion>, PollsQuestion, PollsQuestionModel, Serializable, Cloneable, Comparable<PollsQuestion>

public class PollsQuestionImpl
extends PollsQuestionModelImpl
implements PollsQuestion

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
PollsQuestionImpl()
           
 
Method Summary
 List<PollsChoice> getChoices()
           
 int getVotesCount()
           
 boolean isExpired()
           
 
Methods inherited from class com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
clone, compareTo, equals, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionMap, getExpandoBridge, getExpirationDate, getGroupId, getLastVoteDate, getModifiedDate, getOriginalGroupId, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getQuestionId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, hashCode, setCompanyId, setCreateDate, setDescription, setDescription, setDescriptionMap, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setLastVoteDate, setModifiedDate, setPrimaryKey, setQuestionId, setTitle, setTitle, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

PollsQuestionImpl

public PollsQuestionImpl()
Method Detail

getChoices

public List<PollsChoice> getChoices()
                             throws SystemException
Specified by:
getChoices in interface PollsQuestion
Throws:
SystemException

getVotesCount

public int getVotesCount()
                  throws SystemException
Specified by:
getVotesCount in interface PollsQuestion
Throws:
SystemException

isExpired

public boolean isExpired()
Specified by:
isExpired in interface PollsQuestion

Liferay 6.0.5