Interface SharingEntryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<SharingEntry>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<SharingEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TypedModel
All Known Subinterfaces:
SharingEntry
All Known Implementing Classes:
SharingEntryWrapper

@ProviderType public interface SharingEntryModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<SharingEntry>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the SharingEntry service. Represents a row in the "SharingEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.sharing.model.impl.SharingEntryModelImpl 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.sharing.model.impl.SharingEntryImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the action IDs of this sharing entry.
    Returns the fully qualified class name of this sharing entry.
    long
    Returns the class name ID of this sharing entry.
    long
    Returns the class pk of this sharing entry.
    long
    Returns the company ID of this sharing entry.
    Returns the create date of this sharing entry.
    Returns the expiration date of this sharing entry.
    Returns the external reference code of this sharing entry.
    long
    Returns the group ID of this sharing entry.
    Returns the modified date of this sharing entry.
    long
    Returns the primary key of this sharing entry.
    boolean
    Returns the shareable of this sharing entry.
    long
    Returns the sharing entry ID of this sharing entry.
    long
    Returns the to user group ID of this sharing entry.
    long
    Returns the to user ID of this sharing entry.
    Returns the to user uuid of this sharing entry.
    long
    Returns the user ID of this sharing entry.
    Returns the user name of this sharing entry.
    Returns the user uuid of this sharing entry.
    Returns the uuid of this sharing entry.
    boolean
    Returns true if this sharing entry is shareable.
    void
    setActionIds(long actionIds)
    Sets the action IDs of this sharing entry.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this sharing entry.
    void
    setClassPK(long classPK)
    Sets the class pk of this sharing entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this sharing entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this sharing entry.
    void
    setExpirationDate(Date expirationDate)
    Sets the expiration date of this sharing entry.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this sharing entry.
    void
    setGroupId(long groupId)
    Sets the group ID of this sharing entry.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this sharing entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this sharing entry.
    void
    setShareable(boolean shareable)
    Sets whether this sharing entry is shareable.
    void
    setSharingEntryId(long sharingEntryId)
    Sets the sharing entry ID of this sharing entry.
    void
    setToUserGroupId(long toUserGroupId)
    Sets the to user group ID of this sharing entry.
    void
    setToUserId(long toUserId)
    Sets the to user ID of this sharing entry.
    void
    setToUserUuid(String toUserUuid)
    Sets the to user uuid of this sharing entry.
    void
    setUserId(long userId)
    Sets the user ID of this sharing entry.
    void
    setUserName(String userName)
    Sets the user name of this sharing entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this sharing entry.
    void
    Sets the uuid of this sharing entry.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this sharing entry.
      Returns:
      the primary key of this sharing entry
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this sharing entry.
      Parameters:
      primaryKey - the primary key of this sharing entry
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this sharing entry.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this sharing entry
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this sharing entry.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this sharing entry
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this sharing entry.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this sharing entry
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this sharing entry.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this sharing entry
    • getSharingEntryId

      long getSharingEntryId()
      Returns the sharing entry ID of this sharing entry.
      Returns:
      the sharing entry ID of this sharing entry
    • setSharingEntryId

      void setSharingEntryId(long sharingEntryId)
      Sets the sharing entry ID of this sharing entry.
      Parameters:
      sharingEntryId - the sharing entry ID of this sharing entry
    • getGroupId

      long getGroupId()
      Returns the group ID of this sharing entry.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this sharing entry
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this sharing entry.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this sharing entry
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this sharing entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this sharing entry
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this sharing entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this sharing entry
    • getUserId

      long getUserId()
      Returns the user ID of this sharing entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this sharing entry
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this sharing entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this sharing entry
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this sharing entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this sharing entry
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this sharing entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this sharing entry
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this sharing entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this sharing entry
    • setUserName

      void setUserName(String userName)
      Sets the user name of this sharing entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this sharing entry
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this sharing entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this sharing entry
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this sharing entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this sharing entry
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this sharing entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this sharing entry
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this sharing entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this sharing entry
    • getToUserGroupId

      long getToUserGroupId()
      Returns the to user group ID of this sharing entry.
      Returns:
      the to user group ID of this sharing entry
    • setToUserGroupId

      void setToUserGroupId(long toUserGroupId)
      Sets the to user group ID of this sharing entry.
      Parameters:
      toUserGroupId - the to user group ID of this sharing entry
    • getToUserId

      long getToUserId()
      Returns the to user ID of this sharing entry.
      Returns:
      the to user ID of this sharing entry
    • setToUserId

      void setToUserId(long toUserId)
      Sets the to user ID of this sharing entry.
      Parameters:
      toUserId - the to user ID of this sharing entry
    • getToUserUuid

      String getToUserUuid()
      Returns the to user uuid of this sharing entry.
      Returns:
      the to user uuid of this sharing entry
    • setToUserUuid

      void setToUserUuid(String toUserUuid)
      Sets the to user uuid of this sharing entry.
      Parameters:
      toUserUuid - the to user uuid of this sharing entry
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this sharing entry.
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this sharing entry
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this sharing entry.
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this sharing entry
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this sharing entry.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this sharing entry
    • getClassPK

      long getClassPK()
      Returns the class pk of this sharing entry.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Returns:
      the class pk of this sharing entry
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this sharing entry.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Parameters:
      classPK - the class pk of this sharing entry
    • getShareable

      boolean getShareable()
      Returns the shareable of this sharing entry.
      Returns:
      the shareable of this sharing entry
    • isShareable

      boolean isShareable()
      Returns true if this sharing entry is shareable.
      Returns:
      true if this sharing entry is shareable; false otherwise
    • setShareable

      void setShareable(boolean shareable)
      Sets whether this sharing entry is shareable.
      Parameters:
      shareable - the shareable of this sharing entry
    • getActionIds

      long getActionIds()
      Returns the action IDs of this sharing entry.
      Returns:
      the action IDs of this sharing entry
    • setActionIds

      void setActionIds(long actionIds)
      Sets the action IDs of this sharing entry.
      Parameters:
      actionIds - the action IDs of this sharing entry
    • getExpirationDate

      Date getExpirationDate()
      Returns the expiration date of this sharing entry.
      Returns:
      the expiration date of this sharing entry
    • setExpirationDate

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this sharing entry.
      Parameters:
      expirationDate - the expiration date of this sharing entry
    • cloneWithOriginalValues

      SharingEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<SharingEntry>
    • toXmlString

      default String toXmlString()