Interface TrashVersionModel

All Superinterfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<TrashVersion>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<TrashVersion>, com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel
All Known Subinterfaces:
TrashVersion
All Known Implementing Classes:
TrashVersionWrapper

@ProviderType public interface TrashVersionModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<TrashVersion>, com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the TrashVersion service. Represents a row in the "TrashVersion" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.trash.model.impl.TrashVersionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.trash.model.impl.TrashVersionImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the fully qualified class name of this trash version.
    long
    Returns the class name ID of this trash version.
    long
    Returns the class pk of this trash version.
    long
    Returns the company ID of this trash version.
    long
    Returns the ct collection ID of this trash version.
    long
    Returns the entry ID of this trash version.
    long
    Returns the mvcc version of this trash version.
    long
    Returns the primary key of this trash version.
    int
    Returns the status of this trash version.
    Returns the type settings of this trash version.
    long
    Returns the version ID of this trash version.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this trash version.
    void
    setClassPK(long classPK)
    Sets the class pk of this trash version.
    void
    setCompanyId(long companyId)
    Sets the company ID of this trash version.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this trash version.
    void
    setEntryId(long entryId)
    Sets the entry ID of this trash version.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this trash version.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this trash version.
    void
    setStatus(int status)
    Sets the status of this trash version.
    void
    setTypeSettings(String typeSettings)
    Sets the type settings of this trash version.
    void
    setVersionId(long versionId)
    Sets the version ID of this trash version.
    default String
     

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

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this trash version.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>
      Returns:
      the primary key of this trash version
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this trash version.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>
      Parameters:
      primaryKey - the primary key of this trash version
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this trash version.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this trash version
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this trash version.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this trash version
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this trash version.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>
      Returns:
      the ct collection ID of this trash version
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this trash version.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashVersion>
      Parameters:
      ctCollectionId - the ct collection ID of this trash version
    • getVersionId

      long getVersionId()
      Returns the version ID of this trash version.
      Returns:
      the version ID of this trash version
    • setVersionId

      void setVersionId(long versionId)
      Sets the version ID of this trash version.
      Parameters:
      versionId - the version ID of this trash version
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this trash version.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this trash version
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this trash version.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this trash version
    • getEntryId

      long getEntryId()
      Returns the entry ID of this trash version.
      Returns:
      the entry ID of this trash version
    • setEntryId

      void setEntryId(long entryId)
      Sets the entry ID of this trash version.
      Parameters:
      entryId - the entry ID of this trash version
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this trash version.
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this trash version
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this trash version.
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this trash version
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this trash version.
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this trash version
    • getClassPK

      long getClassPK()
      Returns the class pk of this trash version.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Returns:
      the class pk of this trash version
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this trash version.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Parameters:
      classPK - the class pk of this trash version
    • getTypeSettings

      @AutoEscape String getTypeSettings()
      Returns the type settings of this trash version.
      Returns:
      the type settings of this trash version
    • setTypeSettings

      void setTypeSettings(String typeSettings)
      Sets the type settings of this trash version.
      Parameters:
      typeSettings - the type settings of this trash version
    • getStatus

      int getStatus()
      Returns the status of this trash version.
      Returns:
      the status of this trash version
    • setStatus

      void setStatus(int status)
      Sets the status of this trash version.
      Parameters:
      status - the status of this trash version
    • cloneWithOriginalValues

      TrashVersion cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>
    • toXmlString

      default String toXmlString()