Interface PortletItemModel

All Superinterfaces:
AuditedModel, BaseModel<PortletItem>, ClassedModel, Cloneable, Comparable<PortletItem>, GroupedModel, MVCCModel, Serializable, ShardedModel, TypedModel
All Known Subinterfaces:
PortletItem
All Known Implementing Classes:
PortletItemWrapper

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

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

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

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this portlet item.
      Returns:
      the primary key of this portlet item
    • setPrimaryKey

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

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

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

      long getPortletItemId()
      Returns the portlet item ID of this portlet item.
      Returns:
      the portlet item ID of this portlet item
    • setPortletItemId

      void setPortletItemId(long portletItemId)
      Sets the portlet item ID of this portlet item.
      Parameters:
      portletItemId - the portlet item ID of this portlet item
    • getGroupId

      long getGroupId()
      Returns the group ID of this portlet item.
      Specified by:
      getGroupId in interface GroupedModel
      Returns:
      the group ID of this portlet item
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this portlet item.
      Specified by:
      setGroupId in interface GroupedModel
      Parameters:
      groupId - the group ID of this portlet item
    • getCompanyId

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

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

      long getUserId()
      Returns the user ID of this portlet item.
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this portlet item
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this portlet item.
      Specified by:
      setUserId in interface AuditedModel
      Parameters:
      userId - the user ID of this portlet item
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this portlet item.
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this portlet item
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this portlet item.
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this portlet item
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this portlet item.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this portlet item
    • setUserName

      void setUserName(String userName)
      Sets the user name of this portlet item.
      Specified by:
      setUserName in interface AuditedModel
      Parameters:
      userName - the user name of this portlet item
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this portlet item.
      Specified by:
      getCreateDate in interface AuditedModel
      Returns:
      the create date of this portlet item
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this portlet item.
      Specified by:
      setCreateDate in interface AuditedModel
      Parameters:
      createDate - the create date of this portlet item
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this portlet item.
      Specified by:
      getModifiedDate in interface AuditedModel
      Returns:
      the modified date of this portlet item
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this portlet item.
      Specified by:
      setModifiedDate in interface AuditedModel
      Parameters:
      modifiedDate - the modified date of this portlet item
    • getName

      @AutoEscape String getName()
      Returns the name of this portlet item.
      Returns:
      the name of this portlet item
    • setName

      void setName(String name)
      Sets the name of this portlet item.
      Parameters:
      name - the name of this portlet item
    • getPortletId

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

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

      String getClassName()
      Returns the fully qualified class name of this portlet item.
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this portlet item
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this portlet item.
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this portlet item
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this portlet item.
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this portlet item
    • cloneWithOriginalValues

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

      default String toXmlString()