com.liferay.portlet.polls.model
Interface PollsQuestion

All Superinterfaces:
BaseModel, java.lang.Cloneable, java.lang.Comparable, PollsQuestionModel, java.io.Serializable

public interface PollsQuestion
extends PollsQuestionModel

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the PollsQuestion table in the database.

Customize com.liferay.portlet.polls.model.impl.PollsQuestionImpl and rerun the ServiceBuilder to generate the new methods.

Author:
Brian Wing Shun Chan
See Also:
PollsQuestionModel, com.liferay.portlet.polls.model.impl.PollsQuestionImpl, com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl

Method Summary
 java.util.List<PollsChoice> getChoices()
           
 java.lang.String getUserUuid()
           
 int getVotesCount()
           
 boolean isExpired()
           
 void setUserUuid(java.lang.String userUuid)
           
 
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
 

Method Detail

getUserUuid

java.lang.String getUserUuid()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setUserUuid

void setUserUuid(java.lang.String userUuid)

isExpired

boolean isExpired()

getChoices

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

getVotesCount

int getVotesCount()
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException