Class SiteNavigationMenuItemWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SiteNavigationMenuItem>
com.liferay.site.navigation.model.SiteNavigationMenuItemWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<SiteNavigationMenuItem>, com.liferay.portal.kernel.model.change.tracking.CTModel<SiteNavigationMenuItem>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<SiteNavigationMenuItem>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, SiteNavigationMenuItem, SiteNavigationMenuItemModel, Serializable, Cloneable, Comparable<SiteNavigationMenuItem>

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

This class is a wrapper for SiteNavigationMenuItem.

See Also:
Generated:
  • Constructor Details

    • SiteNavigationMenuItemWrapper

      public SiteNavigationMenuItemWrapper(SiteNavigationMenuItem siteNavigationMenuItem)
  • Method Details

    • getModelAttributes

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

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

      public SiteNavigationMenuItem cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<SiteNavigationMenuItem>
      Specified by:
      cloneWithOriginalValues in interface SiteNavigationMenuItemModel
    • getAncestors

      public List<SiteNavigationMenuItem> getAncestors()
      Specified by:
      getAncestors in interface SiteNavigationMenuItem
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this site navigation menu item.
      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 SiteNavigationMenuItemModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this site navigation menu item
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this site navigation menu item.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface SiteNavigationMenuItemModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this site navigation menu item
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this site navigation menu item.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<SiteNavigationMenuItem>
      Specified by:
      getCtCollectionId in interface SiteNavigationMenuItemModel
      Returns:
      the ct collection ID of this site navigation menu item
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this site navigation menu item.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface SiteNavigationMenuItemModel
      Returns:
      the external reference code of this site navigation menu item
    • getGroupId

      public long getGroupId()
      Returns the group ID of this site navigation menu item.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface SiteNavigationMenuItemModel
      Returns:
      the group ID of this site navigation menu item
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this site navigation menu item.
      Specified by:
      getLastPublishDate in interface SiteNavigationMenuItemModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this site navigation menu item
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this site navigation menu item.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface SiteNavigationMenuItemModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this site navigation menu item
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this site navigation menu item.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface SiteNavigationMenuItemModel
      Returns:
      the mvcc version of this site navigation menu item
    • getName

      public String getName()
      Returns the name of this site navigation menu item.
      Specified by:
      getName in interface SiteNavigationMenuItemModel
      Returns:
      the name of this site navigation menu item
    • getOrder

      public int getOrder()
      Returns the order of this site navigation menu item.
      Specified by:
      getOrder in interface SiteNavigationMenuItemModel
      Returns:
      the order of this site navigation menu item
    • getParentSiteNavigationMenuItemId

      public long getParentSiteNavigationMenuItemId()
      Returns the parent site navigation menu item ID of this site navigation menu item.
      Specified by:
      getParentSiteNavigationMenuItemId in interface SiteNavigationMenuItemModel
      Returns:
      the parent site navigation menu item ID of this site navigation menu item
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this site navigation menu item.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<SiteNavigationMenuItem>
      Specified by:
      getPrimaryKey in interface SiteNavigationMenuItemModel
      Returns:
      the primary key of this site navigation menu item
    • getSiteNavigationMenuId

      public long getSiteNavigationMenuId()
      Returns the site navigation menu ID of this site navigation menu item.
      Specified by:
      getSiteNavigationMenuId in interface SiteNavigationMenuItemModel
      Returns:
      the site navigation menu ID of this site navigation menu item
    • getSiteNavigationMenuItemId

      public long getSiteNavigationMenuItemId()
      Returns the site navigation menu item ID of this site navigation menu item.
      Specified by:
      getSiteNavigationMenuItemId in interface SiteNavigationMenuItemModel
      Returns:
      the site navigation menu item ID of this site navigation menu item
    • getType

      public String getType()
      Returns the type of this site navigation menu item.
      Specified by:
      getType in interface SiteNavigationMenuItemModel
      Returns:
      the type of this site navigation menu item
    • getTypeSettings

      public String getTypeSettings()
      Returns the type settings of this site navigation menu item.
      Specified by:
      getTypeSettings in interface SiteNavigationMenuItemModel
      Returns:
      the type settings of this site navigation menu item
    • getUserId

      public long getUserId()
      Returns the user ID of this site navigation menu item.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface SiteNavigationMenuItemModel
      Returns:
      the user ID of this site navigation menu item
    • getUserName

      public String getUserName()
      Returns the user name of this site navigation menu item.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface SiteNavigationMenuItemModel
      Returns:
      the user name of this site navigation menu item
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this site navigation menu item.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface SiteNavigationMenuItemModel
      Returns:
      the user uuid of this site navigation menu item
    • getUuid

      public String getUuid()
      Returns the uuid of this site navigation menu item.
      Specified by:
      getUuid in interface SiteNavigationMenuItemModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this site navigation menu item
    • 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 site navigation menu item.
      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 SiteNavigationMenuItemModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this site navigation menu item
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this site navigation menu item.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface SiteNavigationMenuItemModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this site navigation menu item
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this site navigation menu item.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<SiteNavigationMenuItem>
      Specified by:
      setCtCollectionId in interface SiteNavigationMenuItemModel
      Parameters:
      ctCollectionId - the ct collection ID of this site navigation menu item
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this site navigation menu item.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface SiteNavigationMenuItemModel
      Parameters:
      externalReferenceCode - the external reference code of this site navigation menu item
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this site navigation menu item.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface SiteNavigationMenuItemModel
      Parameters:
      groupId - the group ID of this site navigation menu item
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this site navigation menu item.
      Specified by:
      setLastPublishDate in interface SiteNavigationMenuItemModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this site navigation menu item
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this site navigation menu item.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface SiteNavigationMenuItemModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this site navigation menu item
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this site navigation menu item.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface SiteNavigationMenuItemModel
      Parameters:
      mvccVersion - the mvcc version of this site navigation menu item
    • setName

      public void setName(String name)
      Sets the name of this site navigation menu item.
      Specified by:
      setName in interface SiteNavigationMenuItemModel
      Parameters:
      name - the name of this site navigation menu item
    • setOrder

      public void setOrder(int order)
      Sets the order of this site navigation menu item.
      Specified by:
      setOrder in interface SiteNavigationMenuItemModel
      Parameters:
      order - the order of this site navigation menu item
    • setParentSiteNavigationMenuItemId

      public void setParentSiteNavigationMenuItemId(long parentSiteNavigationMenuItemId)
      Sets the parent site navigation menu item ID of this site navigation menu item.
      Specified by:
      setParentSiteNavigationMenuItemId in interface SiteNavigationMenuItemModel
      Parameters:
      parentSiteNavigationMenuItemId - the parent site navigation menu item ID of this site navigation menu item
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this site navigation menu item.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<SiteNavigationMenuItem>
      Specified by:
      setPrimaryKey in interface SiteNavigationMenuItemModel
      Parameters:
      primaryKey - the primary key of this site navigation menu item
    • setSiteNavigationMenuId

      public void setSiteNavigationMenuId(long siteNavigationMenuId)
      Sets the site navigation menu ID of this site navigation menu item.
      Specified by:
      setSiteNavigationMenuId in interface SiteNavigationMenuItemModel
      Parameters:
      siteNavigationMenuId - the site navigation menu ID of this site navigation menu item
    • setSiteNavigationMenuItemId

      public void setSiteNavigationMenuItemId(long siteNavigationMenuItemId)
      Sets the site navigation menu item ID of this site navigation menu item.
      Specified by:
      setSiteNavigationMenuItemId in interface SiteNavigationMenuItemModel
      Parameters:
      siteNavigationMenuItemId - the site navigation menu item ID of this site navigation menu item
    • setType

      public void setType(String type)
      Sets the type of this site navigation menu item.
      Specified by:
      setType in interface SiteNavigationMenuItemModel
      Parameters:
      type - the type of this site navigation menu item
    • setTypeSettings

      public void setTypeSettings(String typeSettings)
      Sets the type settings of this site navigation menu item.
      Specified by:
      setTypeSettings in interface SiteNavigationMenuItemModel
      Parameters:
      typeSettings - the type settings of this site navigation menu item
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this site navigation menu item.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface SiteNavigationMenuItemModel
      Parameters:
      userId - the user ID of this site navigation menu item
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this site navigation menu item.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface SiteNavigationMenuItemModel
      Parameters:
      userName - the user name of this site navigation menu item
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this site navigation menu item.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface SiteNavigationMenuItemModel
      Parameters:
      userUuid - the user uuid of this site navigation menu item
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this site navigation menu item.
      Specified by:
      setUuid in interface SiteNavigationMenuItemModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this site navigation menu item
    • toXmlString

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

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

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

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

      protected SiteNavigationMenuItemWrapper wrap(SiteNavigationMenuItem siteNavigationMenuItem)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SiteNavigationMenuItem>