Package com.liferay.portal.kernel.model
Class VirtualHostWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<VirtualHost>
com.liferay.portal.kernel.model.VirtualHostWrapper
- All Implemented Interfaces:
BaseModel<VirtualHost>,CTModel<VirtualHost>,ClassedModel,ModelWrapper<VirtualHost>,MVCCModel,PersistedModel,VirtualHost,VirtualHostModel,Serializable,Cloneable,Comparable<VirtualHost>
public class VirtualHostWrapper
extends BaseModelWrapper<VirtualHost>
implements ModelWrapper<VirtualHost>, VirtualHost
This class is a wrapper for VirtualHost.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.VirtualHost
VIRTUAL_HOST_ID_ACCESSOR -
Constructor Summary
Constructors -
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.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected VirtualHostWrapperwrap(VirtualHost virtualHost) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
VirtualHostWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<VirtualHost>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<VirtualHost>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<VirtualHost>- Specified by:
cloneWithOriginalValuesin interfaceVirtualHostModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this virtual host.- Specified by:
getCompanyIdin interfaceVirtualHostModel- Returns:
- the company ID of this virtual host
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this virtual host.- Specified by:
getCtCollectionIdin interfaceCTModel<VirtualHost>- Specified by:
getCtCollectionIdin interfaceVirtualHostModel- Returns:
- the ct collection ID of this virtual host
-
getDefaultVirtualHost
public boolean getDefaultVirtualHost()Returns the default virtual host of this virtual host.- Specified by:
getDefaultVirtualHostin interfaceVirtualHostModel- Returns:
- the default virtual host of this virtual host
-
getHostname
Returns the hostname of this virtual host.- Specified by:
getHostnamein interfaceVirtualHostModel- Returns:
- the hostname of this virtual host
-
getLanguageId
Returns the language ID of this virtual host.- Specified by:
getLanguageIdin interfaceVirtualHostModel- Returns:
- the language ID of this virtual host
-
getLayoutSetId
public long getLayoutSetId()Returns the layout set ID of this virtual host.- Specified by:
getLayoutSetIdin interfaceVirtualHostModel- Returns:
- the layout set ID of this virtual host
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this virtual host.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceVirtualHostModel- Returns:
- the mvcc version of this virtual host
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this virtual host.- Specified by:
getPrimaryKeyin interfaceCTModel<VirtualHost>- Specified by:
getPrimaryKeyin interfaceVirtualHostModel- Returns:
- the primary key of this virtual host
-
getVirtualHostId
public long getVirtualHostId()Returns the virtual host ID of this virtual host.- Specified by:
getVirtualHostIdin interfaceVirtualHostModel- Returns:
- the virtual host ID of this virtual host
-
isDefaultVirtualHost
public boolean isDefaultVirtualHost()Returnstrueif this virtual host is default virtual host.- Specified by:
isDefaultVirtualHostin interfaceVirtualHostModel- Returns:
trueif this virtual host is default virtual host;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this virtual host.- Specified by:
setCompanyIdin interfaceVirtualHostModel- Parameters:
companyId- the company ID of this virtual host
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this virtual host.- Specified by:
setCtCollectionIdin interfaceCTModel<VirtualHost>- Specified by:
setCtCollectionIdin interfaceVirtualHostModel- Parameters:
ctCollectionId- the ct collection ID of this virtual host
-
setDefaultVirtualHost
public void setDefaultVirtualHost(boolean defaultVirtualHost) Sets whether this virtual host is default virtual host.- Specified by:
setDefaultVirtualHostin interfaceVirtualHostModel- Parameters:
defaultVirtualHost- the default virtual host of this virtual host
-
setHostname
Sets the hostname of this virtual host.- Specified by:
setHostnamein interfaceVirtualHostModel- Parameters:
hostname- the hostname of this virtual host
-
setLanguageId
Sets the language ID of this virtual host.- Specified by:
setLanguageIdin interfaceVirtualHostModel- Parameters:
languageId- the language ID of this virtual host
-
setLayoutSetId
public void setLayoutSetId(long layoutSetId) Sets the layout set ID of this virtual host.- Specified by:
setLayoutSetIdin interfaceVirtualHostModel- Parameters:
layoutSetId- the layout set ID of this virtual host
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this virtual host.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceVirtualHostModel- Parameters:
mvccVersion- the mvcc version of this virtual host
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this virtual host.- Specified by:
setPrimaryKeyin interfaceCTModel<VirtualHost>- Specified by:
setPrimaryKeyin interfaceVirtualHostModel- Parameters:
primaryKey- the primary key of this virtual host
-
setVirtualHostId
public void setVirtualHostId(long virtualHostId) Sets the virtual host ID of this virtual host.- Specified by:
setVirtualHostIdin interfaceVirtualHostModel- Parameters:
virtualHostId- the virtual host ID of this virtual host
-
toXmlString
- Specified by:
toXmlStringin interfaceVirtualHostModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<VirtualHost>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<VirtualHost>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<VirtualHost>
-