Class ObjectDefinitionWrapper

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

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

This class is a wrapper for ObjectDefinition.

See Also:
Generated:
  • Constructor Details

    • ObjectDefinitionWrapper

      public ObjectDefinitionWrapper(ObjectDefinition objectDefinition)
  • Method Details

    • getModelAttributes

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

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

      public ObjectDefinition cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<ObjectDefinition>
      Specified by:
      cloneWithOriginalValues in interface ObjectDefinitionModel
    • getAccountEntryRestricted

      public boolean getAccountEntryRestricted()
      Returns the account entry restricted of this object definition.
      Specified by:
      getAccountEntryRestricted in interface ObjectDefinitionModel
      Returns:
      the account entry restricted of this object definition
    • getAccountEntryRestrictedObjectFieldId

      public long getAccountEntryRestrictedObjectFieldId()
      Returns the account entry restricted object field ID of this object definition.
      Specified by:
      getAccountEntryRestrictedObjectFieldId in interface ObjectDefinitionModel
      Returns:
      the account entry restricted object field ID of this object definition
    • getActive

      public boolean getActive()
      Returns the active of this object definition.
      Specified by:
      getActive in interface ObjectDefinitionModel
      Returns:
      the active of this object definition
    • getAvailableLanguageIds

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

      public String getClassName()
      Returns the class name of this object definition.
      Specified by:
      getClassName in interface ObjectDefinitionModel
      Returns:
      the class name of this object definition
    • getCompanyId

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

      public Date getCreateDate()
      Returns the create date of this object definition.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface ObjectDefinitionModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this object definition
    • getDBTableName

      public String getDBTableName()
      Returns the db table name of this object definition.
      Specified by:
      getDBTableName in interface ObjectDefinitionModel
      Returns:
      the db table name of this object definition
    • getDefaultLanguageId

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

      public Locale getDefaultLocale()
      Specified by:
      getDefaultLocale in interface ObjectDefinition
    • getDescriptionObjectFieldId

      public long getDescriptionObjectFieldId()
      Returns the description object field ID of this object definition.
      Specified by:
      getDescriptionObjectFieldId in interface ObjectDefinitionModel
      Returns:
      the description object field ID of this object definition
    • getDestinationName

      public String getDestinationName()
      Specified by:
      getDestinationName in interface ObjectDefinition
    • getEnableCategorization

      public boolean getEnableCategorization()
      Returns the enable categorization of this object definition.
      Specified by:
      getEnableCategorization in interface ObjectDefinitionModel
      Returns:
      the enable categorization of this object definition
    • getEnableComments

      public boolean getEnableComments()
      Returns the enable comments of this object definition.
      Specified by:
      getEnableComments in interface ObjectDefinitionModel
      Returns:
      the enable comments of this object definition
    • getEnableFriendlyURLCustomization

      public boolean getEnableFriendlyURLCustomization()
      Returns the enable friendly url customization of this object definition.
      Specified by:
      getEnableFriendlyURLCustomization in interface ObjectDefinitionModel
      Returns:
      the enable friendly url customization of this object definition
    • getEnableIndexSearch

      public boolean getEnableIndexSearch()
      Returns the enable index search of this object definition.
      Specified by:
      getEnableIndexSearch in interface ObjectDefinitionModel
      Returns:
      the enable index search of this object definition
    • getEnableLocalization

      public boolean getEnableLocalization()
      Returns the enable localization of this object definition.
      Specified by:
      getEnableLocalization in interface ObjectDefinitionModel
      Returns:
      the enable localization of this object definition
    • getEnableObjectEntryDraft

      public boolean getEnableObjectEntryDraft()
      Returns the enable object entry draft of this object definition.
      Specified by:
      getEnableObjectEntryDraft in interface ObjectDefinitionModel
      Returns:
      the enable object entry draft of this object definition
    • getEnableObjectEntryHistory

      public boolean getEnableObjectEntryHistory()
      Returns the enable object entry history of this object definition.
      Specified by:
      getEnableObjectEntryHistory in interface ObjectDefinitionModel
      Returns:
      the enable object entry history of this object definition
    • getExtensionDBTableName

      public String getExtensionDBTableName()
      Specified by:
      getExtensionDBTableName in interface ObjectDefinition
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this object definition.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface ObjectDefinitionModel
      Returns:
      the external reference code of this object definition
    • getLabel

      public String getLabel()
      Returns the label of this object definition.
      Specified by:
      getLabel in interface ObjectDefinitionModel
      Returns:
      the label of this object definition
    • getLabel

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

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

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

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

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

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

      public String getLocalizationDBTableName()
      Specified by:
      getLocalizationDBTableName in interface ObjectDefinition
    • getModifiable

      public boolean getModifiable()
      Returns the modifiable of this object definition.
      Specified by:
      getModifiable in interface ObjectDefinitionModel
      Returns:
      the modifiable of this object definition
    • getModifiedDate

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

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

      public String getName()
      Returns the name of this object definition.
      Specified by:
      getName in interface ObjectDefinitionModel
      Returns:
      the name of this object definition
    • getObjectDefinitionId

      public long getObjectDefinitionId()
      Returns the object definition ID of this object definition.
      Specified by:
      getObjectDefinitionId in interface ObjectDefinitionModel
      Returns:
      the object definition ID of this object definition
    • getObjectFolderExternalReferenceCode

      public String getObjectFolderExternalReferenceCode()
      Specified by:
      getObjectFolderExternalReferenceCode in interface ObjectDefinition
    • getObjectFolderId

      public long getObjectFolderId()
      Returns the object folder ID of this object definition.
      Specified by:
      getObjectFolderId in interface ObjectDefinitionModel
      Returns:
      the object folder ID of this object definition
    • getOSGiJaxRsName

      public String getOSGiJaxRsName()
      Specified by:
      getOSGiJaxRsName in interface ObjectDefinition
    • getOSGiJaxRsName

      public String getOSGiJaxRsName(String className)
      Specified by:
      getOSGiJaxRsName in interface ObjectDefinition
    • getPanelAppOrder

      public String getPanelAppOrder()
      Returns the panel app order of this object definition.
      Specified by:
      getPanelAppOrder in interface ObjectDefinitionModel
      Returns:
      the panel app order of this object definition
    • getPanelCategoryKey

      public String getPanelCategoryKey()
      Returns the panel category key of this object definition.
      Specified by:
      getPanelCategoryKey in interface ObjectDefinitionModel
      Returns:
      the panel category key of this object definition
    • getPKObjectFieldDBColumnName

      public String getPKObjectFieldDBColumnName()
      Returns the pk object field db column name of this object definition.
      Specified by:
      getPKObjectFieldDBColumnName in interface ObjectDefinitionModel
      Returns:
      the pk object field db column name of this object definition
    • getPKObjectFieldName

      public String getPKObjectFieldName()
      Returns the pk object field name of this object definition.
      Specified by:
      getPKObjectFieldName in interface ObjectDefinitionModel
      Returns:
      the pk object field name of this object definition
    • getPluralLabel

      public String getPluralLabel()
      Returns the plural label of this object definition.
      Specified by:
      getPluralLabel in interface ObjectDefinitionModel
      Returns:
      the plural label of this object definition
    • getPluralLabel

      public String getPluralLabel(Locale locale)
      Returns the localized plural label of this object definition in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getPluralLabel in interface ObjectDefinitionModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized plural label of this object definition
    • getPluralLabel

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

      public String getPluralLabel(String languageId)
      Returns the localized plural label of this object definition in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getPluralLabel in interface ObjectDefinitionModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized plural label of this object definition
    • getPluralLabel

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

      public String getPluralLabelCurrentLanguageId()
      Specified by:
      getPluralLabelCurrentLanguageId in interface ObjectDefinitionModel
    • getPluralLabelCurrentValue

      public String getPluralLabelCurrentValue()
      Specified by:
      getPluralLabelCurrentValue in interface ObjectDefinitionModel
    • getPluralLabelMap

      public Map<Locale,String> getPluralLabelMap()
      Returns a map of the locales and localized plural labels of this object definition.
      Specified by:
      getPluralLabelMap in interface ObjectDefinitionModel
      Returns:
      the locales and localized plural labels of this object definition
    • getPortlet

      public boolean getPortlet()
      Returns the portlet of this object definition.
      Specified by:
      getPortlet in interface ObjectDefinitionModel
      Returns:
      the portlet of this object definition
    • getPortletId

      public String getPortletId()
      Specified by:
      getPortletId in interface ObjectDefinition
    • getPreviousRESTContextPath

      public String getPreviousRESTContextPath()
      Specified by:
      getPreviousRESTContextPath in interface ObjectDefinition
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this object definition.
      Specified by:
      getPrimaryKey in interface ObjectDefinitionModel
      Returns:
      the primary key of this object definition
    • getResourceName

      public String getResourceName()
      Specified by:
      getResourceName in interface ObjectDefinition
    • getRESTContextPath

      public String getRESTContextPath()
      Specified by:
      getRESTContextPath in interface ObjectDefinition
    • getRootObjectDefinitionExternalReferenceCode

      public String getRootObjectDefinitionExternalReferenceCode()
      Specified by:
      getRootObjectDefinitionExternalReferenceCode in interface ObjectDefinition
    • getRootObjectDefinitionId

      public long getRootObjectDefinitionId()
      Returns the root object definition ID of this object definition.
      Specified by:
      getRootObjectDefinitionId in interface ObjectDefinitionModel
      Returns:
      the root object definition ID of this object definition
    • getScope

      public String getScope()
      Returns the scope of this object definition.
      Specified by:
      getScope in interface ObjectDefinitionModel
      Returns:
      the scope of this object definition
    • getShortName

      public String getShortName()
      Specified by:
      getShortName in interface ObjectDefinition
    • getStatus

      public int getStatus()
      Returns the status of this object definition.
      Specified by:
      getStatus in interface ObjectDefinitionModel
      Returns:
      the status of this object definition
    • getStorageType

      public String getStorageType()
      Returns the storage type of this object definition.
      Specified by:
      getStorageType in interface ObjectDefinitionModel
      Returns:
      the storage type of this object definition
    • getSystem

      public boolean getSystem()
      Returns the system of this object definition.
      Specified by:
      getSystem in interface ObjectDefinitionModel
      Returns:
      the system of this object definition
    • getTitleObjectFieldId

      public long getTitleObjectFieldId()
      Returns the title object field ID of this object definition.
      Specified by:
      getTitleObjectFieldId in interface ObjectDefinitionModel
      Returns:
      the title object field ID of this object definition
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this object definition.
      Specified by:
      getUuid in interface ObjectDefinitionModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this object definition
    • getVersion

      public int getVersion()
      Returns the version of this object definition.
      Specified by:
      getVersion in interface ObjectDefinitionModel
      Returns:
      the version of this object definition
    • isAccountEntryRestricted

      public boolean isAccountEntryRestricted()
      Returns true if this object definition is account entry restricted.
      Specified by:
      isAccountEntryRestricted in interface ObjectDefinitionModel
      Returns:
      true if this object definition is account entry restricted; false otherwise
    • isActive

      public boolean isActive()
      Returns true if this object definition is active.
      Specified by:
      isActive in interface ObjectDefinitionModel
      Returns:
      true if this object definition is active; false otherwise
    • isApproved

      public boolean isApproved()
      Specified by:
      isApproved in interface ObjectDefinition
    • isDefaultStorageType

      public boolean isDefaultStorageType()
      Specified by:
      isDefaultStorageType in interface ObjectDefinition
    • isEnableCategorization

      public boolean isEnableCategorization()
      Returns true if this object definition is enable categorization.
      Specified by:
      isEnableCategorization in interface ObjectDefinitionModel
      Returns:
      true if this object definition is enable categorization; false otherwise
    • isEnableComments

      public boolean isEnableComments()
      Returns true if this object definition is enable comments.
      Specified by:
      isEnableComments in interface ObjectDefinitionModel
      Returns:
      true if this object definition is enable comments; false otherwise
    • isEnableFriendlyURLCustomization

      public boolean isEnableFriendlyURLCustomization()
      Returns true if this object definition is enable friendly url customization.
      Specified by:
      isEnableFriendlyURLCustomization in interface ObjectDefinitionModel
      Returns:
      true if this object definition is enable friendly url customization; false otherwise
    • isEnableIndexSearch

      public boolean isEnableIndexSearch()
      Returns true if this object definition is enable index search.
      Specified by:
      isEnableIndexSearch in interface ObjectDefinitionModel
      Returns:
      true if this object definition is enable index search; false otherwise
    • isEnableLocalization

      public boolean isEnableLocalization()
      Returns true if this object definition is enable localization.
      Specified by:
      isEnableLocalization in interface ObjectDefinitionModel
      Returns:
      true if this object definition is enable localization; false otherwise
    • isEnableObjectEntryDraft

      public boolean isEnableObjectEntryDraft()
      Returns true if this object definition is enable object entry draft.
      Specified by:
      isEnableObjectEntryDraft in interface ObjectDefinitionModel
      Returns:
      true if this object definition is enable object entry draft; false otherwise
    • isEnableObjectEntryHistory

      public boolean isEnableObjectEntryHistory()
      Returns true if this object definition is enable object entry history.
      Specified by:
      isEnableObjectEntryHistory in interface ObjectDefinitionModel
      Returns:
      true if this object definition is enable object entry history; false otherwise
    • isLinkedToObjectFolder

      public boolean isLinkedToObjectFolder(long objectFolderId)
      Specified by:
      isLinkedToObjectFolder in interface ObjectDefinition
    • isModifiable

      public boolean isModifiable()
      Returns true if this object definition is modifiable.
      Specified by:
      isModifiable in interface ObjectDefinitionModel
      Returns:
      true if this object definition is modifiable; false otherwise
    • isModifiableAndSystem

      public boolean isModifiableAndSystem()
      Specified by:
      isModifiableAndSystem in interface ObjectDefinition
    • isNodeCandidate

      public boolean isNodeCandidate()
      Specified by:
      isNodeCandidate in interface ObjectDefinition
    • isPortlet

      public boolean isPortlet()
      Returns true if this object definition is portlet.
      Specified by:
      isPortlet in interface ObjectDefinitionModel
      Returns:
      true if this object definition is portlet; false otherwise
    • isRootDescendantNode

      public boolean isRootDescendantNode()
      Specified by:
      isRootDescendantNode in interface ObjectDefinition
    • isRootNode

      public boolean isRootNode()
      Specified by:
      isRootNode in interface ObjectDefinition
    • isSystem

      public boolean isSystem()
      Returns true if this object definition is system.
      Specified by:
      isSystem in interface ObjectDefinitionModel
      Returns:
      true if this object definition is system; false otherwise
    • isUnmodifiableSystemObject

      public boolean isUnmodifiableSystemObject()
      Specified by:
      isUnmodifiableSystemObject in interface ObjectDefinition
    • 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 ObjectDefinitionModel
      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 ObjectDefinitionModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setAccountEntryRestricted

      public void setAccountEntryRestricted(boolean accountEntryRestricted)
      Sets whether this object definition is account entry restricted.
      Specified by:
      setAccountEntryRestricted in interface ObjectDefinitionModel
      Parameters:
      accountEntryRestricted - the account entry restricted of this object definition
    • setAccountEntryRestrictedObjectFieldId

      public void setAccountEntryRestrictedObjectFieldId(long accountEntryRestrictedObjectFieldId)
      Sets the account entry restricted object field ID of this object definition.
      Specified by:
      setAccountEntryRestrictedObjectFieldId in interface ObjectDefinitionModel
      Parameters:
      accountEntryRestrictedObjectFieldId - the account entry restricted object field ID of this object definition
    • setActive

      public void setActive(boolean active)
      Sets whether this object definition is active.
      Specified by:
      setActive in interface ObjectDefinitionModel
      Parameters:
      active - the active of this object definition
    • setClassName

      public void setClassName(String className)
      Sets the class name of this object definition.
      Specified by:
      setClassName in interface ObjectDefinitionModel
      Parameters:
      className - the class name of this object definition
    • setCompanyId

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

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

      public void setDBTableName(String dbTableName)
      Sets the db table name of this object definition.
      Specified by:
      setDBTableName in interface ObjectDefinitionModel
      Parameters:
      dbTableName - the db table name of this object definition
    • setDescriptionObjectFieldId

      public void setDescriptionObjectFieldId(long descriptionObjectFieldId)
      Sets the description object field ID of this object definition.
      Specified by:
      setDescriptionObjectFieldId in interface ObjectDefinitionModel
      Parameters:
      descriptionObjectFieldId - the description object field ID of this object definition
    • setEnableCategorization

      public void setEnableCategorization(boolean enableCategorization)
      Sets whether this object definition is enable categorization.
      Specified by:
      setEnableCategorization in interface ObjectDefinitionModel
      Parameters:
      enableCategorization - the enable categorization of this object definition
    • setEnableComments

      public void setEnableComments(boolean enableComments)
      Sets whether this object definition is enable comments.
      Specified by:
      setEnableComments in interface ObjectDefinitionModel
      Parameters:
      enableComments - the enable comments of this object definition
    • setEnableFriendlyURLCustomization

      public void setEnableFriendlyURLCustomization(boolean enableFriendlyURLCustomization)
      Sets whether this object definition is enable friendly url customization.
      Specified by:
      setEnableFriendlyURLCustomization in interface ObjectDefinitionModel
      Parameters:
      enableFriendlyURLCustomization - the enable friendly url customization of this object definition
    • setEnableIndexSearch

      public void setEnableIndexSearch(boolean enableIndexSearch)
      Sets whether this object definition is enable index search.
      Specified by:
      setEnableIndexSearch in interface ObjectDefinitionModel
      Parameters:
      enableIndexSearch - the enable index search of this object definition
    • setEnableLocalization

      public void setEnableLocalization(boolean enableLocalization)
      Sets whether this object definition is enable localization.
      Specified by:
      setEnableLocalization in interface ObjectDefinitionModel
      Parameters:
      enableLocalization - the enable localization of this object definition
    • setEnableObjectEntryDraft

      public void setEnableObjectEntryDraft(boolean enableObjectEntryDraft)
      Sets whether this object definition is enable object entry draft.
      Specified by:
      setEnableObjectEntryDraft in interface ObjectDefinitionModel
      Parameters:
      enableObjectEntryDraft - the enable object entry draft of this object definition
    • setEnableObjectEntryHistory

      public void setEnableObjectEntryHistory(boolean enableObjectEntryHistory)
      Sets whether this object definition is enable object entry history.
      Specified by:
      setEnableObjectEntryHistory in interface ObjectDefinitionModel
      Parameters:
      enableObjectEntryHistory - the enable object entry history of this object definition
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this object definition.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface ObjectDefinitionModel
      Parameters:
      externalReferenceCode - the external reference code of this object definition
    • setLabel

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

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

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

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

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

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

      public void setModifiable(boolean modifiable)
      Sets whether this object definition is modifiable.
      Specified by:
      setModifiable in interface ObjectDefinitionModel
      Parameters:
      modifiable - the modifiable of this object definition
    • setModifiedDate

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

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

      public void setName(String name)
      Sets the name of this object definition.
      Specified by:
      setName in interface ObjectDefinitionModel
      Parameters:
      name - the name of this object definition
    • setObjectDefinitionId

      public void setObjectDefinitionId(long objectDefinitionId)
      Sets the object definition ID of this object definition.
      Specified by:
      setObjectDefinitionId in interface ObjectDefinitionModel
      Parameters:
      objectDefinitionId - the object definition ID of this object definition
    • setObjectFolderId

      public void setObjectFolderId(long objectFolderId)
      Sets the object folder ID of this object definition.
      Specified by:
      setObjectFolderId in interface ObjectDefinitionModel
      Parameters:
      objectFolderId - the object folder ID of this object definition
    • setPanelAppOrder

      public void setPanelAppOrder(String panelAppOrder)
      Sets the panel app order of this object definition.
      Specified by:
      setPanelAppOrder in interface ObjectDefinitionModel
      Parameters:
      panelAppOrder - the panel app order of this object definition
    • setPanelCategoryKey

      public void setPanelCategoryKey(String panelCategoryKey)
      Sets the panel category key of this object definition.
      Specified by:
      setPanelCategoryKey in interface ObjectDefinitionModel
      Parameters:
      panelCategoryKey - the panel category key of this object definition
    • setPKObjectFieldDBColumnName

      public void setPKObjectFieldDBColumnName(String pkObjectFieldDBColumnName)
      Sets the pk object field db column name of this object definition.
      Specified by:
      setPKObjectFieldDBColumnName in interface ObjectDefinitionModel
      Parameters:
      pkObjectFieldDBColumnName - the pk object field db column name of this object definition
    • setPKObjectFieldName

      public void setPKObjectFieldName(String pkObjectFieldName)
      Sets the pk object field name of this object definition.
      Specified by:
      setPKObjectFieldName in interface ObjectDefinitionModel
      Parameters:
      pkObjectFieldName - the pk object field name of this object definition
    • setPluralLabel

      public void setPluralLabel(String pluralLabel)
      Sets the plural label of this object definition.
      Specified by:
      setPluralLabel in interface ObjectDefinitionModel
      Parameters:
      pluralLabel - the plural label of this object definition
    • setPluralLabel

      public void setPluralLabel(String pluralLabel, Locale locale)
      Sets the localized plural label of this object definition in the language.
      Specified by:
      setPluralLabel in interface ObjectDefinitionModel
      Parameters:
      pluralLabel - the localized plural label of this object definition
      locale - the locale of the language
    • setPluralLabel

      public void setPluralLabel(String pluralLabel, Locale locale, Locale defaultLocale)
      Sets the localized plural label of this object definition in the language, and sets the default locale.
      Specified by:
      setPluralLabel in interface ObjectDefinitionModel
      Parameters:
      pluralLabel - the localized plural label of this object definition
      locale - the locale of the language
      defaultLocale - the default locale
    • setPluralLabelCurrentLanguageId

      public void setPluralLabelCurrentLanguageId(String languageId)
      Specified by:
      setPluralLabelCurrentLanguageId in interface ObjectDefinitionModel
    • setPluralLabelMap

      public void setPluralLabelMap(Map<Locale,String> pluralLabelMap)
      Sets the localized plural labels of this object definition from the map of locales and localized plural labels.
      Specified by:
      setPluralLabelMap in interface ObjectDefinitionModel
      Parameters:
      pluralLabelMap - the locales and localized plural labels of this object definition
    • setPluralLabelMap

      public void setPluralLabelMap(Map<Locale,String> pluralLabelMap, Locale defaultLocale)
      Sets the localized plural labels of this object definition from the map of locales and localized plural labels, and sets the default locale.
      Specified by:
      setPluralLabelMap in interface ObjectDefinitionModel
      Parameters:
      pluralLabelMap - the locales and localized plural labels of this object definition
      defaultLocale - the default locale
    • setPortlet

      public void setPortlet(boolean portlet)
      Sets whether this object definition is portlet.
      Specified by:
      setPortlet in interface ObjectDefinitionModel
      Parameters:
      portlet - the portlet of this object definition
    • setPreviousRESTContextPath

      public void setPreviousRESTContextPath(String previousRESTContextPath)
      Specified by:
      setPreviousRESTContextPath in interface ObjectDefinition
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this object definition.
      Specified by:
      setPrimaryKey in interface ObjectDefinitionModel
      Parameters:
      primaryKey - the primary key of this object definition
    • setRootObjectDefinitionId

      public void setRootObjectDefinitionId(long rootObjectDefinitionId)
      Sets the root object definition ID of this object definition.
      Specified by:
      setRootObjectDefinitionId in interface ObjectDefinitionModel
      Parameters:
      rootObjectDefinitionId - the root object definition ID of this object definition
    • setScope

      public void setScope(String scope)
      Sets the scope of this object definition.
      Specified by:
      setScope in interface ObjectDefinitionModel
      Parameters:
      scope - the scope of this object definition
    • setStatus

      public void setStatus(int status)
      Sets the status of this object definition.
      Specified by:
      setStatus in interface ObjectDefinitionModel
      Parameters:
      status - the status of this object definition
    • setStorageType

      public void setStorageType(String storageType)
      Sets the storage type of this object definition.
      Specified by:
      setStorageType in interface ObjectDefinitionModel
      Parameters:
      storageType - the storage type of this object definition
    • setSystem

      public void setSystem(boolean system)
      Sets whether this object definition is system.
      Specified by:
      setSystem in interface ObjectDefinitionModel
      Parameters:
      system - the system of this object definition
    • setTitleObjectFieldId

      public void setTitleObjectFieldId(long titleObjectFieldId)
      Sets the title object field ID of this object definition.
      Specified by:
      setTitleObjectFieldId in interface ObjectDefinitionModel
      Parameters:
      titleObjectFieldId - the title object field ID of this object definition
    • setUserId

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

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

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

      public void setUuid(String uuid)
      Sets the uuid of this object definition.
      Specified by:
      setUuid in interface ObjectDefinitionModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this object definition
    • setVersion

      public void setVersion(int version)
      Sets the version of this object definition.
      Specified by:
      setVersion in interface ObjectDefinitionModel
      Parameters:
      version - the version of this object definition
    • toXmlString

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

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

      protected ObjectDefinitionWrapper wrap(ObjectDefinition objectDefinition)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectDefinition>