Class AssetLinkWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AssetLink>
com.liferay.asset.link.model.AssetLinkWrapper
All Implemented Interfaces:
AssetLink, AssetLinkModel, com.liferay.portal.kernel.model.BaseModel<AssetLink>, com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<AssetLink>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<AssetLink>

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

This class is a wrapper for AssetLink.

See Also:
Generated:
  • Field Summary

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

    model
    ENTRY_ID2_ACCESSOR, LINK_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    long
    Returns the company ID of this asset link.
    Returns the create date of this asset link.
    long
    Returns the ct collection ID of this asset link.
    long
    Returns the entry id1 of this asset link.
    long
    Returns the entry id2 of this asset link.
    long
    Returns the link ID of this asset link.
     
    long
    Returns the mvcc version of this asset link.
    long
    Returns the primary key of this asset link.
    int
    Returns the type of this asset link.
    long
    Returns the user ID of this asset link.
    Returns the user name of this asset link.
    Returns the user uuid of this asset link.
    int
    Returns the weight of this asset link.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this asset link.
    void
    setCreateDate(Date createDate)
    Sets the create date of this asset link.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this asset link.
    void
    setEntryId1(long entryId1)
    Sets the entry id1 of this asset link.
    void
    setEntryId2(long entryId2)
    Sets the entry id2 of this asset link.
    void
    setLinkId(long linkId)
    Sets the link ID of this asset link.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this asset link.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this asset link.
    void
    setType(int type)
    Sets the type of this asset link.
    void
    setUserId(long userId)
    Sets the user ID of this asset link.
    void
    setUserName(String userName)
    Sets the user name of this asset link.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this asset link.
    void
    setWeight(int weight)
    Sets the weight of this asset link.
     
    wrap(AssetLink assetLink)
     

    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, 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
  • Constructor Details

    • AssetLinkWrapper

      public AssetLinkWrapper(AssetLink assetLink)
  • Method Details

    • getModelAttributes

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

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

      public AssetLink cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface AssetLinkModel
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<AssetLink>
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this asset link.
      Specified by:
      getCompanyId in interface AssetLinkModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this asset link
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this asset link.
      Specified by:
      getCreateDate in interface AssetLinkModel
      Returns:
      the create date of this asset link
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this asset link.
      Specified by:
      getCtCollectionId in interface AssetLinkModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>
      Returns:
      the ct collection ID of this asset link
    • getEntryId1

      public long getEntryId1()
      Returns the entry id1 of this asset link.
      Specified by:
      getEntryId1 in interface AssetLinkModel
      Returns:
      the entry id1 of this asset link
    • getEntryId2

      public long getEntryId2()
      Returns the entry id2 of this asset link.
      Specified by:
      getEntryId2 in interface AssetLinkModel
      Returns:
      the entry id2 of this asset link
    • getLinkId

      public long getLinkId()
      Returns the link ID of this asset link.
      Specified by:
      getLinkId in interface AssetLinkModel
      Returns:
      the link ID of this asset link
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this asset link.
      Specified by:
      getMvccVersion in interface AssetLinkModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this asset link
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this asset link.
      Specified by:
      getPrimaryKey in interface AssetLinkModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>
      Returns:
      the primary key of this asset link
    • getType

      public int getType()
      Returns the type of this asset link.
      Specified by:
      getType in interface AssetLinkModel
      Returns:
      the type of this asset link
    • getUserId

      public long getUserId()
      Returns the user ID of this asset link.
      Specified by:
      getUserId in interface AssetLinkModel
      Returns:
      the user ID of this asset link
    • getUserName

      public String getUserName()
      Returns the user name of this asset link.
      Specified by:
      getUserName in interface AssetLinkModel
      Returns:
      the user name of this asset link
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this asset link.
      Specified by:
      getUserUuid in interface AssetLinkModel
      Returns:
      the user uuid of this asset link
    • getWeight

      public int getWeight()
      Returns the weight of this asset link.
      Specified by:
      getWeight in interface AssetLinkModel
      Returns:
      the weight of this asset link
    • persist

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

      public void setCompanyId(long companyId)
      Sets the company ID of this asset link.
      Specified by:
      setCompanyId in interface AssetLinkModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this asset link
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this asset link.
      Specified by:
      setCreateDate in interface AssetLinkModel
      Parameters:
      createDate - the create date of this asset link
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this asset link.
      Specified by:
      setCtCollectionId in interface AssetLinkModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>
      Parameters:
      ctCollectionId - the ct collection ID of this asset link
    • setEntryId1

      public void setEntryId1(long entryId1)
      Sets the entry id1 of this asset link.
      Specified by:
      setEntryId1 in interface AssetLinkModel
      Parameters:
      entryId1 - the entry id1 of this asset link
    • setEntryId2

      public void setEntryId2(long entryId2)
      Sets the entry id2 of this asset link.
      Specified by:
      setEntryId2 in interface AssetLinkModel
      Parameters:
      entryId2 - the entry id2 of this asset link
    • setLinkId

      public void setLinkId(long linkId)
      Sets the link ID of this asset link.
      Specified by:
      setLinkId in interface AssetLinkModel
      Parameters:
      linkId - the link ID of this asset link
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this asset link.
      Specified by:
      setMvccVersion in interface AssetLinkModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this asset link
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this asset link.
      Specified by:
      setPrimaryKey in interface AssetLinkModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<AssetLink>
      Parameters:
      primaryKey - the primary key of this asset link
    • setType

      public void setType(int type)
      Sets the type of this asset link.
      Specified by:
      setType in interface AssetLinkModel
      Parameters:
      type - the type of this asset link
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this asset link.
      Specified by:
      setUserId in interface AssetLinkModel
      Parameters:
      userId - the user ID of this asset link
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this asset link.
      Specified by:
      setUserName in interface AssetLinkModel
      Parameters:
      userName - the user name of this asset link
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this asset link.
      Specified by:
      setUserUuid in interface AssetLinkModel
      Parameters:
      userUuid - the user uuid of this asset link
    • setWeight

      public void setWeight(int weight)
      Sets the weight of this asset link.
      Specified by:
      setWeight in interface AssetLinkModel
      Parameters:
      weight - the weight of this asset link
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface AssetLinkModel
    • getAttributeGetterFunctions

      public Map<String,Function<AssetLink,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<AssetLink>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<AssetLink,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<AssetLink>
    • wrap

      protected AssetLinkWrapper wrap(AssetLink assetLink)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AssetLink>