com.liferay.portlet.polls.model.impl
Class PollsChoiceModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
com.liferay.portlet.polls.model.impl.PollsChoiceModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>, com.liferay.portal.model.ClassedModel, com.liferay.portlet.polls.model.PollsChoiceModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portlet.polls.model.PollsChoice>
- Direct Known Subclasses:
- PollsChoiceBaseImpl
public class PollsChoiceModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
- implements com.liferay.portlet.polls.model.PollsChoiceModel
The base model implementation for the PollsChoice service. Represents a row in the "PollsChoice" database table, with each column mapped to a property of this class.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
PollsChoiceImpl,
PollsChoice,
PollsChoiceModel,
Serialized Form- Generated:
| 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.PollsChoiceModel |
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
NAME_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
QUESTIONID_COLUMN_BITMASK
public static long QUESTIONID_COLUMN_BITMASK
UUID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
PollsChoiceModelImpl
public PollsChoiceModelImpl()
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portlet.polls.model.PollsChoiceModel
setPrimaryKey
public void setPrimaryKey(long primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portlet.polls.model.PollsChoiceModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portlet.polls.model.PollsChoiceModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portlet.polls.model.PollsChoiceModel
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
public java.lang.String getUuid()
- Specified by:
getUuid in interface com.liferay.portlet.polls.model.PollsChoiceModel
setUuid
public void setUuid(java.lang.String uuid)
- Specified by:
setUuid in interface com.liferay.portlet.polls.model.PollsChoiceModel
getOriginalUuid
public java.lang.String getOriginalUuid()
getChoiceId
public long getChoiceId()
- Specified by:
getChoiceId in interface com.liferay.portlet.polls.model.PollsChoiceModel
setChoiceId
public void setChoiceId(long choiceId)
- Specified by:
setChoiceId in interface com.liferay.portlet.polls.model.PollsChoiceModel
getQuestionId
public long getQuestionId()
- Specified by:
getQuestionId in interface com.liferay.portlet.polls.model.PollsChoiceModel
setQuestionId
public void setQuestionId(long questionId)
- Specified by:
setQuestionId in interface com.liferay.portlet.polls.model.PollsChoiceModel
getOriginalQuestionId
public long getOriginalQuestionId()
getName
public java.lang.String getName()
- Specified by:
getName in interface com.liferay.portlet.polls.model.PollsChoiceModel
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface com.liferay.portlet.polls.model.PollsChoiceModel
getOriginalName
public java.lang.String getOriginalName()
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModel
getDescription
public java.lang.String getDescription(java.util.Locale locale)
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModel
getDescription
public java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModel
getDescription
public java.lang.String getDescription(java.lang.String languageId)
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModel
getDescription
public java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
- Specified by:
getDescription in interface com.liferay.portlet.polls.model.PollsChoiceModel
getDescriptionCurrentLanguageId
public java.lang.String getDescriptionCurrentLanguageId()
- Specified by:
getDescriptionCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsChoiceModel
getDescriptionCurrentValue
@JSON
public java.lang.String getDescriptionCurrentValue()
- Specified by:
getDescriptionCurrentValue in interface com.liferay.portlet.polls.model.PollsChoiceModel
getDescriptionMap
public java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
- Specified by:
getDescriptionMap in interface com.liferay.portlet.polls.model.PollsChoiceModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription in interface com.liferay.portlet.polls.model.PollsChoiceModel
setDescription
public void setDescription(java.lang.String description,
java.util.Locale locale)
- Specified by:
setDescription in interface com.liferay.portlet.polls.model.PollsChoiceModel
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.PollsChoiceModel
setDescriptionCurrentLanguageId
public void setDescriptionCurrentLanguageId(java.lang.String languageId)
- Specified by:
setDescriptionCurrentLanguageId in interface com.liferay.portlet.polls.model.PollsChoiceModel
setDescriptionMap
public void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
- Specified by:
setDescriptionMap in interface com.liferay.portlet.polls.model.PollsChoiceModel
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.PollsChoiceModel
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portlet.polls.model.PollsChoice toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>- Specified by:
toEscapedModel in interface com.liferay.portlet.polls.model.PollsChoiceModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>- Specified by:
getExpandoBridge in interface com.liferay.portal.model.ClassedModel- Specified by:
getExpandoBridge in interface com.liferay.portlet.polls.model.PollsChoiceModel- Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
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.PollsChoice>- Specified by:
setExpandoBridgeAttributes in interface com.liferay.portlet.polls.model.PollsChoiceModel- Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>- Specified by:
clone in interface com.liferay.portlet.polls.model.PollsChoiceModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
compareTo
public int compareTo(com.liferay.portlet.polls.model.PollsChoice pollsChoice)
- Specified by:
compareTo in interface com.liferay.portlet.polls.model.PollsChoiceModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portlet.polls.model.PollsChoice>
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.PollsChoiceModel- 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.PollsChoice>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portlet.polls.model.PollsChoice> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.polls.model.PollsChoice>- Specified by:
toCacheModel in interface com.liferay.portlet.polls.model.PollsChoiceModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.polls.model.PollsChoice>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portlet.polls.model.PollsChoiceModel- 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.PollsChoice>- Specified by:
toXmlString in interface com.liferay.portlet.polls.model.PollsChoiceModel