Interface PortalPreferencesModel

All Superinterfaces:
BaseModel<PortalPreferences>, ClassedModel, Cloneable, Comparable<PortalPreferences>, MVCCModel, Serializable, ShardedModel
All Known Subinterfaces:
PortalPreferences
All Known Implementing Classes:
PortalPreferencesWrapper

@ProviderType public interface PortalPreferencesModel extends BaseModel<PortalPreferences>, MVCCModel, ShardedModel
The base model interface for the PortalPreferences service. Represents a row in the "PortalPreferences" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portal.model.impl.PortalPreferencesModelImpl 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.PortalPreferencesImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this portal preferences.
      Returns:
      the primary key of this portal preferences
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this portal preferences.
      Parameters:
      primaryKey - the primary key of this portal preferences
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this portal preferences.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this portal preferences
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this portal preferences.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this portal preferences
    • getPortalPreferencesId

      long getPortalPreferencesId()
      Returns the portal preferences ID of this portal preferences.
      Returns:
      the portal preferences ID of this portal preferences
    • setPortalPreferencesId

      void setPortalPreferencesId(long portalPreferencesId)
      Sets the portal preferences ID of this portal preferences.
      Parameters:
      portalPreferencesId - the portal preferences ID of this portal preferences
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this portal preferences.
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this portal preferences
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this portal preferences.
      Specified by:
      setCompanyId in interface ShardedModel
      Parameters:
      companyId - the company ID of this portal preferences
    • getOwnerId

      long getOwnerId()
      Returns the owner ID of this portal preferences.
      Returns:
      the owner ID of this portal preferences
    • setOwnerId

      void setOwnerId(long ownerId)
      Sets the owner ID of this portal preferences.
      Parameters:
      ownerId - the owner ID of this portal preferences
    • getOwnerType

      int getOwnerType()
      Returns the owner type of this portal preferences.
      Returns:
      the owner type of this portal preferences
    • setOwnerType

      void setOwnerType(int ownerType)
      Sets the owner type of this portal preferences.
      Parameters:
      ownerType - the owner type of this portal preferences
    • cloneWithOriginalValues

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

      default String toXmlString()