Class ObjectLayoutBoxWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectLayoutBox>
com.liferay.object.model.ObjectLayoutBoxWrapper
All Implemented Interfaces:
ObjectLayoutBox, ObjectLayoutBoxModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<ObjectLayoutBox>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<ObjectLayoutBox>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<ObjectLayoutBox>

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

This class is a wrapper for ObjectLayoutBox.

See Also:
Generated:
  • Constructor Details

    • ObjectLayoutBoxWrapper

      public ObjectLayoutBoxWrapper(ObjectLayoutBox objectLayoutBox)
  • Method Details

    • getModelAttributes

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

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

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

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

      public boolean getCollapsable()
      Returns the collapsable of this object layout box.
      Specified by:
      getCollapsable in interface ObjectLayoutBoxModel
      Returns:
      the collapsable of this object layout box
    • getCompanyId

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

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

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

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

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

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

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

      public String getName(Locale locale, boolean useDefault)
      Returns the localized name of this object layout box in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ObjectLayoutBoxModel
      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 box. 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 box in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ObjectLayoutBoxModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized name of this object layout box
    • getName

      public String getName(String languageId, boolean useDefault)
      Returns the localized name of this object layout box in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ObjectLayoutBoxModel
      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 box
    • getNameCurrentLanguageId

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

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

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

      public long getObjectLayoutBoxId()
      Returns the object layout box ID of this object layout box.
      Specified by:
      getObjectLayoutBoxId in interface ObjectLayoutBoxModel
      Returns:
      the object layout box ID of this object layout box
    • getObjectLayoutRows

      public List<ObjectLayoutRow> getObjectLayoutRows()
      Specified by:
      getObjectLayoutRows in interface ObjectLayoutBox
    • getObjectLayoutTabId

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

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

      public int getPriority()
      Returns the priority of this object layout box.
      Specified by:
      getPriority in interface ObjectLayoutBoxModel
      Returns:
      the priority of this object layout box
    • getType

      public String getType()
      Returns the type of this object layout box.
      Specified by:
      getType in interface ObjectLayoutBoxModel
      Returns:
      the type of this object layout box
    • getUserId

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

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

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

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

      public boolean isCollapsable()
      Returns true if this object layout box is collapsable.
      Specified by:
      isCollapsable in interface ObjectLayoutBoxModel
      Returns:
      true if this object layout box is collapsable; false otherwise
    • 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 ObjectLayoutBoxModel
      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 ObjectLayoutBoxModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setCollapsable

      public void setCollapsable(boolean collapsable)
      Sets whether this object layout box is collapsable.
      Specified by:
      setCollapsable in interface ObjectLayoutBoxModel
      Parameters:
      collapsable - the collapsable of this object layout box
    • setCompanyId

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

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

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

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

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

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

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

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

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

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

      public void setObjectLayoutBoxId(long objectLayoutBoxId)
      Sets the object layout box ID of this object layout box.
      Specified by:
      setObjectLayoutBoxId in interface ObjectLayoutBoxModel
      Parameters:
      objectLayoutBoxId - the object layout box ID of this object layout box
    • setObjectLayoutRows

      public void setObjectLayoutRows(List<ObjectLayoutRow> objectLayoutRows)
      Specified by:
      setObjectLayoutRows in interface ObjectLayoutBox
    • setObjectLayoutTabId

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

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

      public void setPriority(int priority)
      Sets the priority of this object layout box.
      Specified by:
      setPriority in interface ObjectLayoutBoxModel
      Parameters:
      priority - the priority of this object layout box
    • setType

      public void setType(String type)
      Sets the type of this object layout box.
      Specified by:
      setType in interface ObjectLayoutBoxModel
      Parameters:
      type - the type of this object layout box
    • setUserId

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

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

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

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

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

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

      protected ObjectLayoutBoxWrapper wrap(ObjectLayoutBox objectLayoutBox)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectLayoutBox>