Interface TrashEntryModel

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

@ProviderType public interface TrashEntryModel extends 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.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the TrashEntry service. Represents a row in the "TrashEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.trash.model.impl.TrashEntryModelImpl 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.TrashEntryImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the fully qualified class name of this trash entry.
    long
    Returns the class name ID of this trash entry.
    long
    Returns the class pk of this trash entry.
    long
    Returns the company ID of this trash entry.
    Returns the create date of this trash entry.
    long
    Returns the ct collection ID of this trash entry.
    long
    Returns the entry ID of this trash entry.
    long
    Returns the group ID of this trash entry.
    long
    Returns the mvcc version of this trash entry.
    long
    Returns the primary key of this trash entry.
    int
    Returns the status of this trash entry.
    long
    Returns the system event set key of this trash entry.
    Returns the type settings of this trash entry.
    long
    Returns the user ID of this trash entry.
    Returns the user name of this trash entry.
    Returns the user uuid of this trash entry.
    void
    setClassName(String className)
     
    void
    setClassNameId(long classNameId)
    Sets the class name ID of this trash entry.
    void
    setClassPK(long classPK)
    Sets the class pk of this trash entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this trash entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this trash entry.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this trash entry.
    void
    setEntryId(long entryId)
    Sets the entry ID of this trash entry.
    void
    setGroupId(long groupId)
    Sets the group ID of this trash entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this trash entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this trash entry.
    void
    setStatus(int status)
    Sets the status of this trash entry.
    void
    setSystemEventSetKey(long systemEventSetKey)
    Sets the system event set key of this trash entry.
    void
    setTypeSettings(String typeSettings)
    Sets the type settings of this trash entry.
    void
    setUserId(long userId)
    Sets the user ID of this trash entry.
    void
    setUserName(String userName)
    Sets the user name of this trash entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this trash entry.
    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 entry.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<TrashEntry>
      Returns:
      the primary key of this trash entry
    • setPrimaryKey

      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>
      Parameters:
      primaryKey - the primary key of this trash entry
    • getMvccVersion

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

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

      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>
      Returns:
      the ct collection ID of this trash entry
    • setCtCollectionId

      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>
      Parameters:
      ctCollectionId - the ct collection ID of this trash entry
    • getEntryId

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

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

      long getGroupId()
      Returns the group ID of this trash entry.
      Returns:
      the group ID of this trash entry
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this trash entry.
      Parameters:
      groupId - the group ID of this trash entry
    • getCompanyId

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

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

      long getUserId()
      Returns the user ID of this trash entry.
      Returns:
      the user ID of this trash entry
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this trash entry.
      Parameters:
      userId - the user ID of this trash entry
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this trash entry.
      Returns:
      the user uuid of this trash entry
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this trash entry.
      Parameters:
      userUuid - the user uuid of this trash entry
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this trash entry.
      Returns:
      the user name of this trash entry
    • setUserName

      void setUserName(String userName)
      Sets the user name of this trash entry.
      Parameters:
      userName - the user name of this trash entry
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this trash entry.
      Returns:
      the create date of this trash entry
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this trash entry.
      Parameters:
      createDate - the create date of this trash entry
    • getClassName

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

      void setClassName(String className)
    • getClassNameId

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

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

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

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

      long getSystemEventSetKey()
      Returns the system event set key of this trash entry.
      Returns:
      the system event set key of this trash entry
    • setSystemEventSetKey

      void setSystemEventSetKey(long systemEventSetKey)
      Sets the system event set key of this trash entry.
      Parameters:
      systemEventSetKey - the system event set key of this trash entry
    • getTypeSettings

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

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

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

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

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

      default String toXmlString()