Liferay 6.1.2-ce-ga3

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.PollsQuestionBaseImpl
              extended by com.liferay.portlet.polls.model.impl.PollsQuestionImpl
All Implemented Interfaces:
AuditedModel, BaseModel<PollsQuestion>, ClassedModel, GroupedModel, PersistedModel, PollsQuestion, PollsQuestionModel, Serializable, Cloneable, Comparable<PollsQuestion>

public class PollsQuestionImpl
extends PollsQuestionBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
COLUMN_BITMASK_ENABLED, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, UUID_COLUMN_BITMASK
 
Constructor Summary
PollsQuestionImpl()
           
 
Method Summary
 List<PollsChoice> getChoices()
           
 int getVotesCount()
           
 boolean isExpired()
           
 boolean isExpired(ServiceContext serviceContext, Date defaultCreateDate)
           
 
Methods inherited from class com.liferay.portlet.polls.model.impl.PollsQuestionBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
clone, compareTo, equals, getColumnBitmask, getCompanyId, getCreateDate, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getExpirationDate, getGroupId, getLastVoteDate, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOriginalGroupId, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getQuestionId, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, hashCode, prepareLocalizedFieldsForImport, resetOriginalValues, setCompanyId, setCreateDate, setDescription, setDescription, setDescription, setDescriptionCurrentLanguageId, setDescriptionMap, setDescriptionMap, setExpandoBridgeAttributes, setExpirationDate, setGroupId, setLastVoteDate, setModelAttributes, setModifiedDate, setPrimaryKey, setPrimaryKeyObj, setQuestionId, setTitle, setTitle, setTitle, setTitleCurrentLanguageId, setTitleMap, setTitleMap, setUserId, setUserName, setUserUuid, setUuid, toCacheModel, toEscapedModel, toModel, toModels, toString, toUnescapedModel, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, 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, 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
 

Constructor Detail

PollsQuestionImpl

public PollsQuestionImpl()
Method Detail

getChoices

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

getVotesCount

public int getVotesCount()
                  throws SystemException
Throws:
SystemException

isExpired

public boolean isExpired()

isExpired

public boolean isExpired(ServiceContext serviceContext,
                         Date defaultCreateDate)

Liferay 6.1.2-ce-ga3