Class DLContentWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DLContent>
com.liferay.document.library.content.model.DLContentWrapper
All Implemented Interfaces:
DLContent, DLContentModel, com.liferay.portal.kernel.model.BaseModel<DLContent>, com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<DLContent>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<DLContent>

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

This class is a wrapper for DLContent.

See Also:
Generated:
  • Field Summary

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

    model

    Fields inherited from interface com.liferay.document.library.content.model.DLContent

    CONTENT_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    long
    Returns the company ID of this document library content.
    long
    Returns the content ID of this document library content.
    long
    Returns the ct collection ID of this document library content.
    Returns the data of this document library content.
    long
    Returns the group ID of this document library content.
     
    long
    Returns the mvcc version of this document library content.
    Returns the path of this document library content.
    long
    Returns the primary key of this document library content.
    long
    Returns the repository ID of this document library content.
    long
    Returns the size of this document library content.
    Returns the version of this document library content.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this document library content.
    void
    setContentId(long contentId)
    Sets the content ID of this document library content.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this document library content.
    void
    setData(Blob data)
    Sets the data of this document library content.
    void
    setGroupId(long groupId)
    Sets the group ID of this document library content.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this document library content.
    void
    Sets the path of this document library content.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this document library content.
    void
    setRepositoryId(long repositoryId)
    Sets the repository ID of this document library content.
    void
    setSize(long size)
    Sets the size of this document library content.
    void
    setVersion(String version)
    Sets the version of this document library content.
     
    wrap(DLContent dlContent)
     

    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

    • DLContentWrapper

      public DLContentWrapper(DLContent dlContent)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this document library content.
      Specified by:
      getCompanyId in interface DLContentModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this document library content
    • getContentId

      public long getContentId()
      Returns the content ID of this document library content.
      Specified by:
      getContentId in interface DLContentModel
      Returns:
      the content ID of this document library content
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this document library content.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
      Specified by:
      getCtCollectionId in interface DLContentModel
      Returns:
      the ct collection ID of this document library content
    • getData

      public Blob getData()
      Returns the data of this document library content.
      Specified by:
      getData in interface DLContentModel
      Returns:
      the data of this document library content
    • getGroupId

      public long getGroupId()
      Returns the group ID of this document library content.
      Specified by:
      getGroupId in interface DLContentModel
      Returns:
      the group ID of this document library content
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this document library content.
      Specified by:
      getMvccVersion in interface DLContentModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this document library content
    • getPath

      public String getPath()
      Returns the path of this document library content.
      Specified by:
      getPath in interface DLContentModel
      Returns:
      the path of this document library content
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this document library content.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
      Specified by:
      getPrimaryKey in interface DLContentModel
      Returns:
      the primary key of this document library content
    • getRepositoryId

      public long getRepositoryId()
      Returns the repository ID of this document library content.
      Specified by:
      getRepositoryId in interface DLContentModel
      Returns:
      the repository ID of this document library content
    • getSize

      public long getSize()
      Returns the size of this document library content.
      Specified by:
      getSize in interface DLContentModel
      Returns:
      the size of this document library content
    • getVersion

      public String getVersion()
      Returns the version of this document library content.
      Specified by:
      getVersion in interface DLContentModel
      Returns:
      the version of this document library content
    • 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 document library content.
      Specified by:
      setCompanyId in interface DLContentModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this document library content
    • setContentId

      public void setContentId(long contentId)
      Sets the content ID of this document library content.
      Specified by:
      setContentId in interface DLContentModel
      Parameters:
      contentId - the content ID of this document library content
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this document library content.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
      Specified by:
      setCtCollectionId in interface DLContentModel
      Parameters:
      ctCollectionId - the ct collection ID of this document library content
    • setData

      public void setData(Blob data)
      Sets the data of this document library content.
      Specified by:
      setData in interface DLContentModel
      Parameters:
      data - the data of this document library content
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this document library content.
      Specified by:
      setGroupId in interface DLContentModel
      Parameters:
      groupId - the group ID of this document library content
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this document library content.
      Specified by:
      setMvccVersion in interface DLContentModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this document library content
    • setPath

      public void setPath(String path)
      Sets the path of this document library content.
      Specified by:
      setPath in interface DLContentModel
      Parameters:
      path - the path of this document library content
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this document library content.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLContent>
      Specified by:
      setPrimaryKey in interface DLContentModel
      Parameters:
      primaryKey - the primary key of this document library content
    • setRepositoryId

      public void setRepositoryId(long repositoryId)
      Sets the repository ID of this document library content.
      Specified by:
      setRepositoryId in interface DLContentModel
      Parameters:
      repositoryId - the repository ID of this document library content
    • setSize

      public void setSize(long size)
      Sets the size of this document library content.
      Specified by:
      setSize in interface DLContentModel
      Parameters:
      size - the size of this document library content
    • setVersion

      public void setVersion(String version)
      Sets the version of this document library content.
      Specified by:
      setVersion in interface DLContentModel
      Parameters:
      version - the version of this document library content
    • toXmlString

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

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

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

      protected DLContentWrapper wrap(DLContent dlContent)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DLContent>