Package com.liferay.portal.kernel.model
Interface VirtualHostModel
- All Superinterfaces:
BaseModel<VirtualHost>
,ClassedModel
,Cloneable
,Comparable<VirtualHost>
,CTModel<VirtualHost>
,MVCCModel
,Serializable
- All Known Subinterfaces:
VirtualHost
- All Known Implementing Classes:
VirtualHostWrapper
@ProviderType
public interface VirtualHostModel
extends BaseModel<VirtualHost>, CTModel<VirtualHost>, MVCCModel
The base model interface for the VirtualHost service. Represents a row in the "VirtualHost" database table, with each column mapped to a property of this class.
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this virtual host.long
Returns the ct collection ID of this virtual host.boolean
Returns the default virtual host of this virtual host.Returns the hostname of this virtual host.Returns the language ID of this virtual host.long
Returns the layout set ID of this virtual host.long
Returns the mvcc version of this virtual host.long
Returns the primary key of this virtual host.long
Returns the virtual host ID of this virtual host.boolean
Returnstrue
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
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this virtual host.- Specified by:
getPrimaryKey
in interfaceCTModel<VirtualHost>
- Returns:
- the primary key of this virtual host
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this virtual host.- Specified by:
setPrimaryKey
in interfaceCTModel<VirtualHost>
- Parameters:
primaryKey
- the primary key of this virtual host
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this virtual host.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this virtual host
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this virtual host.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this virtual host
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this virtual host.- Specified by:
getCtCollectionId
in interfaceCTModel<VirtualHost>
- Returns:
- the ct collection ID of this virtual host
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this virtual host.- Specified by:
setCtCollectionId
in interfaceCTModel<VirtualHost>
- Parameters:
ctCollectionId
- the ct collection ID of this virtual host
-
getVirtualHostId
long getVirtualHostId()Returns the virtual host ID of this virtual host.- Returns:
- the virtual host ID of this virtual host
-
setVirtualHostId
void setVirtualHostId(long virtualHostId) Sets the virtual host ID of this virtual host.- Parameters:
virtualHostId
- the virtual host ID of this virtual host
-
getCompanyId
long getCompanyId()Returns the company ID of this virtual host.- Returns:
- the company ID of this virtual host
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this virtual host.- Parameters:
companyId
- the company ID of this virtual host
-
getLayoutSetId
long getLayoutSetId()Returns the layout set ID of this virtual host.- Returns:
- the layout set ID of this virtual host
-
setLayoutSetId
void setLayoutSetId(long layoutSetId) Sets the layout set ID of this virtual host.- Parameters:
layoutSetId
- the layout set ID of this virtual host
-
getHostname
Returns the hostname of this virtual host.- Returns:
- the hostname of this virtual host
-
setHostname
Sets the hostname of this virtual host.- Parameters:
hostname
- the hostname of this virtual host
-
getDefaultVirtualHost
boolean getDefaultVirtualHost()Returns the default virtual host of this virtual host.- Returns:
- the default virtual host of this virtual host
-
isDefaultVirtualHost
boolean isDefaultVirtualHost()Returnstrue
if this virtual host is default virtual host.- Returns:
true
if this virtual host is default virtual host;false
otherwise
-
setDefaultVirtualHost
void setDefaultVirtualHost(boolean defaultVirtualHost) Sets whether this virtual host is default virtual host.- Parameters:
defaultVirtualHost
- the default virtual host of this virtual host
-
getLanguageId
Returns the language ID of this virtual host.- Returns:
- the language ID of this virtual host
-
setLanguageId
Sets the language ID of this virtual host.- Parameters:
languageId
- the language ID of this virtual host
-
cloneWithOriginalValues
VirtualHost cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<VirtualHost>
-
toXmlString
-