Class ObjectLayoutTabWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectLayoutTab>
com.liferay.object.model.ObjectLayoutTabWrapper
All Implemented Interfaces:
ObjectLayoutTab, ObjectLayoutTabModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<ObjectLayoutTab>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<ObjectLayoutTab>, 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, Serializable, Cloneable, Comparable<ObjectLayoutTab>

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

This class is a wrapper for ObjectLayoutTab.

See Also:
Generated:
  • Constructor Details

    • ObjectLayoutTabWrapper

      public ObjectLayoutTabWrapper(ObjectLayoutTab objectLayoutTab)
  • Method Details

    • getModelAttributes

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

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

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

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      getAvailableLanguageIds in interface ObjectLayoutTabModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this object layout tab.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface ObjectLayoutTabModel
      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 object layout tab
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this object layout tab.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface ObjectLayoutTabModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this object layout tab
    • getDefaultLanguageId

      public String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      getDefaultLanguageId in interface ObjectLayoutTabModel
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this object layout tab.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface ObjectLayoutTabModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this object layout tab
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this object layout tab.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface ObjectLayoutTabModel
      Returns:
      the mvcc version of this object layout tab
    • getName

      public String getName()
      Returns the name of this object layout tab.
      Specified by:
      getName in interface ObjectLayoutTabModel
      Returns:
      the name of this object layout tab
    • getName

      public String getName(Locale locale)
      Returns the localized name of this object layout tab in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ObjectLayoutTabModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized name of this object layout tab
    • getName

      public String getName(Locale locale, boolean useDefault)
      Returns the localized name of this object layout tab in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ObjectLayoutTabModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized name of this object layout tab. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getName

      public String getName(String languageId)
      Returns the localized name of this object layout tab in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ObjectLayoutTabModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized name of this object layout tab
    • getName

      public String getName(String languageId, boolean useDefault)
      Returns the localized name of this object layout tab in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ObjectLayoutTabModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized name of this object layout tab
    • getNameCurrentLanguageId

      public String getNameCurrentLanguageId()
      Specified by:
      getNameCurrentLanguageId in interface ObjectLayoutTabModel
    • getNameCurrentValue

      public String getNameCurrentValue()
      Specified by:
      getNameCurrentValue in interface ObjectLayoutTabModel
    • getNameMap

      public Map<Locale,String> getNameMap()
      Returns a map of the locales and localized names of this object layout tab.
      Specified by:
      getNameMap in interface ObjectLayoutTabModel
      Returns:
      the locales and localized names of this object layout tab
    • getObjectLayoutBoxes

      public List<ObjectLayoutBox> getObjectLayoutBoxes()
      Specified by:
      getObjectLayoutBoxes in interface ObjectLayoutTab
    • getObjectLayoutId

      public long getObjectLayoutId()
      Returns the object layout ID of this object layout tab.
      Specified by:
      getObjectLayoutId in interface ObjectLayoutTabModel
      Returns:
      the object layout ID of this object layout tab
    • getObjectLayoutTabId

      public long getObjectLayoutTabId()
      Returns the object layout tab ID of this object layout tab.
      Specified by:
      getObjectLayoutTabId in interface ObjectLayoutTabModel
      Returns:
      the object layout tab ID of this object layout tab
    • getObjectRelationshipId

      public long getObjectRelationshipId()
      Returns the object relationship ID of this object layout tab.
      Specified by:
      getObjectRelationshipId in interface ObjectLayoutTabModel
      Returns:
      the object relationship ID of this object layout tab
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this object layout tab.
      Specified by:
      getPrimaryKey in interface ObjectLayoutTabModel
      Returns:
      the primary key of this object layout tab
    • getPriority

      public int getPriority()
      Returns the priority of this object layout tab.
      Specified by:
      getPriority in interface ObjectLayoutTabModel
      Returns:
      the priority of this object layout tab
    • getUserId

      public long getUserId()
      Returns the user ID of this object layout tab.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface ObjectLayoutTabModel
      Returns:
      the user ID of this object layout tab
    • getUserName

      public String getUserName()
      Returns the user name of this object layout tab.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface ObjectLayoutTabModel
      Returns:
      the user name of this object layout tab
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this object layout tab.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface ObjectLayoutTabModel
      Returns:
      the user uuid of this object layout tab
    • getUuid

      public String getUuid()
      Returns the uuid of this object layout tab.
      Specified by:
      getUuid in interface ObjectLayoutTabModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this object layout tab
    • persist

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

      public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      prepareLocalizedFieldsForImport in interface ObjectLayoutTabModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Specified by:
      prepareLocalizedFieldsForImport in interface ObjectLayoutTabModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this object layout tab.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface ObjectLayoutTabModel
      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 object layout tab
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this object layout tab.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface ObjectLayoutTabModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this object layout tab
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this object layout tab.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface ObjectLayoutTabModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this object layout tab
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this object layout tab.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface ObjectLayoutTabModel
      Parameters:
      mvccVersion - the mvcc version of this object layout tab
    • setName

      public void setName(String name)
      Sets the name of this object layout tab.
      Specified by:
      setName in interface ObjectLayoutTabModel
      Parameters:
      name - the name of this object layout tab
    • setName

      public void setName(String name, Locale locale)
      Sets the localized name of this object layout tab in the language.
      Specified by:
      setName in interface ObjectLayoutTabModel
      Parameters:
      name - the localized name of this object layout tab
      locale - the locale of the language
    • setName

      public void setName(String name, Locale locale, Locale defaultLocale)
      Sets the localized name of this object layout tab in the language, and sets the default locale.
      Specified by:
      setName in interface ObjectLayoutTabModel
      Parameters:
      name - the localized name of this object layout tab
      locale - the locale of the language
      defaultLocale - the default locale
    • setNameCurrentLanguageId

      public void setNameCurrentLanguageId(String languageId)
      Specified by:
      setNameCurrentLanguageId in interface ObjectLayoutTabModel
    • setNameMap

      public void setNameMap(Map<Locale,String> nameMap)
      Sets the localized names of this object layout tab from the map of locales and localized names.
      Specified by:
      setNameMap in interface ObjectLayoutTabModel
      Parameters:
      nameMap - the locales and localized names of this object layout tab
    • setNameMap

      public void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
      Sets the localized names of this object layout tab from the map of locales and localized names, and sets the default locale.
      Specified by:
      setNameMap in interface ObjectLayoutTabModel
      Parameters:
      nameMap - the locales and localized names of this object layout tab
      defaultLocale - the default locale
    • setObjectLayoutBoxes

      public void setObjectLayoutBoxes(List<ObjectLayoutBox> objectLayoutBoxes)
      Specified by:
      setObjectLayoutBoxes in interface ObjectLayoutTab
    • setObjectLayoutId

      public void setObjectLayoutId(long objectLayoutId)
      Sets the object layout ID of this object layout tab.
      Specified by:
      setObjectLayoutId in interface ObjectLayoutTabModel
      Parameters:
      objectLayoutId - the object layout ID of this object layout tab
    • setObjectLayoutTabId

      public void setObjectLayoutTabId(long objectLayoutTabId)
      Sets the object layout tab ID of this object layout tab.
      Specified by:
      setObjectLayoutTabId in interface ObjectLayoutTabModel
      Parameters:
      objectLayoutTabId - the object layout tab ID of this object layout tab
    • setObjectRelationshipId

      public void setObjectRelationshipId(long objectRelationshipId)
      Sets the object relationship ID of this object layout tab.
      Specified by:
      setObjectRelationshipId in interface ObjectLayoutTabModel
      Parameters:
      objectRelationshipId - the object relationship ID of this object layout tab
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this object layout tab.
      Specified by:
      setPrimaryKey in interface ObjectLayoutTabModel
      Parameters:
      primaryKey - the primary key of this object layout tab
    • setPriority

      public void setPriority(int priority)
      Sets the priority of this object layout tab.
      Specified by:
      setPriority in interface ObjectLayoutTabModel
      Parameters:
      priority - the priority of this object layout tab
    • setUserId

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

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

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

      public void setUuid(String uuid)
      Sets the uuid of this object layout tab.
      Specified by:
      setUuid in interface ObjectLayoutTabModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this object layout tab
    • toXmlString

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

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

      protected ObjectLayoutTabWrapper wrap(ObjectLayoutTab objectLayoutTab)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectLayoutTab>