|
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.VirtualHostWrapper
@ProviderType public class VirtualHostWrapper
This class is a wrapper for VirtualHost.
VirtualHost,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.VirtualHost |
|---|
VIRTUAL_HOST_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
VirtualHostWrapper(VirtualHost virtualHost)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(VirtualHost virtualHost)
|
boolean |
equals(Object obj)
|
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 |
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. |
VirtualHost |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company ID of this virtual host. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VirtualHostWrapper(VirtualHost virtualHost)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<VirtualHost>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<VirtualHost>public Object clone()
BaseModel
clone in interface BaseModel<VirtualHost>clone in interface VirtualHostModelclone in class Objectpublic int compareTo(VirtualHost virtualHost)
compareTo in interface VirtualHostModelcompareTo in interface Comparable<VirtualHost>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface VirtualHostModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<VirtualHost>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface VirtualHostModelpublic String getHostname()
getHostname in interface VirtualHostModelpublic long getLayoutSetId()
getLayoutSetId in interface VirtualHostModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface VirtualHostModelpublic long getPrimaryKey()
getPrimaryKey in interface VirtualHostModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<VirtualHost>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface VirtualHostModelpublic long getVirtualHostId()
getVirtualHostId in interface VirtualHostModelpublic int hashCode()
hashCode in interface VirtualHostModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<VirtualHost>isCachedModel in interface VirtualHostModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<VirtualHost>isEscapedModel in interface VirtualHostModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<VirtualHost>isNew in interface VirtualHostModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<VirtualHost>setCachedModel in interface VirtualHostModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface VirtualHostModelcompanyId - the company ID of this virtual hostpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<VirtualHost>setExpandoBridgeAttributes in interface VirtualHostModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<VirtualHost>setExpandoBridgeAttributes in interface VirtualHostModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<VirtualHost>setExpandoBridgeAttributes in interface VirtualHostModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setHostname(String hostname)
setHostname in interface VirtualHostModelhostname - the hostname of this virtual hostpublic void setLayoutSetId(long layoutSetId)
setLayoutSetId in interface VirtualHostModellayoutSetId - the layout set ID of this virtual hostpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface VirtualHostModelmvccVersion - the mvcc version of this virtual hostpublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<VirtualHost>setNew in interface VirtualHostModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface VirtualHostModelprimaryKey - the primary key of this virtual hostpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<VirtualHost>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface VirtualHostModelprimaryKeyObj - the primary key of this model instancepublic void setVirtualHostId(long virtualHostId)
setVirtualHostId in interface VirtualHostModelvirtualHostId - the virtual host ID of this virtual hostpublic CacheModel<VirtualHost> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<VirtualHost>toCacheModel in interface VirtualHostModelpublic VirtualHost toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<VirtualHost>toEscapedModel in interface VirtualHostModelAutoEscapeBeanHandlerpublic String toString()
toString in interface VirtualHostModeltoString in class Objectpublic VirtualHost toUnescapedModel()
toUnescapedModel in interface BaseModel<VirtualHost>toUnescapedModel in interface VirtualHostModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<VirtualHost>toXmlString in interface VirtualHostModelpublic boolean equals(Object obj)
equals in class Objectpublic VirtualHost getWrappedModel()
getWrappedModel in interface ModelWrapper<VirtualHost>public 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>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||