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 TypeMethodDescriptionlongReturns the company ID of this virtual host.longReturns the ct collection ID of this virtual host.booleanReturns the default virtual host of this virtual host.Returns the hostname of this virtual host.Returns the language ID of this virtual host.longReturns the layout set ID of this virtual host.longReturns the mvcc version of this virtual host.longReturns the primary key of this virtual host.longReturns the virtual host ID of this virtual host.booleanReturnstrueif this virtual host is default virtual host.voidsetCompanyId(long companyId) Sets the company ID of this virtual host.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this virtual host.voidsetDefaultVirtualHost(boolean defaultVirtualHost) Sets whether this virtual host is default virtual host.voidsetHostname(String hostname) Sets the hostname of this virtual host.voidsetLanguageId(String languageId) Sets the language ID of this virtual host.voidsetLayoutSetId(long layoutSetId) Sets the layout set ID of this virtual host.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this virtual host.voidsetPrimaryKey(long primaryKey) Sets the primary key of this virtual host.voidsetVirtualHostId(long virtualHostId) Sets the virtual host ID of this virtual host.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this virtual host.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin interfaceCTModel<VirtualHost>- Parameters:
primaryKey- the primary key of this virtual host
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this virtual host.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this virtual host
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this virtual host.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this virtual host
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this virtual host.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin 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()Returnstrueif this virtual host is default virtual host.- Returns:
trueif this virtual host is default virtual host;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<VirtualHost>
-
toXmlString
-