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
model
Fields inherited from interface com.liferay.portal.kernel.model.VirtualHost
VIRTUAL_HOST_ID_ACCESSOR
-
Constructor Summary
Constructors -
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
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setModelAttributes
(Map<String, Object> attributes) 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.protected VirtualHostWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
VirtualHostWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<VirtualHost>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<VirtualHost>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<VirtualHost>
- Specified by:
cloneWithOriginalValues
in interfaceVirtualHostModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this virtual host.- Specified by:
getCompanyId
in interfaceVirtualHostModel
- Returns:
- the company ID of this virtual host
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this virtual host.- Specified by:
getCtCollectionId
in interfaceCTModel<VirtualHost>
- Specified by:
getCtCollectionId
in 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:
getDefaultVirtualHost
in interfaceVirtualHostModel
- Returns:
- the default virtual host of this virtual host
-
getHostname
Returns the hostname of this virtual host.- Specified by:
getHostname
in interfaceVirtualHostModel
- Returns:
- the hostname of this virtual host
-
getLanguageId
Returns the language ID of this virtual host.- Specified by:
getLanguageId
in interfaceVirtualHostModel
- Returns:
- the language ID of this virtual host
-
getLayoutSetId
public long getLayoutSetId()Returns the layout set ID of this virtual host.- Specified by:
getLayoutSetId
in interfaceVirtualHostModel
- Returns:
- the layout set ID of this virtual host
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this virtual host.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceVirtualHostModel
- Returns:
- the mvcc version of this virtual host
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this virtual host.- Specified by:
getPrimaryKey
in interfaceCTModel<VirtualHost>
- Specified by:
getPrimaryKey
in interfaceVirtualHostModel
- Returns:
- the primary key of this virtual host
-
getVirtualHostId
public long getVirtualHostId()Returns the virtual host ID of this virtual host.- Specified by:
getVirtualHostId
in interfaceVirtualHostModel
- Returns:
- the virtual host ID of this virtual host
-
isDefaultVirtualHost
public boolean isDefaultVirtualHost()Returnstrue
if this virtual host is default virtual host.- Specified by:
isDefaultVirtualHost
in interfaceVirtualHostModel
- Returns:
true
if this virtual host is default virtual host;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this virtual host.- Specified by:
setCompanyId
in 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:
setCtCollectionId
in interfaceCTModel<VirtualHost>
- Specified by:
setCtCollectionId
in 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:
setDefaultVirtualHost
in interfaceVirtualHostModel
- Parameters:
defaultVirtualHost
- the default virtual host of this virtual host
-
setHostname
Sets the hostname of this virtual host.- Specified by:
setHostname
in interfaceVirtualHostModel
- Parameters:
hostname
- the hostname of this virtual host
-
setLanguageId
Sets the language ID of this virtual host.- Specified by:
setLanguageId
in 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:
setLayoutSetId
in 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:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in interfaceCTModel<VirtualHost>
- Specified by:
setPrimaryKey
in 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:
setVirtualHostId
in interfaceVirtualHostModel
- Parameters:
virtualHostId
- the virtual host ID of this virtual host
-
toXmlString
- Specified by:
toXmlString
in interfaceVirtualHostModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<VirtualHost>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<VirtualHost>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<VirtualHost>
-