Class RedirectEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<RedirectEntry>
com.liferay.redirect.model.RedirectEntryWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<RedirectEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<RedirectEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, RedirectEntry, RedirectEntryModel, Serializable, Cloneable, Comparable<RedirectEntry>

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

This class is a wrapper for RedirectEntry.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.redirect.model.RedirectEntry

    REDIRECT_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    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
     
    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
     
    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.
     
    wrap(RedirectEntry redirectEntry)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

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

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.ModelWrapper

    getWrappedModel

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

    clone
  • Constructor Details

    • RedirectEntryWrapper

      public RedirectEntryWrapper(RedirectEntry redirectEntry)
  • Method Details

    • getModelAttributes

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

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

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

      public 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 RedirectEntryModel
      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
    • getCreateDate

      public 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 RedirectEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this redirect entry
    • getDestinationURL

      public String getDestinationURL()
      Returns the destination url of this redirect entry.
      Specified by:
      getDestinationURL in interface RedirectEntryModel
      Returns:
      the destination url of this redirect entry
    • getExpirationDate

      public Date getExpirationDate()
      Returns the expiration date of this redirect entry.
      Specified by:
      getExpirationDate in interface RedirectEntryModel
      Returns:
      the expiration date of this redirect entry
    • getGroupId

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

      public Date getLastOccurrenceDate()
      Returns the last occurrence date of this redirect entry.
      Specified by:
      getLastOccurrenceDate in interface RedirectEntryModel
      Returns:
      the last occurrence date of this redirect entry
    • getModifiedDate

      public 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 RedirectEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this redirect entry
    • getMvccVersion

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

      public boolean getPermanent()
      Returns the permanent of this redirect entry.
      Specified by:
      getPermanent in interface RedirectEntryModel
      Returns:
      the permanent of this redirect entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this redirect entry.
      Specified by:
      getPrimaryKey in interface RedirectEntryModel
      Returns:
      the primary key of this redirect entry
    • getRedirectEntryId

      public long getRedirectEntryId()
      Returns the redirect entry ID of this redirect entry.
      Specified by:
      getRedirectEntryId in interface RedirectEntryModel
      Returns:
      the redirect entry ID of this redirect entry
    • getSourceURL

      public String getSourceURL()
      Returns the source url of this redirect entry.
      Specified by:
      getSourceURL in interface RedirectEntryModel
      Returns:
      the source url of this redirect entry
    • getUserId

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

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

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

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

      public boolean isPermanent()
      Returns true if this redirect entry is permanent.
      Specified by:
      isPermanent in interface RedirectEntryModel
      Returns:
      true if this redirect entry is permanent; false otherwise
    • persist

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

      public 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 RedirectEntryModel
      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
    • setCreateDate

      public 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 RedirectEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this redirect entry
    • setDestinationURL

      public void setDestinationURL(String destinationURL)
      Sets the destination url of this redirect entry.
      Specified by:
      setDestinationURL in interface RedirectEntryModel
      Parameters:
      destinationURL - the destination url of this redirect entry
    • setExpirationDate

      public void setExpirationDate(Date expirationDate)
      Sets the expiration date of this redirect entry.
      Specified by:
      setExpirationDate in interface RedirectEntryModel
      Parameters:
      expirationDate - the expiration date of this redirect entry
    • setGroupId

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

      public void setLastOccurrenceDate(Date lastOccurrenceDate)
      Sets the last occurrence date of this redirect entry.
      Specified by:
      setLastOccurrenceDate in interface RedirectEntryModel
      Parameters:
      lastOccurrenceDate - the last occurrence date of this redirect entry
    • setModifiedDate

      public 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 RedirectEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this redirect entry
    • setMvccVersion

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

      public void setPermanent(boolean permanent)
      Sets whether this redirect entry is permanent.
      Specified by:
      setPermanent in interface RedirectEntryModel
      Parameters:
      permanent - the permanent of this redirect entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this redirect entry.
      Specified by:
      setPrimaryKey in interface RedirectEntryModel
      Parameters:
      primaryKey - the primary key of this redirect entry
    • setRedirectEntryId

      public void setRedirectEntryId(long redirectEntryId)
      Sets the redirect entry ID of this redirect entry.
      Specified by:
      setRedirectEntryId in interface RedirectEntryModel
      Parameters:
      redirectEntryId - the redirect entry ID of this redirect entry
    • setSourceURL

      public void setSourceURL(String sourceURL)
      Sets the source url of this redirect entry.
      Specified by:
      setSourceURL in interface RedirectEntryModel
      Parameters:
      sourceURL - the source url of this redirect entry
    • setUserId

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

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface RedirectEntryModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected RedirectEntryWrapper wrap(RedirectEntry redirectEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<RedirectEntry>