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 Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this virtual host.
      Specified by:
      getPrimaryKey in interface CTModel<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 interface CTModel<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 interface MVCCModel
      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 interface MVCCModel
      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 interface CTModel<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 interface CTModel<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

      @AutoEscape String getHostname()
      Returns the hostname of this virtual host.
      Returns:
      the hostname of this virtual host
    • setHostname

      void setHostname(String hostname)
      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()
      Returns true 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

      @AutoEscape String getLanguageId()
      Returns the language ID of this virtual host.
      Returns:
      the language ID of this virtual host
    • setLanguageId

      void setLanguageId(String languageId)
      Sets the language ID of this virtual host.
      Parameters:
      languageId - the language ID of this virtual host
    • cloneWithOriginalValues

      VirtualHost cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<VirtualHost>
    • toXmlString

      default String toXmlString()