Interface PortletPreferencesModel

All Superinterfaces:
BaseModel<PortletPreferences>, ClassedModel, Cloneable, Comparable<PortletPreferences>, CTModel<PortletPreferences>, MVCCModel, Serializable, ShardedModel
All Known Subinterfaces:
PortletPreferences
All Known Implementing Classes:
PortletPreferencesWrapper

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

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

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

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this portlet preferences.
      Specified by:
      getPrimaryKey in interface CTModel<PortletPreferences>
      Returns:
      the primary key of this portlet preferences
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this portlet preferences.
      Specified by:
      setPrimaryKey in interface CTModel<PortletPreferences>
      Parameters:
      primaryKey - the primary key of this portlet preferences
    • getMvccVersion

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

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

      long getCtCollectionId()
      Returns the ct collection ID of this portlet preferences.
      Specified by:
      getCtCollectionId in interface CTModel<PortletPreferences>
      Returns:
      the ct collection ID of this portlet preferences
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this portlet preferences.
      Specified by:
      setCtCollectionId in interface CTModel<PortletPreferences>
      Parameters:
      ctCollectionId - the ct collection ID of this portlet preferences
    • getPortletPreferencesId

      long getPortletPreferencesId()
      Returns the portlet preferences ID of this portlet preferences.
      Returns:
      the portlet preferences ID of this portlet preferences
    • setPortletPreferencesId

      void setPortletPreferencesId(long portletPreferencesId)
      Sets the portlet preferences ID of this portlet preferences.
      Parameters:
      portletPreferencesId - the portlet preferences ID of this portlet preferences
    • getCompanyId

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

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

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

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

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

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

      long getPlid()
      Returns the plid of this portlet preferences.
      Returns:
      the plid of this portlet preferences
    • setPlid

      void setPlid(long plid)
      Sets the plid of this portlet preferences.
      Parameters:
      plid - the plid of this portlet preferences
    • getPortletId

      @AutoEscape String getPortletId()
      Returns the portlet ID of this portlet preferences.
      Returns:
      the portlet ID of this portlet preferences
    • setPortletId

      void setPortletId(String portletId)
      Sets the portlet ID of this portlet preferences.
      Parameters:
      portletId - the portlet ID of this portlet preferences
    • cloneWithOriginalValues

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

      default String toXmlString()