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

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

public class PollsQuestionImpl
extends PollsQuestionModelImpl
implements com.liferay.portlet.polls.model.PollsQuestion

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
CACHE_ENABLED, DATA_SOURCE, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
PollsQuestionImpl()
           
 
Method Summary
 java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
           
 java.lang.String getUserUuid()
           
 int getVotesCount()
           
 boolean isExpired()
           
 void setUserUuid(java.lang.String userUuid)
           
 
Methods inherited from class com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
clone, compareTo, equals, getCompanyId, getCreateDate, getDescription, getExpandoBridge, getExpirationDate, getGroupId, getLastVoteDate, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getQuestionId, getTitle, getUserId, getUserName, getUuid, hashCode, setCompanyId, setCreateDate, setDescription, setExpirationDate, setGroupId, setLastVoteDate, setModifiedDate, setPrimaryKey, setQuestionId, setTitle, setUserId, setUserName, setUuid, toEscapedModel, toModel, toModels
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.polls.model.PollsQuestionModel
getCompanyId, getCreateDate, getDescription, getExpirationDate, getGroupId, getLastVoteDate, getModifiedDate, getPrimaryKey, getQuestionId, getTitle, getUserId, getUserName, getUuid, setCompanyId, setCreateDate, setDescription, setExpirationDate, setGroupId, setLastVoteDate, setModifiedDate, setPrimaryKey, setQuestionId, setTitle, setUserId, setUserName, setUuid, toEscapedModel
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

PollsQuestionImpl

public PollsQuestionImpl()
Method Detail

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.SystemException
Specified by:
getUserUuid in interface com.liferay.portlet.polls.model.PollsQuestion
Throws:
com.liferay.portal.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface com.liferay.portlet.polls.model.PollsQuestion

isExpired

public boolean isExpired()
Specified by:
isExpired in interface com.liferay.portlet.polls.model.PollsQuestion

getChoices

public java.util.List<com.liferay.portlet.polls.model.PollsChoice> getChoices()
                                                                       throws com.liferay.portal.SystemException
Specified by:
getChoices in interface com.liferay.portlet.polls.model.PollsQuestion
Throws:
com.liferay.portal.SystemException

getVotesCount

public int getVotesCount()
                  throws com.liferay.portal.SystemException
Specified by:
getVotesCount in interface com.liferay.portlet.polls.model.PollsQuestion
Throws:
com.liferay.portal.SystemException