Liferay 6.2-ce-ga5

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, StagedGroupedModel, StagedModel, 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, COMPANYID_COLUMN_BITMASK, CREATEDATE_COLUMN_BITMASK, 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()
           
 List<PollsVote> getVotes()
           
 List<PollsVote> getVotes(int start, int end)
           
 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, getAvailableLanguageIds, getColumnBitmask, getCompanyId, getCreateDate, getDefaultLanguageId, getDescription, getDescription, getDescription, getDescription, getDescription, getDescriptionCurrentLanguageId, getDescriptionCurrentValue, getDescriptionMap, getExpandoBridge, getExpirationDate, getGroupId, getLastVoteDate, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOriginalCompanyId, getOriginalGroupId, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getQuestionId, getStagedModelType, getTitle, getTitle, getTitle, getTitle, getTitle, getTitleCurrentLanguageId, getTitleCurrentValue, getTitleMap, getUserId, getUserName, getUserUuid, getUuid, hashCode, prepareLocalizedFieldsForImport, 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, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
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, 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
 

Constructor Detail

PollsQuestionImpl

public PollsQuestionImpl()
Method Detail

getChoices

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

getVotes

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

getVotes

public List<PollsVote> getVotes(int start,
                                int end)
                         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.2-ce-ga5