@JSON(strict=true)
@ProviderType
public class PollsQuestionModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>
implements com.liferay.polls.model.PollsQuestionModel
This implementation and its corresponding interface PollsQuestionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PollsQuestionImpl.
PollsQuestionImpl,
PollsQuestion,
PollsQuestionModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static long |
CREATEDATE_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
UUID_COLUMN_BITMASK |
| Constructor and Description |
|---|
PollsQuestionModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.polls.model.PollsQuestion pollsQuestion) |
boolean |
equals(java.lang.Object obj) |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.util.Date |
getCreateDate() |
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription() |
java.lang.String |
getDescription(java.util.Locale locale) |
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault) |
java.lang.String |
getDescription(java.lang.String languageId) |
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault) |
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getExpirationDate() |
long |
getGroupId() |
java.util.Date |
getLastPublishDate() |
java.util.Date |
getLastVoteDate() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalUuid() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getQuestionId() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getTitle() |
java.lang.String |
getTitle(java.util.Locale locale) |
java.lang.String |
getTitle(java.util.Locale locale,
boolean useDefault) |
java.lang.String |
getTitle(java.lang.String languageId) |
java.lang.String |
getTitle(java.lang.String languageId,
boolean useDefault) |
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setDescription(java.lang.String description) |
void |
setDescription(java.lang.String description,
java.util.Locale locale) |
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale) |
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setExpirationDate(java.util.Date expirationDate) |
void |
setGroupId(long groupId) |
void |
setLastPublishDate(java.util.Date lastPublishDate) |
void |
setLastVoteDate(java.util.Date lastVoteDate) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setQuestionId(long questionId) |
void |
setTitle(java.lang.String title) |
void |
setTitle(java.lang.String title,
java.util.Locale locale) |
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale) |
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setUuid(java.lang.String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.polls.model.PollsQuestion> |
toCacheModel() |
com.liferay.polls.model.PollsQuestion |
toEscapedModel() |
static com.liferay.polls.model.PollsQuestion |
toModel(com.liferay.polls.model.PollsQuestionSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.polls.model.PollsQuestion> |
toModels(com.liferay.polls.model.PollsQuestionSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.polls.model.PollsQuestion toModel(com.liferay.polls.model.PollsQuestionSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.polls.model.PollsQuestion> toModels(com.liferay.polls.model.PollsQuestionSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.polls.model.PollsQuestionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.polls.model.PollsQuestionModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.polls.model.PollsQuestionModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.polls.model.PollsQuestionModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.polls.model.PollsQuestionModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.polls.model.PollsQuestionModelsetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getOriginalUuid()
@JSON public long getQuestionId()
getQuestionId in interface com.liferay.polls.model.PollsQuestionModelpublic void setQuestionId(long questionId)
setQuestionId in interface com.liferay.polls.model.PollsQuestionModel@JSON public long getGroupId()
getGroupId in interface com.liferay.polls.model.PollsQuestionModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.polls.model.PollsQuestionModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.polls.model.PollsQuestionModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.polls.model.PollsQuestionModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.polls.model.PollsQuestionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserId(long userId)
setUserId in interface com.liferay.polls.model.PollsQuestionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.polls.model.PollsQuestionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.polls.model.PollsQuestionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.polls.model.PollsQuestionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.polls.model.PollsQuestionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.polls.model.PollsQuestionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.polls.model.PollsQuestionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.polls.model.PollsQuestionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.polls.model.PollsQuestionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public java.lang.String getTitle()
getTitle in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
getTitle in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getTitle(java.lang.String languageId)
getTitle in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
getTitle in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface com.liferay.polls.model.PollsQuestionModel@JSON public java.lang.String getTitleCurrentValue()
getTitleCurrentValue in interface com.liferay.polls.model.PollsQuestionModelpublic java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap in interface com.liferay.polls.model.PollsQuestionModelpublic void setTitle(java.lang.String title)
setTitle in interface com.liferay.polls.model.PollsQuestionModelpublic void setTitle(java.lang.String title,
java.util.Locale locale)
setTitle in interface com.liferay.polls.model.PollsQuestionModelpublic void setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
setTitle in interface com.liferay.polls.model.PollsQuestionModelpublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId in interface com.liferay.polls.model.PollsQuestionModelpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
setTitleMap in interface com.liferay.polls.model.PollsQuestionModelpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
setTitleMap in interface com.liferay.polls.model.PollsQuestionModel@JSON public java.lang.String getDescription()
getDescription in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getDescription(java.lang.String languageId)
getDescription in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface com.liferay.polls.model.PollsQuestionModelpublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface com.liferay.polls.model.PollsQuestionModel@JSON public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface com.liferay.polls.model.PollsQuestionModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface com.liferay.polls.model.PollsQuestionModelpublic void setDescription(java.lang.String description)
setDescription in interface com.liferay.polls.model.PollsQuestionModelpublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface com.liferay.polls.model.PollsQuestionModelpublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface com.liferay.polls.model.PollsQuestionModelpublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface com.liferay.polls.model.PollsQuestionModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface com.liferay.polls.model.PollsQuestionModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface com.liferay.polls.model.PollsQuestionModel@JSON public java.util.Date getExpirationDate()
getExpirationDate in interface com.liferay.polls.model.PollsQuestionModelpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface com.liferay.polls.model.PollsQuestionModel@JSON public java.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.polls.model.PollsQuestionModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.polls.model.PollsQuestionModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel@JSON public java.util.Date getLastVoteDate()
getLastVoteDate in interface com.liferay.polls.model.PollsQuestionModelpublic void setLastVoteDate(java.util.Date lastVoteDate)
setLastVoteDate in interface com.liferay.polls.model.PollsQuestionModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.polls.model.PollsQuestionModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.polls.model.PollsQuestionModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.polls.model.PollsQuestionModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.polls.model.PollsQuestionModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.polls.model.PollsQuestionModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.polls.model.PollsQuestionModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic com.liferay.polls.model.PollsQuestion toEscapedModel()
toEscapedModel in interface com.liferay.polls.model.PollsQuestionModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>public java.lang.Object clone()
clone in interface com.liferay.polls.model.PollsQuestionModelclone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>public int compareTo(com.liferay.polls.model.PollsQuestion pollsQuestion)
compareTo in interface com.liferay.polls.model.PollsQuestionModelcompareTo in interface java.lang.Comparable<com.liferay.polls.model.PollsQuestion>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.polls.model.PollsQuestionModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>public com.liferay.portal.kernel.model.CacheModel<com.liferay.polls.model.PollsQuestion> toCacheModel()
toCacheModel in interface com.liferay.polls.model.PollsQuestionModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsQuestion>public java.lang.String toString()
toString in interface com.liferay.polls.model.PollsQuestionModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.polls.model.PollsQuestionModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsQuestion>