Class CTSContentWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTSContent>
com.liferay.change.tracking.store.model.CTSContentWrapper
All Implemented Interfaces:
CTSContent, CTSContentModel, com.liferay.portal.kernel.model.BaseModel<CTSContent>, com.liferay.portal.kernel.model.change.tracking.CTModel<CTSContent>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CTSContent>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CTSContent>

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

This class is a wrapper for CTSContent.

See Also:
Generated:
  • Field Summary

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

    model

    Fields inherited from interface com.liferay.change.tracking.store.model.CTSContent

    CTS_CONTENT_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    long
    Returns the company ID of this cts content.
    long
    Returns the ct collection ID of this cts content.
    long
    Returns the cts content ID of this cts content.
    Returns the data of this cts content.
     
    long
    Returns the mvcc version of this cts content.
    Returns the path of this cts content.
    long
    Returns the primary key of this cts content.
    long
    Returns the repository ID of this cts content.
    long
    Returns the size of this cts content.
    Returns the store type of this cts content.
    Returns the version of this cts content.
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this cts content.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this cts content.
    void
    setCtsContentId(long ctsContentId)
    Sets the cts content ID of this cts content.
    void
    setData(Blob data)
    Sets the data of this cts content.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this cts content.
    void
    Sets the path of this cts content.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this cts content.
    void
    setRepositoryId(long repositoryId)
    Sets the repository ID of this cts content.
    void
    setSize(long size)
    Sets the size of this cts content.
    void
    setStoreType(String storeType)
    Sets the store type of this cts content.
    void
    setVersion(String version)
    Sets the version of this cts content.
     
    wrap(CTSContent ctsContent)
     

    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

    • CTSContentWrapper

      public CTSContentWrapper(CTSContent ctsContent)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this cts content.
      Specified by:
      getCompanyId in interface CTSContentModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this cts content
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this cts content.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CTSContent>
      Specified by:
      getCtCollectionId in interface CTSContentModel
      Returns:
      the ct collection ID of this cts content
    • getCtsContentId

      public long getCtsContentId()
      Returns the cts content ID of this cts content.
      Specified by:
      getCtsContentId in interface CTSContentModel
      Returns:
      the cts content ID of this cts content
    • getData

      public Blob getData()
      Returns the data of this cts content.
      Specified by:
      getData in interface CTSContentModel
      Returns:
      the data of this cts content
    • getMvccVersion

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

      public String getPath()
      Returns the path of this cts content.
      Specified by:
      getPath in interface CTSContentModel
      Returns:
      the path of this cts content
    • getPrimaryKey

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

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

      public long getSize()
      Returns the size of this cts content.
      Specified by:
      getSize in interface CTSContentModel
      Returns:
      the size of this cts content
    • getStoreType

      public String getStoreType()
      Returns the store type of this cts content.
      Specified by:
      getStoreType in interface CTSContentModel
      Returns:
      the store type of this cts content
    • getVersion

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

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this cts content.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CTSContent>
      Specified by:
      setCtCollectionId in interface CTSContentModel
      Parameters:
      ctCollectionId - the ct collection ID of this cts content
    • setCtsContentId

      public void setCtsContentId(long ctsContentId)
      Sets the cts content ID of this cts content.
      Specified by:
      setCtsContentId in interface CTSContentModel
      Parameters:
      ctsContentId - the cts content ID of this cts content
    • setData

      public void setData(Blob data)
      Sets the data of this cts content.
      Specified by:
      setData in interface CTSContentModel
      Parameters:
      data - the data of this cts content
    • setMvccVersion

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

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

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

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

      public void setSize(long size)
      Sets the size of this cts content.
      Specified by:
      setSize in interface CTSContentModel
      Parameters:
      size - the size of this cts content
    • setStoreType

      public void setStoreType(String storeType)
      Sets the store type of this cts content.
      Specified by:
      setStoreType in interface CTSContentModel
      Parameters:
      storeType - the store type of this cts content
    • setVersion

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

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

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

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

      protected CTSContentWrapper wrap(CTSContent ctsContent)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CTSContent>