|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
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()
|
VirtualHost |
toUnescapedModel()
|
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, setNew |
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, setNew |
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 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 final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public VirtualHostModelImpl()
Method Detail |
---|
public long getPrimaryKey()
VirtualHostModel
getPrimaryKey
in interface VirtualHostModel
public void setPrimaryKey(long primaryKey)
VirtualHostModel
setPrimaryKey
in interface VirtualHostModel
primaryKey
- the primary key of this virtual hostpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<VirtualHost>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface VirtualHostModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<VirtualHost>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface VirtualHostModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 VirtualHostModel
public void setVirtualHostId(long virtualHostId)
VirtualHostModel
setVirtualHostId
in interface VirtualHostModel
virtualHostId
- the virtual host ID of this virtual hostpublic long getCompanyId()
VirtualHostModel
getCompanyId
in interface VirtualHostModel
public void setCompanyId(long companyId)
VirtualHostModel
setCompanyId
in interface VirtualHostModel
companyId
- the company ID of this virtual hostpublic long getOriginalCompanyId()
public long getLayoutSetId()
VirtualHostModel
getLayoutSetId
in interface VirtualHostModel
public void setLayoutSetId(long layoutSetId)
VirtualHostModel
setLayoutSetId
in interface VirtualHostModel
layoutSetId
- the layout set ID of this virtual hostpublic long getOriginalLayoutSetId()
public String getHostname()
VirtualHostModel
getHostname
in interface VirtualHostModel
public void setHostname(String hostname)
VirtualHostModel
setHostname
in interface VirtualHostModel
hostname
- the hostname of this virtual hostpublic String getOriginalHostname()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<VirtualHost>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface VirtualHostModel
getExpandoBridge
in class BaseModelImpl<VirtualHost>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<VirtualHost>
setExpandoBridgeAttributes
in interface VirtualHostModel
setExpandoBridgeAttributes
in class BaseModelImpl<VirtualHost>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public VirtualHost toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<VirtualHost>
toEscapedModel
in interface VirtualHostModel
toEscapedModel
in class BaseModelImpl<VirtualHost>
AutoEscapeBeanHandler
public VirtualHost toUnescapedModel()
toUnescapedModel
in interface BaseModel<VirtualHost>
toUnescapedModel
in interface VirtualHostModel
toUnescapedModel
in class BaseModelImpl<VirtualHost>
public Object clone()
BaseModel
clone
in interface BaseModel<VirtualHost>
clone
in interface VirtualHostModel
clone
in class BaseModelImpl<VirtualHost>
public int compareTo(VirtualHost virtualHost)
compareTo
in interface VirtualHostModel
compareTo
in interface Comparable<VirtualHost>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface VirtualHostModel
hashCode
in class Object
public 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 VirtualHostModel
toCacheModel
in class BaseModelImpl<VirtualHost>
public String toString()
toString
in interface VirtualHostModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<VirtualHost>
toXmlString
in interface VirtualHostModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |