Class ObjectViewColumnWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectViewColumn>
com.liferay.object.model.ObjectViewColumnWrapper
All Implemented Interfaces:
ObjectViewColumn, ObjectViewColumnModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<ObjectViewColumn>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<ObjectViewColumn>, 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<ObjectViewColumn>

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

This class is a wrapper for ObjectViewColumn.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.object.model.ObjectViewColumn

    OBJECT_VIEW_COLUMN_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    long
    Returns the company ID of this object view column.
    Returns the create date of this object view column.
     
    Returns the label of this object view column.
    getLabel(String languageId)
    Returns the localized label of this object view column in the language.
    getLabel(String languageId, boolean useDefault)
    Returns the localized label of this object view column in the language, optionally using the default language if no localization exists for the requested language.
    getLabel(Locale locale)
    Returns the localized label of this object view column in the language.
    getLabel(Locale locale, boolean useDefault)
    Returns the localized label of this object view column in the language, optionally using the default language if no localization exists for the requested language.
     
     
    Returns a map of the locales and localized labels of this object view column.
     
    Returns the modified date of this object view column.
    long
    Returns the mvcc version of this object view column.
    Returns the object field name of this object view column.
    long
    Returns the object view column ID of this object view column.
    long
    Returns the object view ID of this object view column.
    long
    Returns the primary key of this object view column.
    int
    Returns the priority of this object view column.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    long
    Returns the user ID of this object view column.
    Returns the user name of this object view column.
    Returns the user uuid of this object view column.
    Returns the uuid of this object view column.
    void
     
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this object view column.
    void
    setCreateDate(Date createDate)
    Sets the create date of this object view column.
    void
    Sets the label of this object view column.
    void
    setLabel(String label, Locale locale)
    Sets the localized label of this object view column in the language.
    void
    setLabel(String label, Locale locale, Locale defaultLocale)
    Sets the localized label of this object view column in the language, and sets the default locale.
    void
     
    void
    Sets the localized labels of this object view column from the map of locales and localized labels.
    void
    setLabelMap(Map<Locale,String> labelMap, Locale defaultLocale)
    Sets the localized labels of this object view column from the map of locales and localized labels, and sets the default locale.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this object view column.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this object view column.
    void
    setObjectFieldName(String objectFieldName)
    Sets the object field name of this object view column.
    void
    setObjectViewColumnId(long objectViewColumnId)
    Sets the object view column ID of this object view column.
    void
    setObjectViewId(long objectViewId)
    Sets the object view ID of this object view column.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this object view column.
    void
    setPriority(int priority)
    Sets the priority of this object view column.
    void
    setUserId(long userId)
    Sets the user ID of this object view column.
    void
    setUserName(String userName)
    Sets the user name of this object view column.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this object view column.
    void
    Sets the uuid of this object view column.
     
    wrap(ObjectViewColumn objectViewColumn)
     

    Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel

    Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel

    getModelClass, getModelClassName

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper

    getWrappedModel

    Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

    clone
  • Constructor Details

    • ObjectViewColumnWrapper

      public ObjectViewColumnWrapper(ObjectViewColumn objectViewColumn)
  • Method Details

    • getModelAttributes

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

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

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

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

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

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

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

      public String getLabel()
      Returns the label of this object view column.
      Specified by:
      getLabel in interface ObjectViewColumnModel
      Returns:
      the label of this object view column
    • getLabel

      public String getLabel(Locale locale)
      Returns the localized label of this object view column in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getLabel in interface ObjectViewColumnModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized label of this object view column
    • getLabel

      public String getLabel(Locale locale, boolean useDefault)
      Returns the localized label of this object view column in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getLabel in interface ObjectViewColumnModel
      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 label of this object view column. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getLabel

      public String getLabel(String languageId)
      Returns the localized label of this object view column in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getLabel in interface ObjectViewColumnModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized label of this object view column
    • getLabel

      public String getLabel(String languageId, boolean useDefault)
      Returns the localized label of this object view column in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getLabel in interface ObjectViewColumnModel
      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 label of this object view column
    • getLabelCurrentLanguageId

      public String getLabelCurrentLanguageId()
      Specified by:
      getLabelCurrentLanguageId in interface ObjectViewColumnModel
    • getLabelCurrentValue

      public String getLabelCurrentValue()
      Specified by:
      getLabelCurrentValue in interface ObjectViewColumnModel
    • getLabelMap

      public Map<Locale,String> getLabelMap()
      Returns a map of the locales and localized labels of this object view column.
      Specified by:
      getLabelMap in interface ObjectViewColumnModel
      Returns:
      the locales and localized labels of this object view column
    • getModifiedDate

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

      public long getMvccVersion()
      Returns the mvcc version of this object view column.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface ObjectViewColumnModel
      Returns:
      the mvcc version of this object view column
    • getObjectFieldName

      public String getObjectFieldName()
      Returns the object field name of this object view column.
      Specified by:
      getObjectFieldName in interface ObjectViewColumnModel
      Returns:
      the object field name of this object view column
    • getObjectViewColumnId

      public long getObjectViewColumnId()
      Returns the object view column ID of this object view column.
      Specified by:
      getObjectViewColumnId in interface ObjectViewColumnModel
      Returns:
      the object view column ID of this object view column
    • getObjectViewId

      public long getObjectViewId()
      Returns the object view ID of this object view column.
      Specified by:
      getObjectViewId in interface ObjectViewColumnModel
      Returns:
      the object view ID of this object view column
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this object view column.
      Specified by:
      getPrimaryKey in interface ObjectViewColumnModel
      Returns:
      the primary key of this object view column
    • getPriority

      public int getPriority()
      Returns the priority of this object view column.
      Specified by:
      getPriority in interface ObjectViewColumnModel
      Returns:
      the priority of this object view column
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this object view column.
      Specified by:
      getUuid in interface ObjectViewColumnModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this object view column
    • 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 ObjectViewColumnModel
      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 ObjectViewColumnModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setCompanyId

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

      public void setCreateDate(Date createDate)
      Sets the create date of this object view column.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface ObjectViewColumnModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this object view column
    • setLabel

      public void setLabel(String label)
      Sets the label of this object view column.
      Specified by:
      setLabel in interface ObjectViewColumnModel
      Parameters:
      label - the label of this object view column
    • setLabel

      public void setLabel(String label, Locale locale)
      Sets the localized label of this object view column in the language.
      Specified by:
      setLabel in interface ObjectViewColumnModel
      Parameters:
      label - the localized label of this object view column
      locale - the locale of the language
    • setLabel

      public void setLabel(String label, Locale locale, Locale defaultLocale)
      Sets the localized label of this object view column in the language, and sets the default locale.
      Specified by:
      setLabel in interface ObjectViewColumnModel
      Parameters:
      label - the localized label of this object view column
      locale - the locale of the language
      defaultLocale - the default locale
    • setLabelCurrentLanguageId

      public void setLabelCurrentLanguageId(String languageId)
      Specified by:
      setLabelCurrentLanguageId in interface ObjectViewColumnModel
    • setLabelMap

      public void setLabelMap(Map<Locale,String> labelMap)
      Sets the localized labels of this object view column from the map of locales and localized labels.
      Specified by:
      setLabelMap in interface ObjectViewColumnModel
      Parameters:
      labelMap - the locales and localized labels of this object view column
    • setLabelMap

      public void setLabelMap(Map<Locale,String> labelMap, Locale defaultLocale)
      Sets the localized labels of this object view column from the map of locales and localized labels, and sets the default locale.
      Specified by:
      setLabelMap in interface ObjectViewColumnModel
      Parameters:
      labelMap - the locales and localized labels of this object view column
      defaultLocale - the default locale
    • setModifiedDate

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

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this object view column.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface ObjectViewColumnModel
      Parameters:
      mvccVersion - the mvcc version of this object view column
    • setObjectFieldName

      public void setObjectFieldName(String objectFieldName)
      Sets the object field name of this object view column.
      Specified by:
      setObjectFieldName in interface ObjectViewColumnModel
      Parameters:
      objectFieldName - the object field name of this object view column
    • setObjectViewColumnId

      public void setObjectViewColumnId(long objectViewColumnId)
      Sets the object view column ID of this object view column.
      Specified by:
      setObjectViewColumnId in interface ObjectViewColumnModel
      Parameters:
      objectViewColumnId - the object view column ID of this object view column
    • setObjectViewId

      public void setObjectViewId(long objectViewId)
      Sets the object view ID of this object view column.
      Specified by:
      setObjectViewId in interface ObjectViewColumnModel
      Parameters:
      objectViewId - the object view ID of this object view column
    • setPrimaryKey

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

      public void setPriority(int priority)
      Sets the priority of this object view column.
      Specified by:
      setPriority in interface ObjectViewColumnModel
      Parameters:
      priority - the priority of this object view column
    • setUserId

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

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

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

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

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

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

      protected ObjectViewColumnWrapper wrap(ObjectViewColumn objectViewColumn)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectViewColumn>