@JSON(strict=true)
public class PollsQuestionModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>
implements com.liferay.portlet.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.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.portlet.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.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getExpirationDate() |
long |
getGroupId() |
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.portal.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() |
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.service.ServiceContext serviceContext) |
void |
setExpirationDate(java.util.Date expirationDate) |
void |
setGroupId(long groupId) |
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.model.CacheModel<com.liferay.portlet.polls.model.PollsQuestion> |
toCacheModel() |
com.liferay.portlet.polls.model.PollsQuestion |
toEscapedModel() |
static com.liferay.portlet.polls.model.PollsQuestion |
toModel(com.liferay.portlet.polls.model.PollsQuestionSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portlet.polls.model.PollsQuestion> |
toModels(com.liferay.portlet.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.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 UUID_COLUMN_BITMASK
public static long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portlet.polls.model.PollsQuestion toModel(com.liferay.portlet.polls.model.PollsQuestionSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portlet.polls.model.PollsQuestion> toModels(com.liferay.portlet.polls.model.PollsQuestionSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic 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.PollsQuestion>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>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.PollsQuestion>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.portal.model.StagedModelgetUuid in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.model.StagedModelsetUuid in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getOriginalUuid()
@JSON public long getQuestionId()
getQuestionId in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setQuestionId(long questionId)
setQuestionId in interface com.liferay.portlet.polls.model.PollsQuestionModel@JSON public long getGroupId()
getGroupId in interface com.liferay.portal.model.GroupedModelgetGroupId in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.model.GroupedModelsetGroupId in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic 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.PollsQuestionModelpublic 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.PollsQuestionModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.portal.model.AuditedModelgetUserId in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.model.AuditedModelsetUserId in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic 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.PollsQuestionModelcom.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.PollsQuestionModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.portal.model.AuditedModelgetUserName in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.model.AuditedModelsetUserName in interface com.liferay.portlet.polls.model.PollsQuestionModel@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.PollsQuestionModelpublic 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.PollsQuestionModel@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.PollsQuestionModelpublic 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.PollsQuestionModel@JSON public java.lang.String getTitle()
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getTitle(java.lang.String languageId)
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getTitleCurrentLanguageId()
getTitleCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModel@JSON public java.lang.String getTitleCurrentValue()
getTitleCurrentValue in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
getTitleMap in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setTitle(java.lang.String title)
setTitle in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setTitle(java.lang.String title,
java.util.Locale locale)
setTitle in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
setTitle in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setTitleCurrentLanguageId(java.lang.String languageId)
setTitleCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
setTitleMap in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
setTitleMap in interface com.liferay.portlet.polls.model.PollsQuestionModel@JSON public java.lang.String getDescription()
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getDescription(java.lang.String languageId)
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModel@JSON public java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setDescription(java.lang.String description)
setDescription in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface com.liferay.portlet.polls.model.PollsQuestionModel@JSON public java.util.Date getExpirationDate()
getExpirationDate in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate in interface com.liferay.portlet.polls.model.PollsQuestionModel@JSON public java.util.Date getLastVoteDate()
getLastVoteDate in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void setLastVoteDate(java.util.Date lastVoteDate)
setLastVoteDate in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic 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.PollsQuestion>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portlet.polls.model.PollsQuestionModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>setExpandoBridgeAttributes in interface com.liferay.portlet.polls.model.PollsQuestionModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portlet.polls.model.PollsQuestionModelcom.liferay.portal.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.LocaleException
prepareLocalizedFieldsForImport in interface com.liferay.portlet.polls.model.PollsQuestionModelcom.liferay.portal.LocaleExceptionpublic com.liferay.portlet.polls.model.PollsQuestion toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>toEscapedModel in interface com.liferay.portlet.polls.model.PollsQuestionModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>clone in interface com.liferay.portal.model.StagedModelclone in interface com.liferay.portlet.polls.model.PollsQuestionModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>public int compareTo(com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
compareTo in interface com.liferay.portlet.polls.model.PollsQuestionModelcompareTo in interface java.lang.Comparable<com.liferay.portlet.polls.model.PollsQuestion>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portlet.polls.model.PollsQuestionModelhashCode in class java.lang.Objectpublic void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsQuestion> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>toCacheModel in interface com.liferay.portlet.polls.model.PollsQuestionModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>public java.lang.String toString()
toString in interface com.liferay.portlet.polls.model.PollsQuestionModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>toXmlString in interface com.liferay.portlet.polls.model.PollsQuestionModel