|
Liferay 7.0-ce-b4 | |||||||||
| 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
@ProviderType 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 Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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 |
getMvccVersion()
Returns the mvcc version of this virtual host. |
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()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this virtual host. |
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 Map<String,Integer> TABLE_COLUMNS_MAP
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 final long COMPANYID_COLUMN_BITMASK
public static final long HOSTNAME_COLUMN_BITMASK
public static final long LAYOUTSETID_COLUMN_BITMASK
public static final 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 getMvccVersion()
VirtualHostModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface VirtualHostModelpublic void setMvccVersion(long mvccVersion)
VirtualHostModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface VirtualHostModelmvccVersion - the mvcc version of this virtual hostpublic 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 ShardedModelgetCompanyId in interface VirtualHostModelpublic void setCompanyId(long companyId)
VirtualHostModel
setCompanyId in interface ShardedModelsetCompanyId 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 boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<VirtualHost>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<VirtualHost>true if this model's finder cache is enabled;
false otherwisepublic 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 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||