com.liferay.portal.model.impl
Class ListTypeModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ListType>
com.liferay.portal.model.impl.ListTypeModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portal.model.ListType>, com.liferay.portal.model.ClassedModel, com.liferay.portal.model.ListTypeModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.ListType>
- Direct Known Subclasses:
- ListTypeBaseImpl
@JSON(strict=true)
public class ListTypeModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ListType>
- implements com.liferay.portal.model.ListTypeModel
The base model implementation for the ListType service. Represents a row in the "ListType" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ListTypeModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ListTypeImpl.
- Author:
- Brian Wing Shun Chan
- See Also:
ListTypeImpl,
ListType,
ListTypeModel,
Serialized Form- Generated:
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setNew |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.ListTypeModel |
getExpandoBridge, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, 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
TYPE_COLUMN_BITMASK
public static long TYPE_COLUMN_BITMASK
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
ListTypeModelImpl
public ListTypeModelImpl()
toModel
public static com.liferay.portal.model.ListType toModel(com.liferay.portal.model.ListTypeSoap 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.portal.model.ListType> toModels(com.liferay.portal.model.ListTypeSoap[] 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 int getPrimaryKey()
- Specified by:
getPrimaryKey in interface com.liferay.portal.model.ListTypeModel
setPrimaryKey
public void setPrimaryKey(int primaryKey)
- Specified by:
setPrimaryKey in interface com.liferay.portal.model.ListTypeModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ListType>- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
getPrimaryKeyObj in interface com.liferay.portal.model.ListTypeModel
setPrimaryKeyObj
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ListType>- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModel- Specified by:
setPrimaryKeyObj in interface com.liferay.portal.model.ListTypeModel
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
getListTypeId
@JSON
public int getListTypeId()
- Specified by:
getListTypeId in interface com.liferay.portal.model.ListTypeModel
setListTypeId
public void setListTypeId(int listTypeId)
- Specified by:
setListTypeId in interface com.liferay.portal.model.ListTypeModel
getName
@JSON
public java.lang.String getName()
- Specified by:
getName in interface com.liferay.portal.model.ListTypeModel
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface com.liferay.portal.model.ListTypeModel
getType
@JSON
public java.lang.String getType()
- Specified by:
getType in interface com.liferay.portal.model.ListTypeModel
setType
public void setType(java.lang.String type)
- Specified by:
setType in interface com.liferay.portal.model.ListTypeModel
getOriginalType
public java.lang.String getOriginalType()
getColumnBitmask
public long getColumnBitmask()
toEscapedModel
public com.liferay.portal.model.ListType toEscapedModel()
- Specified by:
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ListType>- Specified by:
toEscapedModel in interface com.liferay.portal.model.ListTypeModel- Overrides:
toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ListType>
clone
public java.lang.Object clone()
- Specified by:
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ListType>- Specified by:
clone in interface com.liferay.portal.model.ListTypeModel- Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ListType>
compareTo
public int compareTo(com.liferay.portal.model.ListType listType)
- Specified by:
compareTo in interface com.liferay.portal.model.ListTypeModel- Specified by:
compareTo in interface java.lang.Comparable<com.liferay.portal.model.ListType>
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.portal.model.ListTypeModel- Overrides:
hashCode in class java.lang.Object
resetOriginalValues
public void resetOriginalValues()
- Specified by:
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ListType>- Overrides:
resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ListType>
toCacheModel
public com.liferay.portal.model.CacheModel<com.liferay.portal.model.ListType> toCacheModel()
- Specified by:
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.ListType>- Specified by:
toCacheModel in interface com.liferay.portal.model.ListTypeModel- Overrides:
toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.ListType>
toString
public java.lang.String toString()
- Specified by:
toString in interface com.liferay.portal.model.ListTypeModel- 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.portal.model.ListType>- Specified by:
toXmlString in interface com.liferay.portal.model.ListTypeModel