Class DLFileVersionPreviewWrapper

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

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

This class is a wrapper for DLFileVersionPreview.

See Also:
Generated:
  • Constructor Details

    • DLFileVersionPreviewWrapper

      public DLFileVersionPreviewWrapper(DLFileVersionPreview dlFileVersionPreview)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this dl file version preview.
      Specified by:
      getCompanyId in interface DLFileVersionPreviewModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this dl file version preview
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this dl file version preview.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLFileVersionPreview>
      Specified by:
      getCtCollectionId in interface DLFileVersionPreviewModel
      Returns:
      the ct collection ID of this dl file version preview
    • getDlFileVersionPreviewId

      public long getDlFileVersionPreviewId()
      Returns the dl file version preview ID of this dl file version preview.
      Specified by:
      getDlFileVersionPreviewId in interface DLFileVersionPreviewModel
      Returns:
      the dl file version preview ID of this dl file version preview
    • getFileEntryId

      public long getFileEntryId()
      Returns the file entry ID of this dl file version preview.
      Specified by:
      getFileEntryId in interface DLFileVersionPreviewModel
      Returns:
      the file entry ID of this dl file version preview
    • getFileVersionId

      public long getFileVersionId()
      Returns the file version ID of this dl file version preview.
      Specified by:
      getFileVersionId in interface DLFileVersionPreviewModel
      Returns:
      the file version ID of this dl file version preview
    • getGroupId

      public long getGroupId()
      Returns the group ID of this dl file version preview.
      Specified by:
      getGroupId in interface DLFileVersionPreviewModel
      Returns:
      the group ID of this dl file version preview
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this dl file version preview.
      Specified by:
      getMvccVersion in interface DLFileVersionPreviewModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this dl file version preview
    • getPreviewStatus

      public int getPreviewStatus()
      Returns the preview status of this dl file version preview.
      Specified by:
      getPreviewStatus in interface DLFileVersionPreviewModel
      Returns:
      the preview status of this dl file version preview
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this dl file version preview.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLFileVersionPreview>
      Specified by:
      getPrimaryKey in interface DLFileVersionPreviewModel
      Returns:
      the primary key of this dl file version preview
    • 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 dl file version preview.
      Specified by:
      setCompanyId in interface DLFileVersionPreviewModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this dl file version preview
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this dl file version preview.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLFileVersionPreview>
      Specified by:
      setCtCollectionId in interface DLFileVersionPreviewModel
      Parameters:
      ctCollectionId - the ct collection ID of this dl file version preview
    • setDlFileVersionPreviewId

      public void setDlFileVersionPreviewId(long dlFileVersionPreviewId)
      Sets the dl file version preview ID of this dl file version preview.
      Specified by:
      setDlFileVersionPreviewId in interface DLFileVersionPreviewModel
      Parameters:
      dlFileVersionPreviewId - the dl file version preview ID of this dl file version preview
    • setFileEntryId

      public void setFileEntryId(long fileEntryId)
      Sets the file entry ID of this dl file version preview.
      Specified by:
      setFileEntryId in interface DLFileVersionPreviewModel
      Parameters:
      fileEntryId - the file entry ID of this dl file version preview
    • setFileVersionId

      public void setFileVersionId(long fileVersionId)
      Sets the file version ID of this dl file version preview.
      Specified by:
      setFileVersionId in interface DLFileVersionPreviewModel
      Parameters:
      fileVersionId - the file version ID of this dl file version preview
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this dl file version preview.
      Specified by:
      setGroupId in interface DLFileVersionPreviewModel
      Parameters:
      groupId - the group ID of this dl file version preview
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this dl file version preview.
      Specified by:
      setMvccVersion in interface DLFileVersionPreviewModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this dl file version preview
    • setPreviewStatus

      public void setPreviewStatus(int previewStatus)
      Sets the preview status of this dl file version preview.
      Specified by:
      setPreviewStatus in interface DLFileVersionPreviewModel
      Parameters:
      previewStatus - the preview status of this dl file version preview
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this dl file version preview.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DLFileVersionPreview>
      Specified by:
      setPrimaryKey in interface DLFileVersionPreviewModel
      Parameters:
      primaryKey - the primary key of this dl file version preview
    • toXmlString

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

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

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

      protected DLFileVersionPreviewWrapper wrap(DLFileVersionPreview dlFileVersionPreview)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DLFileVersionPreview>