Class TrashEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TrashEntry>
com.liferay.trash.model.TrashEntryWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<TrashEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<TrashEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<TrashEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, TrashEntry, TrashEntryModel, Serializable, Cloneable, Comparable<TrashEntry>

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

This class is a wrapper for TrashEntry.

See Also:
Generated:
  • Constructor Details

    • TrashEntryWrapper

      public TrashEntryWrapper(TrashEntry trashEntry)
  • Method Details

    • getModelAttributes

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

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

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

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

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

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

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

      public Date getCreateDate()
      Returns the create date of this trash entry.
      Specified by:
      getCreateDate in interface TrashEntryModel
      Returns:
      the create date of this trash entry
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this trash entry.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashEntry>
      Specified by:
      getCtCollectionId in interface TrashEntryModel
      Returns:
      the ct collection ID of this trash entry
    • getEntryId

      public long getEntryId()
      Returns the entry ID of this trash entry.
      Specified by:
      getEntryId in interface TrashEntryModel
      Returns:
      the entry ID of this trash entry
    • getGroupId

      public long getGroupId()
      Returns the group ID of this trash entry.
      Specified by:
      getGroupId in interface TrashEntryModel
      Returns:
      the group ID of this trash entry
    • getMvccVersion

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

      public long getPrimaryKey()
      Returns the primary key of this trash entry.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashEntry>
      Specified by:
      getPrimaryKey in interface TrashEntryModel
      Returns:
      the primary key of this trash entry
    • getRootEntry

      public TrashEntry getRootEntry()
      Specified by:
      getRootEntry in interface TrashEntry
    • getStatus

      public int getStatus()
      Returns the status of this trash entry.
      Specified by:
      getStatus in interface TrashEntryModel
      Returns:
      the status of this trash entry
    • getSystemEventSetKey

      public long getSystemEventSetKey()
      Returns the system event set key of this trash entry.
      Specified by:
      getSystemEventSetKey in interface TrashEntryModel
      Returns:
      the system event set key of this trash entry
    • getTypeSettings

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

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

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

      public String getTypeSettingsProperty(String key, String defaultValue)
      Specified by:
      getTypeSettingsProperty in interface TrashEntry
    • getUserId

      public long getUserId()
      Returns the user ID of this trash entry.
      Specified by:
      getUserId in interface TrashEntryModel
      Returns:
      the user ID of this trash entry
    • getUserName

      public String getUserName()
      Returns the user name of this trash entry.
      Specified by:
      getUserName in interface TrashEntryModel
      Returns:
      the user name of this trash entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this trash entry.
      Specified by:
      getUserUuid in interface TrashEntryModel
      Returns:
      the user uuid of this trash entry
    • isTrashEntry

      public boolean isTrashEntry(Class<?> clazz, long classPK)
      Specified by:
      isTrashEntry in interface TrashEntry
    • isTrashEntry

      public boolean isTrashEntry(String className, long classPK)
      Specified by:
      isTrashEntry in interface TrashEntry
    • 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 TrashEntryModel
    • setClassNameId

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

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

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

      public void setCreateDate(Date createDate)
      Sets the create date of this trash entry.
      Specified by:
      setCreateDate in interface TrashEntryModel
      Parameters:
      createDate - the create date of this trash entry
    • setCtCollectionId

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

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

      public void setGroupId(long groupId)
      Sets the group ID of this trash entry.
      Specified by:
      setGroupId in interface TrashEntryModel
      Parameters:
      groupId - the group ID of this trash entry
    • setMvccVersion

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

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

      public void setRootEntry(TrashEntry rootEntry)
      Specified by:
      setRootEntry in interface TrashEntry
    • setStatus

      public void setStatus(int status)
      Sets the status of this trash entry.
      Specified by:
      setStatus in interface TrashEntryModel
      Parameters:
      status - the status of this trash entry
    • setSystemEventSetKey

      public void setSystemEventSetKey(long systemEventSetKey)
      Sets the system event set key of this trash entry.
      Specified by:
      setSystemEventSetKey in interface TrashEntryModel
      Parameters:
      systemEventSetKey - the system event set key of this trash entry
    • setTypeSettings

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

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

      public void setUserId(long userId)
      Sets the user ID of this trash entry.
      Specified by:
      setUserId in interface TrashEntryModel
      Parameters:
      userId - the user ID of this trash entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this trash entry.
      Specified by:
      setUserName in interface TrashEntryModel
      Parameters:
      userName - the user name of this trash entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this trash entry.
      Specified by:
      setUserUuid in interface TrashEntryModel
      Parameters:
      userUuid - the user uuid of this trash entry
    • toXmlString

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

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

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

      protected TrashEntryWrapper wrap(TrashEntry trashEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<TrashEntry>