@JSON(strict=true)
public class PollsChoiceModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
implements com.liferay.portlet.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.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.portlet.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.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
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.portal.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
int |
hashCode() |
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.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
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.model.CacheModel<com.liferay.portlet.polls.model.PollsChoice> |
toCacheModel() |
com.liferay.portlet.polls.model.PollsChoice |
toEscapedModel() |
static com.liferay.portlet.polls.model.PollsChoice |
toModel(com.liferay.portlet.polls.model.PollsChoiceSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portlet.polls.model.PollsChoice> |
toModels(com.liferay.portlet.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.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 long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long QUESTIONID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portlet.polls.model.PollsChoice toModel(com.liferay.portlet.polls.model.PollsChoiceSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portlet.polls.model.PollsChoice> toModels(com.liferay.portlet.polls.model.PollsChoiceSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.portal.model.StagedModelgetUuid in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.model.StagedModelsetUuid in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getOriginalUuid()
@JSON public long getChoiceId()
getChoiceId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setChoiceId(long choiceId)
setChoiceId in interface com.liferay.portlet.polls.model.PollsChoiceModel@JSON public long getGroupId()
getGroupId in interface com.liferay.portal.model.GroupedModelgetGroupId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.model.GroupedModelsetGroupId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.AuditedModelgetCompanyId in interface com.liferay.portal.model.StagedModelgetCompanyId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.AuditedModelsetCompanyId in interface com.liferay.portal.model.StagedModelsetCompanyId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.portal.model.AuditedModelgetUserId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.model.AuditedModelsetUserId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
getUserUuid in interface com.liferay.portal.model.AuditedModelgetUserUuid in interface com.liferay.portlet.polls.model.PollsChoiceModelcom.liferay.portal.kernel.exception.SystemExceptionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.model.AuditedModelsetUserUuid in interface com.liferay.portlet.polls.model.PollsChoiceModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.portal.model.AuditedModelgetUserName in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.model.AuditedModelsetUserName in interface com.liferay.portlet.polls.model.PollsChoiceModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.model.AuditedModelgetCreateDate in interface com.liferay.portal.model.StagedModelgetCreateDate in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.model.AuditedModelsetCreateDate in interface com.liferay.portal.model.StagedModelsetCreateDate in interface com.liferay.portlet.polls.model.PollsChoiceModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.model.AuditedModelgetModifiedDate in interface com.liferay.portal.model.StagedModelgetModifiedDate in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.model.AuditedModelsetModifiedDate in interface com.liferay.portal.model.StagedModelsetModifiedDate in interface com.liferay.portlet.polls.model.PollsChoiceModel@JSON public long getQuestionId()
getQuestionId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setQuestionId(long questionId)
setQuestionId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic long getOriginalQuestionId()
@JSON public java.lang.String getName()
getName in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setName(java.lang.String name)
setName in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getOriginalName()
@JSON public java.lang.String getDescription()
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getDescription(java.lang.String languageId)
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsChoiceModel@JSON public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setDescription(java.lang.String description)
setDescription in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic com.liferay.portal.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.model.StagedModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portlet.polls.model.PollsChoiceModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>setExpandoBridgeAttributes in interface com.liferay.portlet.polls.model.PollsChoiceModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portlet.polls.model.PollsChoiceModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portlet.polls.model.PollsChoiceModelcom.liferay.portal.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portlet.polls.model.PollsChoiceModelcom.liferay.portal.LocaleExceptionpublic com.liferay.portlet.polls.model.PollsChoice toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>toEscapedModel in interface com.liferay.portlet.polls.model.PollsChoiceModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>clone in interface com.liferay.portal.model.StagedModelclone in interface com.liferay.portlet.polls.model.PollsChoiceModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>public int compareTo(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
compareTo in interface com.liferay.portlet.polls.model.PollsChoiceModelcompareTo in interface java.lang.Comparable<com.liferay.portlet.polls.model.PollsChoice>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portlet.polls.model.PollsChoiceModelhashCode in class java.lang.Objectpublic void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsChoice> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>toCacheModel in interface com.liferay.portlet.polls.model.PollsChoiceModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>public java.lang.String toString()
toString in interface com.liferay.portlet.polls.model.PollsChoiceModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>toXmlString in interface com.liferay.portlet.polls.model.PollsChoiceModel