|
Liferay 6.2.0-ce-rc2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<VirtualHost>
com.liferay.portal.model.impl.VirtualHostModelImpl
public class VirtualHostModelImpl
The base model implementation for the VirtualHost service. Represents a row in the "VirtualHost" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface VirtualHostModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in VirtualHostImpl.
VirtualHostImpl,
VirtualHost,
VirtualHostModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
HOSTNAME_COLUMN_BITMASK
|
static long |
LAYOUTSETID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
VIRTUALHOSTID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
VirtualHostModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(VirtualHost virtualHost)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this virtual host. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getHostname()
Returns the hostname of this virtual host. |
long |
getLayoutSetId()
Returns the layout set ID of this virtual host. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalCompanyId()
|
String |
getOriginalHostname()
|
long |
getOriginalLayoutSetId()
|
long |
getPrimaryKey()
Returns the primary key of this virtual host. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getVirtualHostId()
Returns the virtual host ID of this virtual host. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this virtual host. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setHostname(String hostname)
Sets the hostname of this virtual host. |
void |
setLayoutSetId(long layoutSetId)
Sets the layout set ID of this virtual host. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this virtual host. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setVirtualHostId(long virtualHostId)
Sets the virtual host ID of this virtual host. |
CacheModel<VirtualHost> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
VirtualHost |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.VirtualHostModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final 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 HOSTNAME_COLUMN_BITMASK
public static long LAYOUTSETID_COLUMN_BITMASK
public static long VIRTUALHOSTID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public VirtualHostModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
VirtualHostModel
getPrimaryKey in interface VirtualHostModelpublic void setPrimaryKey(long primaryKey)
VirtualHostModel
setPrimaryKey in interface VirtualHostModelprimaryKey - the primary key of this virtual hostpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<VirtualHost>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface VirtualHostModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<VirtualHost>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface VirtualHostModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<VirtualHost>getModelAttributes in class BaseModelImpl<VirtualHost>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<VirtualHost>setModelAttributes in class BaseModelImpl<VirtualHost>public long getVirtualHostId()
VirtualHostModel
getVirtualHostId in interface VirtualHostModelpublic void setVirtualHostId(long virtualHostId)
VirtualHostModel
setVirtualHostId in interface VirtualHostModelvirtualHostId - the virtual host ID of this virtual hostpublic long getCompanyId()
VirtualHostModel
getCompanyId in interface VirtualHostModelpublic void setCompanyId(long companyId)
VirtualHostModel
setCompanyId in interface VirtualHostModelcompanyId - the company ID of this virtual hostpublic long getOriginalCompanyId()
public long getLayoutSetId()
VirtualHostModel
getLayoutSetId in interface VirtualHostModelpublic void setLayoutSetId(long layoutSetId)
VirtualHostModel
setLayoutSetId in interface VirtualHostModellayoutSetId - the layout set ID of this virtual hostpublic long getOriginalLayoutSetId()
public String getHostname()
VirtualHostModel
getHostname in interface VirtualHostModelpublic void setHostname(String hostname)
VirtualHostModel
setHostname in interface VirtualHostModelhostname - the hostname of this virtual hostpublic String getOriginalHostname()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<VirtualHost>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface VirtualHostModelgetExpandoBridge in class BaseModelImpl<VirtualHost>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<VirtualHost>setExpandoBridgeAttributes in interface VirtualHostModelsetExpandoBridgeAttributes in class BaseModelImpl<VirtualHost>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public VirtualHost toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<VirtualHost>toEscapedModel in interface VirtualHostModeltoEscapedModel in class BaseModelImpl<VirtualHost>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<VirtualHost>clone in interface VirtualHostModelclone in class BaseModelImpl<VirtualHost>public int compareTo(VirtualHost virtualHost)
compareTo in interface VirtualHostModelcompareTo in interface Comparable<VirtualHost>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface VirtualHostModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<VirtualHost>resetOriginalValues in class BaseModelImpl<VirtualHost>public CacheModel<VirtualHost> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<VirtualHost>toCacheModel in interface VirtualHostModeltoCacheModel in class BaseModelImpl<VirtualHost>public String toString()
toString in interface VirtualHostModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<VirtualHost>toXmlString in interface VirtualHostModel
|
Liferay 6.2.0-ce-rc2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||