com.liferay.portal.model.impl
Class LayoutPrototypeModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutPrototype>
com.liferay.portal.model.impl.LayoutPrototypeModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutPrototype>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.LayoutPrototype>
- Direct Known Subclasses:
- LayoutPrototypeImpl
public class LayoutPrototypeModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutPrototype>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface is a model that represents the LayoutPrototype table in the
database.
- Author:
- Brian Wing Shun Chan
- See Also:
LayoutPrototypeImpl
,
LayoutPrototype
,
LayoutPrototypeModel
,
Serialized Form- Generated:
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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
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
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
LayoutPrototypeModelImpl
public LayoutPrototypeModelImpl()
toModel
public static com.liferay.portal.model.LayoutPrototype toModel(com.liferay.portal.model.LayoutPrototypeSoap soapModel)
toModels
public static java.util.List<com.liferay.portal.model.LayoutPrototype> toModels(com.liferay.portal.model.LayoutPrototypeSoap[] soapModels)
getPrimaryKey
public long getPrimaryKey()
setPrimaryKey
public void setPrimaryKey(long pk)
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
getLayoutPrototypeId
public long getLayoutPrototypeId()
setLayoutPrototypeId
public void setLayoutPrototypeId(long layoutPrototypeId)
getCompanyId
public long getCompanyId()
setCompanyId
public void setCompanyId(long companyId)
getName
public java.lang.String getName()
getName
public java.lang.String getName(java.util.Locale locale)
getName
public java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName
public java.lang.String getName(java.lang.String languageId)
getName
public java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getNameMap
public java.util.Map<java.util.Locale,java.lang.String> getNameMap()
setName
public void setName(java.lang.String name)
setName
public void setName(java.util.Locale locale,
java.lang.String name)
setNameMap
public void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getSettings
public java.lang.String getSettings()
setSettings
public void setSettings(java.lang.String settings)
getActive
public boolean getActive()
isActive
public boolean isActive()
setActive
public void setActive(boolean active)
toEscapedModel
public com.liferay.portal.model.LayoutPrototype toEscapedModel()
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutPrototype>
- Overrides:
getExpandoBridge
in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutPrototype>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutPrototype>
- Overrides:
setExpandoBridgeAttributes
in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutPrototype>
clone
public java.lang.Object clone()
- Specified by:
clone
in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.LayoutPrototype>
- Specified by:
clone
in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.LayoutPrototype>
compareTo
public int compareTo(com.liferay.portal.model.LayoutPrototype layoutPrototype)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()