@ProviderType public interface VirtualHostModel extends BaseModel<VirtualHost>, CTModel<VirtualHost>, MVCCModel
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.
|
default String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
long 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 MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- 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()
void setCompanyId(long companyId)
companyId
- 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>
default String toXmlString()