Class SiteNavigationMenuWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SiteNavigationMenu>
com.liferay.site.navigation.model.SiteNavigationMenuWrapper
All Implemented Interfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<SiteNavigationMenu>, com.liferay.portal.kernel.model.change.tracking.CTModel<SiteNavigationMenu>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<SiteNavigationMenu>, 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, SiteNavigationMenu, SiteNavigationMenuModel, Serializable, Cloneable, Comparable<SiteNavigationMenu>

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

This class is a wrapper for SiteNavigationMenu.

See Also:
Generated:
  • Constructor Details

    • SiteNavigationMenuWrapper

      public SiteNavigationMenuWrapper(SiteNavigationMenu siteNavigationMenu)
  • Method Details

    • getModelAttributes

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

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

      public SiteNavigationMenu cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<SiteNavigationMenu>
      Specified by:
      cloneWithOriginalValues in interface SiteNavigationMenuModel
    • getAuto

      public boolean getAuto()
      Returns the auto of this site navigation menu.
      Specified by:
      getAuto in interface SiteNavigationMenuModel
      Returns:
      the auto of this site navigation menu
    • getCompanyId

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

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

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

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

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

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

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

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

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

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

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

      public int getType()
      Returns the type of this site navigation menu.
      Specified by:
      getType in interface SiteNavigationMenuModel
      Returns:
      the type of this site navigation menu
    • getTypeKey

      public String getTypeKey()
      Specified by:
      getTypeKey in interface SiteNavigationMenu
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this site navigation menu.
      Specified by:
      getUuid in interface SiteNavigationMenuModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this site navigation menu
    • isAuto

      public boolean isAuto()
      Returns true if this site navigation menu is auto.
      Specified by:
      isAuto in interface SiteNavigationMenuModel
      Returns:
      true if this site navigation menu is auto; false otherwise
    • isPrimary

      public boolean isPrimary()
      Specified by:
      isPrimary in interface SiteNavigationMenu
    • persist

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

      public void setAuto(boolean auto)
      Sets whether this site navigation menu is auto.
      Specified by:
      setAuto in interface SiteNavigationMenuModel
      Parameters:
      auto - the auto of this site navigation menu
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this site navigation menu.
      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 SiteNavigationMenuModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this site navigation menu
    • setCreateDate

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

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

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

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

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

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

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

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

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

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

      public void setType(int type)
      Sets the type of this site navigation menu.
      Specified by:
      setType in interface SiteNavigationMenuModel
      Parameters:
      type - the type of this site navigation menu
    • setUserId

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

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

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

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

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

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

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

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

      protected SiteNavigationMenuWrapper wrap(SiteNavigationMenu siteNavigationMenu)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SiteNavigationMenu>