@JSON(strict=true)
@ProviderType
public class PollsChoiceModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>
implements com.liferay.polls.model.PollsChoiceModel
This implementation and its corresponding interface PollsChoiceModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PollsChoiceImpl.
PollsChoiceImpl,
PollsChoice,
PollsChoiceModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_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 long |
NAME_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
QUESTIONID_COLUMN_BITMASK |
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 |
|---|
PollsChoiceModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.polls.model.PollsChoice pollsChoice) |
boolean |
equals(java.lang.Object obj) |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getChoiceId() |
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() |
long |
getGroupId() |
java.util.Date |
getLastPublishDate() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
java.lang.String |
getName() |
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalName() |
long |
getOriginalQuestionId() |
java.lang.String |
getOriginalUuid() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getQuestionId() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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 |
setChoiceId(long choiceId) |
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 |
setGroupId(long groupId) |
void |
setLastPublishDate(java.util.Date lastPublishDate) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setName(java.lang.String name) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setQuestionId(long questionId) |
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.PollsChoice> |
toCacheModel() |
com.liferay.polls.model.PollsChoice |
toEscapedModel() |
static com.liferay.polls.model.PollsChoice |
toModel(com.liferay.polls.model.PollsChoiceSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.polls.model.PollsChoice> |
toModels(com.liferay.polls.model.PollsChoiceSoap[] 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 NAME_COLUMN_BITMASK
public static final long QUESTIONID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.polls.model.PollsChoice toModel(com.liferay.polls.model.PollsChoiceSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.polls.model.PollsChoice> toModels(com.liferay.polls.model.PollsChoiceSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.polls.model.PollsChoiceModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.polls.model.PollsChoiceModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.polls.model.PollsChoiceModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.polls.model.PollsChoiceModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>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.PollsChoice>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>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.PollsChoice>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.polls.model.PollsChoiceModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.polls.model.PollsChoiceModelsetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getOriginalUuid()
@JSON public long getChoiceId()
getChoiceId in interface com.liferay.polls.model.PollsChoiceModelpublic void setChoiceId(long choiceId)
setChoiceId in interface com.liferay.polls.model.PollsChoiceModel@JSON public long getGroupId()
getGroupId in interface com.liferay.polls.model.PollsChoiceModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.polls.model.PollsChoiceModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.polls.model.PollsChoiceModelgetCompanyId 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.PollsChoiceModelsetCompanyId 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.PollsChoiceModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserId(long userId)
setUserId in interface com.liferay.polls.model.PollsChoiceModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.polls.model.PollsChoiceModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.polls.model.PollsChoiceModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.polls.model.PollsChoiceModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.polls.model.PollsChoiceModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.polls.model.PollsChoiceModelgetCreateDate 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.PollsChoiceModelsetCreateDate 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.PollsChoiceModelgetModifiedDate 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.PollsChoiceModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public long getQuestionId()
getQuestionId in interface com.liferay.polls.model.PollsChoiceModelpublic void setQuestionId(long questionId)
setQuestionId in interface com.liferay.polls.model.PollsChoiceModelpublic long getOriginalQuestionId()
@JSON public java.lang.String getName()
getName in interface com.liferay.polls.model.PollsChoiceModelpublic void setName(java.lang.String name)
setName in interface com.liferay.polls.model.PollsChoiceModelpublic java.lang.String getOriginalName()
@JSON public java.lang.String getDescription()
getDescription in interface com.liferay.polls.model.PollsChoiceModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface com.liferay.polls.model.PollsChoiceModelpublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface com.liferay.polls.model.PollsChoiceModelpublic java.lang.String getDescription(java.lang.String languageId)
getDescription in interface com.liferay.polls.model.PollsChoiceModelpublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface com.liferay.polls.model.PollsChoiceModelpublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface com.liferay.polls.model.PollsChoiceModel@JSON public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface com.liferay.polls.model.PollsChoiceModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface com.liferay.polls.model.PollsChoiceModelpublic void setDescription(java.lang.String description)
setDescription in interface com.liferay.polls.model.PollsChoiceModelpublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface com.liferay.polls.model.PollsChoiceModelpublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface com.liferay.polls.model.PollsChoiceModelpublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface com.liferay.polls.model.PollsChoiceModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface com.liferay.polls.model.PollsChoiceModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface com.liferay.polls.model.PollsChoiceModel@JSON public java.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.polls.model.PollsChoiceModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.polls.model.PollsChoiceModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic 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.PollsChoiceModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.polls.model.PollsChoiceModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.polls.model.PollsChoiceModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.polls.model.PollsChoiceModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.polls.model.PollsChoiceModelprepareLocalizedFieldsForImport 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.PollsChoiceModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic com.liferay.polls.model.PollsChoice toEscapedModel()
toEscapedModel in interface com.liferay.polls.model.PollsChoiceModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>public java.lang.Object clone()
clone in interface com.liferay.polls.model.PollsChoiceModelclone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>public int compareTo(com.liferay.polls.model.PollsChoice pollsChoice)
compareTo in interface com.liferay.polls.model.PollsChoiceModelcompareTo in interface java.lang.Comparable<com.liferay.polls.model.PollsChoice>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.polls.model.PollsChoiceModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>public com.liferay.portal.kernel.model.CacheModel<com.liferay.polls.model.PollsChoice> toCacheModel()
toCacheModel in interface com.liferay.polls.model.PollsChoiceModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.polls.model.PollsChoice>public java.lang.String toString()
toString in interface com.liferay.polls.model.PollsChoiceModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.polls.model.PollsChoiceModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.polls.model.PollsChoice>