@ProviderType public interface VirtualHostModel extends BaseModel<VirtualHost>, CTModel<VirtualHost>, MVCCModel, ShardedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.VirtualHostModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.VirtualHostImpl.
VirtualHost| Modifier and Type | Method and Description |
|---|---|
VirtualHost |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this virtual host.
|
long |
getCtCollectionId()
Returns the ct collection ID of this virtual host.
|
boolean |
getDefaultVirtualHost()
Returns the default virtual host of this virtual host.
|
String |
getHostname()
Returns the hostname of this virtual host.
|
String |
getLanguageId()
Returns the language ID of this virtual host.
|
long |
getLayoutSetId()
Returns the layout set ID of this virtual host.
|
long |
getMvccVersion()
Returns the mvcc version of this virtual host.
|
long |
getPrimaryKey()
Returns the primary key of this virtual host.
|
long |
getVirtualHostId()
Returns the virtual host ID of this virtual host.
|
boolean |
isDefaultVirtualHost()
Returns
true if this virtual host is default virtual host. |
void |
setCompanyId(long companyId)
Sets the company ID of this virtual host.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this virtual host.
|
void |
setDefaultVirtualHost(boolean defaultVirtualHost)
Sets whether this virtual host is default virtual host.
|
void |
setHostname(String hostname)
Sets the hostname of this virtual host.
|
void |
setLanguageId(String languageId)
Sets the language ID of this virtual host.
|
void |
setLayoutSetId(long layoutSetId)
Sets the layout set ID of this virtual host.
|
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 |
setVirtualHostId(long virtualHostId)
Sets the virtual host ID of this virtual host.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamelong getPrimaryKey()
getPrimaryKey in interface CTModel<VirtualHost>void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<VirtualHost>primaryKey - the primary key of this virtual hostlong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this virtual hostlong getCtCollectionId()
getCtCollectionId in interface CTModel<VirtualHost>void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<VirtualHost>ctCollectionId - the ct collection ID of this virtual hostlong getVirtualHostId()
void setVirtualHostId(long virtualHostId)
virtualHostId - the virtual host ID of this virtual hostlong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this virtual hostlong getLayoutSetId()
void setLayoutSetId(long layoutSetId)
layoutSetId - the layout set ID of this virtual host@AutoEscape String getHostname()
void setHostname(String hostname)
hostname - the hostname of this virtual hostboolean getDefaultVirtualHost()
boolean isDefaultVirtualHost()
true if this virtual host is default virtual host.true if this virtual host is default virtual host; false otherwisevoid setDefaultVirtualHost(boolean defaultVirtualHost)
defaultVirtualHost - the default virtual host of this virtual host@AutoEscape String getLanguageId()
void setLanguageId(String languageId)
languageId - the language ID of this virtual hostVirtualHost cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<VirtualHost>