Interface RedirectEntryModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<RedirectEntry>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<RedirectEntry>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
RedirectEntry
All Known Implementing Classes:
RedirectEntryWrapper

@ProviderType public interface RedirectEntryModel extends com.liferay.portal.kernel.model.BaseModel<RedirectEntry>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the RedirectEntry service. Represents a row in the "RedirectEntry" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.redirect.model.impl.RedirectEntryModelImpl 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.redirect.model.impl.RedirectEntryImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the company ID of this redirect entry.
    Returns the create date of this redirect entry.
    Returns the destination url of this redirect entry.
    Returns the expiration date of this redirect entry.
    long
    Returns the group ID of this redirect entry.
    Returns the last occurrence date of this redirect entry.
    Returns the modified date of this redirect entry.
    long
    Returns the mvcc version of this redirect entry.
    boolean
    Returns the permanent of this redirect entry.
    long
    Returns the primary key of this redirect entry.
    long
    Returns the redirect entry ID of this redirect entry.
    Returns the source url of this redirect entry.
    long
    Returns the user ID of this redirect entry.
    Returns the user name of this redirect entry.
    Returns the user uuid of this redirect entry.
    Returns the uuid of this redirect entry.
    boolean
    Returns true if this redirect entry is permanent.
    void
    setCompanyId(long companyId)
    Sets the company ID of this redirect entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this redirect entry.
    void
    setDestinationURL(String destinationURL)
    Sets the destination url of this redirect entry.
    void
    setExpirationDate(Date expirationDate)
    Sets the expiration date of this redirect entry.
    void
    setGroupId(long groupId)
    Sets the group ID of this redirect entry.
    void
    setLastOccurrenceDate(Date lastOccurrenceDate)
    Sets the last occurrence date of this redirect entry.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this redirect entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this redirect entry.
    void
    setPermanent(boolean permanent)
    Sets whether this redirect entry is permanent.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this redirect entry.
    void
    setRedirectEntryId(long redirectEntryId)
    Sets the redirect entry ID of this redirect entry.
    void
    setSourceURL(String sourceURL)
    Sets the source url of this redirect entry.
    void
    setUserId(long userId)
    Sets the user ID of this redirect entry.
    void
    setUserName(String userName)
    Sets the user name of this redirect entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this redirect entry.
    void
    Sets the uuid of this redirect 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

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

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this redirect entry.
      Returns:
      the primary key of this redirect entry
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this redirect entry.
      Parameters:
      primaryKey - the primary key of this redirect entry
    • getMvccVersion

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

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

      @AutoEscape String getUuid()
      Returns the uuid of this redirect entry.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this redirect entry
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this redirect entry.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this redirect entry
    • getRedirectEntryId

      long getRedirectEntryId()
      Returns the redirect entry ID of this redirect entry.
      Returns:
      the redirect entry ID of this redirect entry
    • setRedirectEntryId

      void setRedirectEntryId(long redirectEntryId)
      Sets the redirect entry ID of this redirect entry.
      Parameters:
      redirectEntryId - the redirect entry ID of this redirect entry
    • getGroupId

      long getGroupId()
      Returns the group ID of this redirect entry.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this redirect entry
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this redirect entry.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this redirect entry
    • getCompanyId

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

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

      long getUserId()
      Returns the user ID of this redirect entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this redirect entry
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this redirect entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this redirect entry
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this redirect entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this redirect entry
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this redirect entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this redirect entry
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this redirect entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this redirect entry
    • setUserName

      void setUserName(String userName)
      Sets the user name of this redirect entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this redirect entry
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this redirect entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this redirect entry
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this redirect entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this redirect entry
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this redirect entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this redirect entry
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this redirect entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this redirect entry
    • getDestinationURL

      @AutoEscape String getDestinationURL()
      Returns the destination url of this redirect entry.
      Returns:
      the destination url of this redirect entry
    • setDestinationURL

      void setDestinationURL(String destinationURL)
      Sets the destination url of this redirect entry.
      Parameters:
      destinationURL - the destination url of this redirect entry
    • getExpirationDate

      Date getExpirationDate()
      Returns the expiration date of this redirect entry.
      Returns:
      the expiration date of this redirect entry
    • setExpirationDate

      void setExpirationDate(Date expirationDate)
      Sets the expiration date of this redirect entry.
      Parameters:
      expirationDate - the expiration date of this redirect entry
    • getLastOccurrenceDate

      Date getLastOccurrenceDate()
      Returns the last occurrence date of this redirect entry.
      Returns:
      the last occurrence date of this redirect entry
    • setLastOccurrenceDate

      void setLastOccurrenceDate(Date lastOccurrenceDate)
      Sets the last occurrence date of this redirect entry.
      Parameters:
      lastOccurrenceDate - the last occurrence date of this redirect entry
    • getPermanent

      boolean getPermanent()
      Returns the permanent of this redirect entry.
      Returns:
      the permanent of this redirect entry
    • isPermanent

      boolean isPermanent()
      Returns true if this redirect entry is permanent.
      Returns:
      true if this redirect entry is permanent; false otherwise
    • setPermanent

      void setPermanent(boolean permanent)
      Sets whether this redirect entry is permanent.
      Parameters:
      permanent - the permanent of this redirect entry
    • getSourceURL

      @AutoEscape String getSourceURL()
      Returns the source url of this redirect entry.
      Returns:
      the source url of this redirect entry
    • setSourceURL

      void setSourceURL(String sourceURL)
      Sets the source url of this redirect entry.
      Parameters:
      sourceURL - the source url of this redirect entry
    • cloneWithOriginalValues

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

      default String toXmlString()