Class SharingEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharingEntry>
com.liferay.sharing.model.SharingEntryWrapper
All Implemented Interfaces:
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, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<SharingEntry>, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TypedModel, SharingEntry, SharingEntryModel, Serializable, Cloneable, Comparable<SharingEntry>

public class SharingEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharingEntry> implements com.liferay.portal.kernel.model.ModelWrapper<SharingEntry>, SharingEntry

This class is a wrapper for SharingEntry.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.sharing.model.SharingEntry

    SHARING_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    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 the sharing entry has the sharing entry action.
    boolean
    Returns true if this sharing entry is shareable.
    void
     
    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
     
    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.
     
    wrap(SharingEntry sharingEntry)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

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

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

    getWrappedModel

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

    clone
  • Constructor Details

    • SharingEntryWrapper

      public SharingEntryWrapper(SharingEntry sharingEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<SharingEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<SharingEntry>
    • cloneWithOriginalValues

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

      public long getActionIds()
      Returns the action IDs of this sharing entry.
      Specified by:
      getActionIds in interface SharingEntryModel
      Returns:
      the action IDs of this sharing entry
    • getClassName

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

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

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

      public 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 SharingEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this sharing entry
    • getCreateDate

      public 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 SharingEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this sharing entry
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this sharing entry.
      Specified by:
      getExpirationDate in interface SharingEntryModel
      Returns:
      the expiration date of this sharing entry
    • getExternalReferenceCode

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

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

      public 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 SharingEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this sharing entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this sharing entry.
      Specified by:
      getPrimaryKey in interface SharingEntryModel
      Returns:
      the primary key of this sharing entry
    • getShareable

      public boolean getShareable()
      Returns the shareable of this sharing entry.
      Specified by:
      getShareable in interface SharingEntryModel
      Returns:
      the shareable of this sharing entry
    • getSharingEntryId

      public long getSharingEntryId()
      Returns the sharing entry ID of this sharing entry.
      Specified by:
      getSharingEntryId in interface SharingEntryModel
      Returns:
      the sharing entry ID of this sharing entry
    • getToUserGroupId

      public long getToUserGroupId()
      Returns the to user group ID of this sharing entry.
      Specified by:
      getToUserGroupId in interface SharingEntryModel
      Returns:
      the to user group ID of this sharing entry
    • getToUserId

      public long getToUserId()
      Returns the to user ID of this sharing entry.
      Specified by:
      getToUserId in interface SharingEntryModel
      Returns:
      the to user ID of this sharing entry
    • getToUserUuid

      public String getToUserUuid()
      Returns the to user uuid of this sharing entry.
      Specified by:
      getToUserUuid in interface SharingEntryModel
      Returns:
      the to user uuid of this sharing entry
    • getUserId

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

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

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

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

      public boolean hasSharingPermission(SharingEntryAction sharingEntryAction)
      Returns true if the sharing entry has the sharing entry action.
      Specified by:
      hasSharingPermission in interface SharingEntry
      Parameters:
      sharingEntryAction - the sharing entry action
      Returns:
      true if the sharing entry has the sharing entry action; false otherwise
    • isShareable

      public boolean isShareable()
      Returns true if this sharing entry is shareable.
      Specified by:
      isShareable in interface SharingEntryModel
      Returns:
      true if this sharing entry is shareable; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setActionIds

      public void setActionIds(long actionIds)
      Sets the action IDs of this sharing entry.
      Specified by:
      setActionIds in interface SharingEntryModel
      Parameters:
      actionIds - the action IDs of this sharing entry
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface SharingEntryModel
    • setClassNameId

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

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

      public 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 SharingEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this sharing entry
    • setCreateDate

      public 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 SharingEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this sharing entry
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this sharing entry.
      Specified by:
      setExpirationDate in interface SharingEntryModel
      Parameters:
      expirationDate - the expiration date of this sharing entry
    • setExternalReferenceCode

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

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

      public 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 SharingEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this sharing entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this sharing entry.
      Specified by:
      setPrimaryKey in interface SharingEntryModel
      Parameters:
      primaryKey - the primary key of this sharing entry
    • setShareable

      public void setShareable(boolean shareable)
      Sets whether this sharing entry is shareable.
      Specified by:
      setShareable in interface SharingEntryModel
      Parameters:
      shareable - the shareable of this sharing entry
    • setSharingEntryId

      public void setSharingEntryId(long sharingEntryId)
      Sets the sharing entry ID of this sharing entry.
      Specified by:
      setSharingEntryId in interface SharingEntryModel
      Parameters:
      sharingEntryId - the sharing entry ID of this sharing entry
    • setToUserGroupId

      public void setToUserGroupId(long toUserGroupId)
      Sets the to user group ID of this sharing entry.
      Specified by:
      setToUserGroupId in interface SharingEntryModel
      Parameters:
      toUserGroupId - the to user group ID of this sharing entry
    • setToUserId

      public void setToUserId(long toUserId)
      Sets the to user ID of this sharing entry.
      Specified by:
      setToUserId in interface SharingEntryModel
      Parameters:
      toUserId - the to user ID of this sharing entry
    • setToUserUuid

      public void setToUserUuid(String toUserUuid)
      Sets the to user uuid of this sharing entry.
      Specified by:
      setToUserUuid in interface SharingEntryModel
      Parameters:
      toUserUuid - the to user uuid of this sharing entry
    • setUserId

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

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface SharingEntryModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected SharingEntryWrapper wrap(SharingEntry sharingEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SharingEntry>