Class FriendlyURLEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FriendlyURLEntry>
com.liferay.friendly.url.model.FriendlyURLEntryWrapper
All Implemented Interfaces:
FriendlyURLEntry, FriendlyURLEntryModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<FriendlyURLEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<FriendlyURLEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<FriendlyURLEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<FriendlyURLEntry>

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

This class is a wrapper for FriendlyURLEntry.

See Also:
Generated:
  • Constructor Details

    • FriendlyURLEntryWrapper

      public FriendlyURLEntryWrapper(FriendlyURLEntry friendlyURLEntry)
  • Method Details

    • getModelAttributes

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

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

      public FriendlyURLEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<FriendlyURLEntry>
      Specified by:
      cloneWithOriginalValues in interface FriendlyURLEntryModel
    • getAvailableLanguageIds

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface FriendlyURLEntryModel
    • getCategorizedUrlTitle

      public String getCategorizedUrlTitle(String languageId)
      Specified by:
      getCategorizedUrlTitle in interface FriendlyURLEntry
    • getClassName

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

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

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

      public long getCompanyId()
      Returns the company ID of this friendly url entry.
      Specified by:
      getCompanyId in interface FriendlyURLEntryModel
      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 friendly url entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this friendly url entry.
      Specified by:
      getCreateDate in interface FriendlyURLEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this friendly url entry
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this friendly url entry.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FriendlyURLEntry>
      Specified by:
      getCtCollectionId in interface FriendlyURLEntryModel
      Returns:
      the ct collection ID of this friendly url entry
    • getDefaultLanguageId

      public String getDefaultLanguageId()
      Returns the default language ID of this friendly url entry.
      Specified by:
      getDefaultLanguageId in interface FriendlyURLEntryModel
      Returns:
      the default language ID of this friendly url entry
    • getFriendlyURLEntryId

      public long getFriendlyURLEntryId()
      Returns the friendly url entry ID of this friendly url entry.
      Specified by:
      getFriendlyURLEntryId in interface FriendlyURLEntryModel
      Returns:
      the friendly url entry ID of this friendly url entry
    • getGroupId

      public long getGroupId()
      Returns the group ID of this friendly url entry.
      Specified by:
      getGroupId in interface FriendlyURLEntryModel
      Returns:
      the group ID of this friendly url entry
    • getLanguageIdToUrlTitleMap

      public Map<String,String> getLanguageIdToUrlTitleMap()
      Specified by:
      getLanguageIdToUrlTitleMap in interface FriendlyURLEntryModel
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this friendly url entry.
      Specified by:
      getModifiedDate in interface FriendlyURLEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this friendly url entry
    • getMvccVersion

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

      public long getPrimaryKey()
      Returns the primary key of this friendly url entry.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FriendlyURLEntry>
      Specified by:
      getPrimaryKey in interface FriendlyURLEntryModel
      Returns:
      the primary key of this friendly url entry
    • getUrlTitle

      public String getUrlTitle()
      Specified by:
      getUrlTitle in interface FriendlyURLEntryModel
    • getUrlTitle

      public String getUrlTitle(String languageId)
      Specified by:
      getUrlTitle in interface FriendlyURLEntryModel
    • getUrlTitle

      public String getUrlTitle(String languageId, boolean useDefault)
      Specified by:
      getUrlTitle in interface FriendlyURLEntryModel
    • getUrlTitleMapAsXML

      public String getUrlTitleMapAsXML()
      Specified by:
      getUrlTitleMapAsXML in interface FriendlyURLEntryModel
    • getUuid

      public String getUuid()
      Returns the uuid of this friendly url entry.
      Specified by:
      getUuid in interface FriendlyURLEntryModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this friendly url entry
    • isMain

      public boolean isMain() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isMain in interface FriendlyURLEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • 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 FriendlyURLEntryModel
    • setClassNameId

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

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

      public void setCompanyId(long companyId)
      Sets the company ID of this friendly url entry.
      Specified by:
      setCompanyId in interface FriendlyURLEntryModel
      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 friendly url entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this friendly url entry.
      Specified by:
      setCreateDate in interface FriendlyURLEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this friendly url entry
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this friendly url entry.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FriendlyURLEntry>
      Specified by:
      setCtCollectionId in interface FriendlyURLEntryModel
      Parameters:
      ctCollectionId - the ct collection ID of this friendly url entry
    • setDefaultLanguageId

      public void setDefaultLanguageId(String defaultLanguageId)
      Sets the default language ID of this friendly url entry.
      Specified by:
      setDefaultLanguageId in interface FriendlyURLEntryModel
      Parameters:
      defaultLanguageId - the default language ID of this friendly url entry
    • setFriendlyURLEntryId

      public void setFriendlyURLEntryId(long friendlyURLEntryId)
      Sets the friendly url entry ID of this friendly url entry.
      Specified by:
      setFriendlyURLEntryId in interface FriendlyURLEntryModel
      Parameters:
      friendlyURLEntryId - the friendly url entry ID of this friendly url entry
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this friendly url entry.
      Specified by:
      setGroupId in interface FriendlyURLEntryModel
      Parameters:
      groupId - the group ID of this friendly url entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this friendly url entry.
      Specified by:
      setModifiedDate in interface FriendlyURLEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this friendly url entry
    • setMvccVersion

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this friendly url entry.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<FriendlyURLEntry>
      Specified by:
      setPrimaryKey in interface FriendlyURLEntryModel
      Parameters:
      primaryKey - the primary key of this friendly url entry
    • setUuid

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

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

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

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

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

      protected FriendlyURLEntryWrapper wrap(FriendlyURLEntry friendlyURLEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<FriendlyURLEntry>