com.liferay.portlet.polls.model.impl
Class PollsQuestionModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>
com.liferay.portlet.polls.model.impl.PollsQuestionModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.AuditedModel, com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.GroupedModel, com.liferay.portlet.polls.model.PollsQuestionModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.polls.model.PollsQuestion>
- Direct Known Subclasses:
- PollsQuestionBaseImpl
@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
The base model implementation for the PollsQuestion service. Represents a row in the "PollsQuestion" database table, with each column mapped to a property of this class.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsQuestionImpl,
PollsQuestion,
PollsQuestionModel,
Serialized Form- Generated:
|
Method Summary |
java.lang.Object |
clone()
|
int |
compareTo(com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
|
boolean |
equals(java.lang.Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
|
java.util.Date |
getCreateDate()
|
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.lang.Class<?> |
getModelClass()
|
java.lang.String |
getModelClassName()
|
java.util.Date |
getModifiedDate()
|
long |
getOriginalGroupId()
|
java.lang.String |
getOriginalUuid()
|
long |
getPrimaryKey()
|
java.io.Serializable |
getPrimaryKeyObj()
|
long |
getQuestionId()
|
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 |
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 |
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()
|
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.polls.model.PollsQuestionModel |
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
TABLE_COLUMNS
public static final java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_CREATE
- See Also:
- Constant Field Values
TABLE_SQL_DROP
public static final java.lang.String TABLE_SQL_DROP
- See Also:
- Constant Field Values
ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_JPQL
- See Also:
- Constant Field Values
ORDER_BY_SQL
public static final java.lang.String ORDER_BY_SQL
- See Also:
- Constant Field Values
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
COLUMN_BITMASK_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
GROUPID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
UUID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
PollsQuestionModelImpl
public PollsQuestionModelImpl()
toModel
public 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.
- Parameters:
soapModel - the soap model instance to convert
- Returns:
- the normal model instance
toModels
public 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.
- Parameters:
soapModels - the soap model instances to convert
- Returns:
- the normal model instances
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portlet.polls.model.PollsQuestionModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portlet.polls.model.PollsQuestionModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.polls.model.PollsQuestionModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.polls.model.PollsQuestionModel
getModelClass
public java.lang.Class<?> getModelClass()
- Specified by:
getModelClass in interface com.liferay.portal.model.ClassedModel
getModelClassName
public java.lang.String getModelClassName()
- Specified by:
getModelClassName in interface com.liferay.portal.model.ClassedModel
getUuid
@JSON
public java.lang.String getUuid()
- Specified by:
getUuid in interface com.liferay.portlet.polls.model.PollsQuestionModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid in interface com.liferay.portlet.polls.model.PollsQuestionModel
getOriginalUuid
public java.lang.String getOriginalUuid()
getQuestionId
@JSON
public long getQuestionId()
- Specified by:
getQuestionId in interface com.liferay.portlet.polls.model.PollsQuestionModel
setQuestionId
public void setQuestionId(long questionId)
- Specified by:
setQuestionId in interface com.liferay.portlet.polls.model.PollsQuestionModel
getGroupId
@JSON
public long getGroupId()
- Specified by:
getGroupId in interface com.liferay.portal.model.GroupedModel- Specified by:
getGroupId in interface com.liferay.portlet.polls.model.PollsQuestionModel
setGroupId
public void setGroupId(long groupId)
- Specified by:
setGroupId in interface com.liferay.portal.model.GroupedModel- Specified by:
setGroupId in interface com.liferay.portlet.polls.model.PollsQuestionModel
getOriginalGroupId
public long getOriginalGroupId()
getCompanyId
@JSON
public long getCompanyId()
- Specified by:
getCompanyId in interface com.liferay.portal.model.AuditedModel- Specified by:
getCompanyId in interface com.liferay.portlet.polls.model.PollsQuestionModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId in interface com.liferay.portal.model.AuditedModel- Specified by:
setCompanyId in interface com.liferay.portlet.polls.model.PollsQuestionModel
getUserId
@JSON
public long getUserId()
- Specified by:
getUserId in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserId in interface com.liferay.portlet.polls.model.PollsQuestionModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserId in interface com.liferay.portlet.polls.model.PollsQuestionModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getUserUuid in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserUuid in interface com.liferay.portlet.polls.model.PollsQuestionModel
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserUuid in interface com.liferay.portlet.polls.model.PollsQuestionModel
getUserName
@JSON
public java.lang.String getUserName()
- Specified by:
getUserName in interface com.liferay.portal.model.AuditedModel- Specified by:
getUserName in interface com.liferay.portlet.polls.model.PollsQuestionModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName in interface com.liferay.portal.model.AuditedModel- Specified by:
setUserName in interface com.liferay.portlet.polls.model.PollsQuestionModel
getCreateDate
@JSON
public java.util.Date getCreateDate()
- Specified by:
getCreateDate in interface com.liferay.portal.model.AuditedModel- Specified by:
getCreateDate in interface com.liferay.portlet.polls.model.PollsQuestionModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate in interface com.liferay.portal.model.AuditedModel- Specified by:
setCreateDate in interface com.liferay.portlet.polls.model.PollsQuestionModel
getModifiedDate
@JSON
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate in interface com.liferay.portal.model.AuditedModel- Specified by:
getModifiedDate in interface com.liferay.portlet.polls.model.PollsQuestionModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate in interface com.liferay.portal.model.AuditedModel- Specified by:
setModifiedDate in interface com.liferay.portlet.polls.model.PollsQuestionModel
getTitle
@JSON
public java.lang.String getTitle()
- Specified by:
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModel
getTitle
public java.lang.String getTitle(java.util.Locale locale)
- Specified by:
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModel
getTitle
public java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
- Specified by:
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModel
getTitle
public java.lang.String getTitle(java.lang.String languageId)
- Specified by:
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModel
getTitle
public java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
- Specified by:
getTitle in interface com.liferay.portlet.polls.model.PollsQuestionModel
getTitleCurrentLanguageId
public java.lang.String getTitleCurrentLanguageId()
- Specified by:
getTitleCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModel
getTitleCurrentValue
@JSON
public java.lang.String getTitleCurrentValue()
- Specified by:
getTitleCurrentValue in interface com.liferay.portlet.polls.model.PollsQuestionModel
getTitleMap
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
- Specified by:
getTitleMap in interface com.liferay.portlet.polls.model.PollsQuestionModel
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle in interface com.liferay.portlet.polls.model.PollsQuestionModel
setTitle
public void setTitle(java.lang.String title,
java.util.Locale locale)
- Specified by:
setTitle in interface com.liferay.portlet.polls.model.PollsQuestionModel
setTitle
public void setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
- Specified by:
setTitle in interface com.liferay.portlet.polls.model.PollsQuestionModel
setTitleCurrentLanguageId
public void setTitleCurrentLanguageId(java.lang.String languageId)
- Specified by:
setTitleCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModel
setTitleMap
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
- Specified by:
setTitleMap in interface com.liferay.portlet.polls.model.PollsQuestionModel
setTitleMap
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
- Specified by:
setTitleMap in interface com.liferay.portlet.polls.model.PollsQuestionModel
getDescription
@JSON
public java.lang.String getDescription()
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModel
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModel
getDescription
public java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModel
getDescription
public java.lang.String getDescription(java.lang.String languageId)
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModel
getDescription
public java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsQuestionModel
getDescriptionCurrentLanguageId
public java.lang.String getDescriptionCurrentLanguageId()
- Specified by:
getDescriptionCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModel
getDescriptionCurrentValue
@JSON
public java.lang.String getDescriptionCurrentValue()
- Specified by:
getDescriptionCurrentValue in interface com.liferay.portlet.polls.model.PollsQuestionModel
getDescriptionMap
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
- Specified by:
getDescriptionMap in interface com.liferay.portlet.polls.model.PollsQuestionModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface com.liferay.portlet.polls.model.PollsQuestionModel
setDescription
public void setDescription(java.lang.String description,
java.util.Locale locale)
- Specified by:
setDescription in interface com.liferay.portlet.polls.model.PollsQuestionModel
setDescription
public void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
- Specified by:
setDescription in interface com.liferay.portlet.polls.model.PollsQuestionModel
setDescriptionCurrentLanguageId
public void setDescriptionCurrentLanguageId(java.lang.String languageId)
- Specified by:
setDescriptionCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsQuestionModel
setDescriptionMap
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
- Specified by:
setDescriptionMap in interface com.liferay.portlet.polls.model.PollsQuestionModel
setDescriptionMap
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
- Specified by:
setDescriptionMap in interface com.liferay.portlet.polls.model.PollsQuestionModel
getExpirationDate
@JSON
public java.util.Date getExpirationDate()
- Specified by:
getExpirationDate in interface com.liferay.portlet.polls.model.PollsQuestionModel
setExpirationDate
public void setExpirationDate(java.util.Date expirationDate)
- Specified by:
setExpirationDate in interface com.liferay.portlet.polls.model.PollsQuestionModel
getLastVoteDate
@JSON
public java.util.Date getLastVoteDate()
- Specified by:
getLastVoteDate in interface com.liferay.portlet.polls.model.PollsQuestionModel
setLastVoteDate
public void setLastVoteDate(java.util.Date lastVoteDate)
- Specified by:
setLastVoteDate in interface com.liferay.portlet.polls.model.PollsQuestionModel
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portlet.polls.model.PollsQuestion toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Specified by:
toEscapedModel in interface com.liferay.portlet.polls.model.PollsQuestionModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portlet.polls.model.PollsQuestionModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.polls.model.PollsQuestionModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Specified by:
clone in interface com.liferay.portlet.polls.model.PollsQuestionModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>
compareTo
public int compareTo(com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
- Specified by:
compareTo in interface com.liferay.portlet.polls.model.PollsQuestionModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.polls.model.PollsQuestion>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface com.liferay.portlet.polls.model.PollsQuestionModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsQuestion> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Specified by:
toCacheModel in interface com.liferay.portlet.polls.model.PollsQuestionModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsQuestion>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portlet.polls.model.PollsQuestionModel- Overrides:
toString in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsQuestion>- Specified by:
toXmlString in interface com.liferay.portlet.polls.model.PollsQuestionModel