Class TrashVersionWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TrashVersion>
com.liferay.trash.model.TrashVersionWrapper
All Implemented Interfaces:
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.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<TrashVersion>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, TrashVersion, TrashVersionModel, Serializable, Cloneable, Comparable<TrashVersion>

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

This class is a wrapper for TrashVersion.

See Also:
Generated:
  • Constructor Details

    • TrashVersionWrapper

      public TrashVersionWrapper(TrashVersion trashVersion)
  • Method Details

    • getModelAttributes

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

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

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

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

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

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

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

      public 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>
      Specified by:
      getCtCollectionId in interface TrashVersionModel
      Returns:
      the ct collection ID of this trash version
    • getEntryId

      public long getEntryId()
      Returns the entry ID of this trash version.
      Specified by:
      getEntryId in interface TrashVersionModel
      Returns:
      the entry ID of this trash version
    • getMvccVersion

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

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

      public int getStatus()
      Returns the status of this trash version.
      Specified by:
      getStatus in interface TrashVersionModel
      Returns:
      the status of this trash version
    • getTypeSettings

      public String getTypeSettings()
      Returns the type settings of this trash version.
      Specified by:
      getTypeSettings in interface TrashVersionModel
      Returns:
      the type settings of this trash version
    • getTypeSettingsProperties

      public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
      Specified by:
      getTypeSettingsProperties in interface TrashVersion
    • getTypeSettingsProperty

      public String getTypeSettingsProperty(String key)
      Specified by:
      getTypeSettingsProperty in interface TrashVersion
    • getTypeSettingsProperty

      public String getTypeSettingsProperty(String key, String defaultValue)
      Specified by:
      getTypeSettingsProperty in interface TrashVersion
    • getVersionId

      public long getVersionId()
      Returns the version ID of this trash version.
      Specified by:
      getVersionId in interface TrashVersionModel
      Returns:
      the version ID of this trash version
    • persist

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

      public void setClassName(String className)
      Specified by:
      setClassName in interface TrashVersionModel
    • setClassNameId

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

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

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

      public 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>
      Specified by:
      setCtCollectionId in interface TrashVersionModel
      Parameters:
      ctCollectionId - the ct collection ID of this trash version
    • setEntryId

      public void setEntryId(long entryId)
      Sets the entry ID of this trash version.
      Specified by:
      setEntryId in interface TrashVersionModel
      Parameters:
      entryId - the entry ID of this trash version
    • setMvccVersion

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

      public 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>
      Specified by:
      setPrimaryKey in interface TrashVersionModel
      Parameters:
      primaryKey - the primary key of this trash version
    • setStatus

      public void setStatus(int status)
      Sets the status of this trash version.
      Specified by:
      setStatus in interface TrashVersionModel
      Parameters:
      status - the status of this trash version
    • setTypeSettings

      public void setTypeSettings(String typeSettings)
      Sets the type settings of this trash version.
      Specified by:
      setTypeSettings in interface TrashVersionModel
      Parameters:
      typeSettings - the type settings of this trash version
    • setTypeSettingsProperties

      public void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
      Specified by:
      setTypeSettingsProperties in interface TrashVersion
    • setVersionId

      public void setVersionId(long versionId)
      Sets the version ID of this trash version.
      Specified by:
      setVersionId in interface TrashVersionModel
      Parameters:
      versionId - the version ID of this trash version
    • toXmlString

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

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

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

      protected TrashVersionWrapper wrap(TrashVersion trashVersion)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TrashVersion>