Package com.liferay.object.model
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:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.object.model.ObjectDefinition
OBJECT_DEFINITION_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the account entry restricted of this object definition.longReturns the account entry restricted object field ID of this object definition.booleanReturns the active of this object definition.String[]Returns the class name of this object definition.longReturns the company ID of this object definition.Returns the create date of this object definition.Returns the db table name of this object definition.longReturns the description object field ID of this object definition.booleanReturns the enable categorization of this object definition.booleanReturns the enable comments of this object definition.booleanReturns the enable friendly url customization of this object definition.booleanReturns the enable index search of this object definition.booleanReturns the enable localization of this object definition.booleanReturns the enable object entry draft of this object definition.booleanReturns the enable object entry history of this object definition.Returns the external reference code of this object definition.getLabel()Returns the label of this object definition.Returns the localized label of this object definition in the language.Returns the localized label of this object definition in the language, optionally using the default language if no localization exists for the requested language.Returns the localized label of this object definition in the language.Returns the localized label of this object definition 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 definition.booleanReturns the modifiable of this object definition.Returns the modified date of this object definition.longReturns the mvcc version of this object definition.getName()Returns the name of this object definition.longReturns the object definition ID of this object definition.longReturns the object folder ID of this object definition.getOSGiJaxRsName(String className) Returns the panel app order of this object definition.Returns the panel category key of this object definition.Returns the pk object field db column name of this object definition.Returns the pk object field name of this object definition.Returns the plural label of this object definition.getPluralLabel(String languageId) Returns the localized plural label of this object definition in the language.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.getPluralLabel(Locale locale) Returns the localized plural label of this object definition in the language.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.Returns a map of the locales and localized plural labels of this object definition.booleanReturns the portlet of this object definition.longReturns the primary key of this object definition.longReturns the root object definition ID of this object definition.getScope()Returns the scope of this object definition.com.liferay.exportimport.kernel.lar.StagedModelTypeintReturns the status of this object definition.Returns the storage type of this object definition.booleanReturns the system of this object definition.longReturns the title object field ID of this object definition.longReturns the user ID of this object definition.Returns the user name of this object definition.Returns the user uuid of this object definition.getUuid()Returns the uuid of this object definition.intReturns the version of this object definition.booleanReturnstrueif this object definition is account entry restricted.booleanisActive()Returnstrueif this object definition is active.booleanbooleanbooleanReturnstrueif this object definition is enable categorization.booleanReturnstrueif this object definition is enable comments.booleanReturnstrueif this object definition is enable friendly url customization.booleanReturnstrueif this object definition is enable index search.booleanReturnstrueif this object definition is enable localization.booleanReturnstrueif this object definition is enable object entry draft.booleanReturnstrueif this object definition is enable object entry history.booleanisLinkedToObjectFolder(long objectFolderId) booleanReturnstrueif this object definition is modifiable.booleanbooleanbooleanReturnstrueif this object definition is portlet.booleanbooleanbooleanisSystem()Returnstrueif this object definition is system.booleanvoidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetAccountEntryRestricted(boolean accountEntryRestricted) Sets whether this object definition is account entry restricted.voidsetAccountEntryRestrictedObjectFieldId(long accountEntryRestrictedObjectFieldId) Sets the account entry restricted object field ID of this object definition.voidsetActive(boolean active) Sets whether this object definition is active.voidsetClassName(String className) Sets the class name of this object definition.voidsetCompanyId(long companyId) Sets the company ID of this object definition.voidsetCreateDate(Date createDate) Sets the create date of this object definition.voidsetDBTableName(String dbTableName) Sets the db table name of this object definition.voidsetDescriptionObjectFieldId(long descriptionObjectFieldId) Sets the description object field ID of this object definition.voidsetEnableCategorization(boolean enableCategorization) Sets whether this object definition is enable categorization.voidsetEnableComments(boolean enableComments) Sets whether this object definition is enable comments.voidsetEnableFriendlyURLCustomization(boolean enableFriendlyURLCustomization) Sets whether this object definition is enable friendly url customization.voidsetEnableIndexSearch(boolean enableIndexSearch) Sets whether this object definition is enable index search.voidsetEnableLocalization(boolean enableLocalization) Sets whether this object definition is enable localization.voidsetEnableObjectEntryDraft(boolean enableObjectEntryDraft) Sets whether this object definition is enable object entry draft.voidsetEnableObjectEntryHistory(boolean enableObjectEntryHistory) Sets whether this object definition is enable object entry history.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this object definition.voidSets the label of this object definition.voidSets the localized label of this object definition in the language.voidSets the localized label of this object definition in the language, and sets the default locale.voidsetLabelCurrentLanguageId(String languageId) voidsetLabelMap(Map<Locale, String> labelMap) Sets the localized labels of this object definition from the map of locales and localized labels.voidsetLabelMap(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.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiable(boolean modifiable) Sets whether this object definition is modifiable.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this object definition.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this object definition.voidSets the name of this object definition.voidsetObjectDefinitionId(long objectDefinitionId) Sets the object definition ID of this object definition.voidsetObjectFolderId(long objectFolderId) Sets the object folder ID of this object definition.voidsetPanelAppOrder(String panelAppOrder) Sets the panel app order of this object definition.voidsetPanelCategoryKey(String panelCategoryKey) Sets the panel category key of this object definition.voidsetPKObjectFieldDBColumnName(String pkObjectFieldDBColumnName) Sets the pk object field db column name of this object definition.voidsetPKObjectFieldName(String pkObjectFieldName) Sets the pk object field name of this object definition.voidsetPluralLabel(String pluralLabel) Sets the plural label of this object definition.voidsetPluralLabel(String pluralLabel, Locale locale) Sets the localized plural label of this object definition in the language.voidsetPluralLabel(String pluralLabel, Locale locale, Locale defaultLocale) Sets the localized plural label of this object definition in the language, and sets the default locale.voidsetPluralLabelCurrentLanguageId(String languageId) voidsetPluralLabelMap(Map<Locale, String> pluralLabelMap) Sets the localized plural labels of this object definition from the map of locales and localized plural labels.voidsetPluralLabelMap(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.voidsetPortlet(boolean portlet) Sets whether this object definition is portlet.voidsetPreviousRESTContextPath(String previousRESTContextPath) voidsetPrimaryKey(long primaryKey) Sets the primary key of this object definition.voidsetRootObjectDefinitionId(long rootObjectDefinitionId) Sets the root object definition ID of this object definition.voidSets the scope of this object definition.voidsetStatus(int status) Sets the status of this object definition.voidsetStorageType(String storageType) Sets the storage type of this object definition.voidsetSystem(boolean system) Sets whether this object definition is system.voidsetTitleObjectFieldId(long titleObjectFieldId) Sets the title object field ID of this object definition.voidsetUserId(long userId) Sets the user ID of this object definition.voidsetUserName(String userName) Sets the user name of this object definition.voidsetUserUuid(String userUuid) Sets the user uuid of this object definition.voidSets the uuid of this object definition.voidsetVersion(int version) Sets the version of this object definition.protected ObjectDefinitionWrapperwrap(ObjectDefinition objectDefinition) 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
ObjectDefinitionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<ObjectDefinition>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<ObjectDefinition>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<ObjectDefinition>- Specified by:
cloneWithOriginalValuesin interfaceObjectDefinitionModel
-
getAccountEntryRestricted
public boolean getAccountEntryRestricted()Returns the account entry restricted of this object definition.- Specified by:
getAccountEntryRestrictedin interfaceObjectDefinitionModel- 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:
getAccountEntryRestrictedObjectFieldIdin interfaceObjectDefinitionModel- 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:
getActivein interfaceObjectDefinitionModel- Returns:
- the active of this object definition
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
getAvailableLanguageIdsin interfaceObjectDefinitionModel
-
getClassName
Returns the class name of this object definition.- Specified by:
getClassNamein interfaceObjectDefinitionModel- Returns:
- the class name of this object definition
-
getCompanyId
public long getCompanyId()Returns the company ID of this object definition.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceObjectDefinitionModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this object definition
-
getCreateDate
Returns the create date of this object definition.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceObjectDefinitionModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this object definition
-
getDBTableName
Returns the db table name of this object definition.- Specified by:
getDBTableNamein interfaceObjectDefinitionModel- Returns:
- the db table name of this object definition
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
getDefaultLanguageIdin interfaceObjectDefinitionModel
-
getDefaultLocale
- Specified by:
getDefaultLocalein interfaceObjectDefinition
-
getDescriptionObjectFieldId
public long getDescriptionObjectFieldId()Returns the description object field ID of this object definition.- Specified by:
getDescriptionObjectFieldIdin interfaceObjectDefinitionModel- Returns:
- the description object field ID of this object definition
-
getDestinationName
- Specified by:
getDestinationNamein interfaceObjectDefinition
-
getEnableCategorization
public boolean getEnableCategorization()Returns the enable categorization of this object definition.- Specified by:
getEnableCategorizationin interfaceObjectDefinitionModel- Returns:
- the enable categorization of this object definition
-
getEnableComments
public boolean getEnableComments()Returns the enable comments of this object definition.- Specified by:
getEnableCommentsin interfaceObjectDefinitionModel- Returns:
- the enable comments of this object definition
-
getEnableFriendlyURLCustomization
public boolean getEnableFriendlyURLCustomization()Returns the enable friendly url customization of this object definition.- Specified by:
getEnableFriendlyURLCustomizationin interfaceObjectDefinitionModel- 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:
getEnableIndexSearchin interfaceObjectDefinitionModel- Returns:
- the enable index search of this object definition
-
getEnableLocalization
public boolean getEnableLocalization()Returns the enable localization of this object definition.- Specified by:
getEnableLocalizationin interfaceObjectDefinitionModel- Returns:
- the enable localization of this object definition
-
getEnableObjectEntryDraft
public boolean getEnableObjectEntryDraft()Returns the enable object entry draft of this object definition.- Specified by:
getEnableObjectEntryDraftin interfaceObjectDefinitionModel- 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:
getEnableObjectEntryHistoryin interfaceObjectDefinitionModel- Returns:
- the enable object entry history of this object definition
-
getExtensionDBTableName
- Specified by:
getExtensionDBTableNamein interfaceObjectDefinition
-
getExternalReferenceCode
Returns the external reference code of this object definition.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Specified by:
getExternalReferenceCodein interfaceObjectDefinitionModel- Returns:
- the external reference code of this object definition
-
getLabel
Returns the label of this object definition.- Specified by:
getLabelin interfaceObjectDefinitionModel- Returns:
- the label of this object definition
-
getLabel
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:
getLabelin interfaceObjectDefinitionModel- Parameters:
locale- the locale of the language- Returns:
- the localized label of this object definition
-
getLabel
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:
getLabelin interfaceObjectDefinitionModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this object definition. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getLabel
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:
getLabelin interfaceObjectDefinitionModel- Parameters:
languageId- the ID of the language- Returns:
- the localized label of this object definition
-
getLabel
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:
getLabelin interfaceObjectDefinitionModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized label of this object definition
-
getLabelCurrentLanguageId
- Specified by:
getLabelCurrentLanguageIdin interfaceObjectDefinitionModel
-
getLabelCurrentValue
- Specified by:
getLabelCurrentValuein interfaceObjectDefinitionModel
-
getLabelMap
Returns a map of the locales and localized labels of this object definition.- Specified by:
getLabelMapin interfaceObjectDefinitionModel- Returns:
- the locales and localized labels of this object definition
-
getLocalizationDBTableName
- Specified by:
getLocalizationDBTableNamein interfaceObjectDefinition
-
getModifiable
public boolean getModifiable()Returns the modifiable of this object definition.- Specified by:
getModifiablein interfaceObjectDefinitionModel- Returns:
- the modifiable of this object definition
-
getModifiedDate
Returns the modified date of this object definition.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceObjectDefinitionModel- Specified by:
getModifiedDatein interfacecom.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:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
getMvccVersionin interfaceObjectDefinitionModel- Returns:
- the mvcc version of this object definition
-
getName
Returns the name of this object definition.- Specified by:
getNamein interfaceObjectDefinitionModel- Returns:
- the name of this object definition
-
getObjectDefinitionId
public long getObjectDefinitionId()Returns the object definition ID of this object definition.- Specified by:
getObjectDefinitionIdin interfaceObjectDefinitionModel- Returns:
- the object definition ID of this object definition
-
getObjectFolderExternalReferenceCode
- Specified by:
getObjectFolderExternalReferenceCodein interfaceObjectDefinition
-
getObjectFolderId
public long getObjectFolderId()Returns the object folder ID of this object definition.- Specified by:
getObjectFolderIdin interfaceObjectDefinitionModel- Returns:
- the object folder ID of this object definition
-
getOSGiJaxRsName
- Specified by:
getOSGiJaxRsNamein interfaceObjectDefinition
-
getOSGiJaxRsName
- Specified by:
getOSGiJaxRsNamein interfaceObjectDefinition
-
getPanelAppOrder
Returns the panel app order of this object definition.- Specified by:
getPanelAppOrderin interfaceObjectDefinitionModel- Returns:
- the panel app order of this object definition
-
getPanelCategoryKey
Returns the panel category key of this object definition.- Specified by:
getPanelCategoryKeyin interfaceObjectDefinitionModel- Returns:
- the panel category key of this object definition
-
getPKObjectFieldDBColumnName
Returns the pk object field db column name of this object definition.- Specified by:
getPKObjectFieldDBColumnNamein interfaceObjectDefinitionModel- Returns:
- the pk object field db column name of this object definition
-
getPKObjectFieldName
Returns the pk object field name of this object definition.- Specified by:
getPKObjectFieldNamein interfaceObjectDefinitionModel- Returns:
- the pk object field name of this object definition
-
getPluralLabel
Returns the plural label of this object definition.- Specified by:
getPluralLabelin interfaceObjectDefinitionModel- Returns:
- the plural label of this object definition
-
getPluralLabel
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:
getPluralLabelin interfaceObjectDefinitionModel- Parameters:
locale- the locale of the language- Returns:
- the localized plural label of this object definition
-
getPluralLabel
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:
getPluralLabelin interfaceObjectDefinitionModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized plural label of this object definition. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getPluralLabel
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:
getPluralLabelin interfaceObjectDefinitionModel- Parameters:
languageId- the ID of the language- Returns:
- the localized plural label of this object definition
-
getPluralLabel
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:
getPluralLabelin interfaceObjectDefinitionModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized plural label of this object definition
-
getPluralLabelCurrentLanguageId
- Specified by:
getPluralLabelCurrentLanguageIdin interfaceObjectDefinitionModel
-
getPluralLabelCurrentValue
- Specified by:
getPluralLabelCurrentValuein interfaceObjectDefinitionModel
-
getPluralLabelMap
Returns a map of the locales and localized plural labels of this object definition.- Specified by:
getPluralLabelMapin interfaceObjectDefinitionModel- Returns:
- the locales and localized plural labels of this object definition
-
getPortlet
public boolean getPortlet()Returns the portlet of this object definition.- Specified by:
getPortletin interfaceObjectDefinitionModel- Returns:
- the portlet of this object definition
-
getPortletId
- Specified by:
getPortletIdin interfaceObjectDefinition
-
getPreviousRESTContextPath
- Specified by:
getPreviousRESTContextPathin interfaceObjectDefinition
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this object definition.- Specified by:
getPrimaryKeyin interfaceObjectDefinitionModel- Returns:
- the primary key of this object definition
-
getResourceName
- Specified by:
getResourceNamein interfaceObjectDefinition
-
getRESTContextPath
- Specified by:
getRESTContextPathin interfaceObjectDefinition
-
getRootObjectDefinitionExternalReferenceCode
- Specified by:
getRootObjectDefinitionExternalReferenceCodein interfaceObjectDefinition
-
getRootObjectDefinitionId
public long getRootObjectDefinitionId()Returns the root object definition ID of this object definition.- Specified by:
getRootObjectDefinitionIdin interfaceObjectDefinitionModel- Returns:
- the root object definition ID of this object definition
-
getScope
Returns the scope of this object definition.- Specified by:
getScopein interfaceObjectDefinitionModel- Returns:
- the scope of this object definition
-
getShortName
- Specified by:
getShortNamein interfaceObjectDefinition
-
getStatus
public int getStatus()Returns the status of this object definition.- Specified by:
getStatusin interfaceObjectDefinitionModel- Returns:
- the status of this object definition
-
getStorageType
Returns the storage type of this object definition.- Specified by:
getStorageTypein interfaceObjectDefinitionModel- Returns:
- the storage type of this object definition
-
getSystem
public boolean getSystem()Returns the system of this object definition.- Specified by:
getSystemin interfaceObjectDefinitionModel- Returns:
- the system of this object definition
-
getTitleObjectFieldId
public long getTitleObjectFieldId()Returns the title object field ID of this object definition.- Specified by:
getTitleObjectFieldIdin interfaceObjectDefinitionModel- Returns:
- the title object field ID of this object definition
-
getUserId
public long getUserId()Returns the user ID of this object definition.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceObjectDefinitionModel- Returns:
- the user ID of this object definition
-
getUserName
Returns the user name of this object definition.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceObjectDefinitionModel- Returns:
- the user name of this object definition
-
getUserUuid
Returns the user uuid of this object definition.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceObjectDefinitionModel- Returns:
- the user uuid of this object definition
-
getUuid
Returns the uuid of this object definition.- Specified by:
getUuidin interfaceObjectDefinitionModel- Specified by:
getUuidin interfacecom.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:
getVersionin interfaceObjectDefinitionModel- Returns:
- the version of this object definition
-
isAccountEntryRestricted
public boolean isAccountEntryRestricted()Returnstrueif this object definition is account entry restricted.- Specified by:
isAccountEntryRestrictedin interfaceObjectDefinitionModel- Returns:
trueif this object definition is account entry restricted;falseotherwise
-
isActive
public boolean isActive()Returnstrueif this object definition is active.- Specified by:
isActivein interfaceObjectDefinitionModel- Returns:
trueif this object definition is active;falseotherwise
-
isApproved
public boolean isApproved()- Specified by:
isApprovedin interfaceObjectDefinition
-
isDefaultStorageType
public boolean isDefaultStorageType()- Specified by:
isDefaultStorageTypein interfaceObjectDefinition
-
isEnableCategorization
public boolean isEnableCategorization()Returnstrueif this object definition is enable categorization.- Specified by:
isEnableCategorizationin interfaceObjectDefinitionModel- Returns:
trueif this object definition is enable categorization;falseotherwise
-
isEnableComments
public boolean isEnableComments()Returnstrueif this object definition is enable comments.- Specified by:
isEnableCommentsin interfaceObjectDefinitionModel- Returns:
trueif this object definition is enable comments;falseotherwise
-
isEnableFriendlyURLCustomization
public boolean isEnableFriendlyURLCustomization()Returnstrueif this object definition is enable friendly url customization.- Specified by:
isEnableFriendlyURLCustomizationin interfaceObjectDefinitionModel- Returns:
trueif this object definition is enable friendly url customization;falseotherwise
-
isEnableIndexSearch
public boolean isEnableIndexSearch()Returnstrueif this object definition is enable index search.- Specified by:
isEnableIndexSearchin interfaceObjectDefinitionModel- Returns:
trueif this object definition is enable index search;falseotherwise
-
isEnableLocalization
public boolean isEnableLocalization()Returnstrueif this object definition is enable localization.- Specified by:
isEnableLocalizationin interfaceObjectDefinitionModel- Returns:
trueif this object definition is enable localization;falseotherwise
-
isEnableObjectEntryDraft
public boolean isEnableObjectEntryDraft()Returnstrueif this object definition is enable object entry draft.- Specified by:
isEnableObjectEntryDraftin interfaceObjectDefinitionModel- Returns:
trueif this object definition is enable object entry draft;falseotherwise
-
isEnableObjectEntryHistory
public boolean isEnableObjectEntryHistory()Returnstrueif this object definition is enable object entry history.- Specified by:
isEnableObjectEntryHistoryin interfaceObjectDefinitionModel- Returns:
trueif this object definition is enable object entry history;falseotherwise
-
isLinkedToObjectFolder
public boolean isLinkedToObjectFolder(long objectFolderId) - Specified by:
isLinkedToObjectFolderin interfaceObjectDefinition
-
isModifiable
public boolean isModifiable()Returnstrueif this object definition is modifiable.- Specified by:
isModifiablein interfaceObjectDefinitionModel- Returns:
trueif this object definition is modifiable;falseotherwise
-
isModifiableAndSystem
public boolean isModifiableAndSystem()- Specified by:
isModifiableAndSystemin interfaceObjectDefinition
-
isNodeCandidate
public boolean isNodeCandidate()- Specified by:
isNodeCandidatein interfaceObjectDefinition
-
isPortlet
public boolean isPortlet()Returnstrueif this object definition is portlet.- Specified by:
isPortletin interfaceObjectDefinitionModel- Returns:
trueif this object definition is portlet;falseotherwise
-
isRootDescendantNode
public boolean isRootDescendantNode()- Specified by:
isRootDescendantNodein interfaceObjectDefinition
-
isRootNode
public boolean isRootNode()- Specified by:
isRootNodein interfaceObjectDefinition
-
isSystem
public boolean isSystem()Returnstrueif this object definition is system.- Specified by:
isSystemin interfaceObjectDefinitionModel- Returns:
trueif this object definition is system;falseotherwise
-
isUnmodifiableSystemObject
public boolean isUnmodifiableSystemObject()- Specified by:
isUnmodifiableSystemObjectin interfaceObjectDefinition
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
prepareLocalizedFieldsForImportin interfaceObjectDefinitionModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Specified by:
prepareLocalizedFieldsForImportin interfaceObjectDefinitionModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setAccountEntryRestricted
public void setAccountEntryRestricted(boolean accountEntryRestricted) Sets whether this object definition is account entry restricted.- Specified by:
setAccountEntryRestrictedin interfaceObjectDefinitionModel- 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:
setAccountEntryRestrictedObjectFieldIdin interfaceObjectDefinitionModel- 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:
setActivein interfaceObjectDefinitionModel- Parameters:
active- the active of this object definition
-
setClassName
Sets the class name of this object definition.- Specified by:
setClassNamein interfaceObjectDefinitionModel- 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceObjectDefinitionModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this object definition
-
setCreateDate
Sets the create date of this object definition.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceObjectDefinitionModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this object definition
-
setDBTableName
Sets the db table name of this object definition.- Specified by:
setDBTableNamein interfaceObjectDefinitionModel- 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:
setDescriptionObjectFieldIdin interfaceObjectDefinitionModel- 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:
setEnableCategorizationin interfaceObjectDefinitionModel- 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:
setEnableCommentsin interfaceObjectDefinitionModel- 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:
setEnableFriendlyURLCustomizationin interfaceObjectDefinitionModel- 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:
setEnableIndexSearchin interfaceObjectDefinitionModel- 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:
setEnableLocalizationin interfaceObjectDefinitionModel- 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:
setEnableObjectEntryDraftin interfaceObjectDefinitionModel- 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:
setEnableObjectEntryHistoryin interfaceObjectDefinitionModel- Parameters:
enableObjectEntryHistory- the enable object entry history of this object definition
-
setExternalReferenceCode
Sets the external reference code of this object definition.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Specified by:
setExternalReferenceCodein interfaceObjectDefinitionModel- Parameters:
externalReferenceCode- the external reference code of this object definition
-
setLabel
Sets the label of this object definition.- Specified by:
setLabelin interfaceObjectDefinitionModel- Parameters:
label- the label of this object definition
-
setLabel
Sets the localized label of this object definition in the language.- Specified by:
setLabelin interfaceObjectDefinitionModel- Parameters:
label- the localized label of this object definitionlocale- the locale of the language
-
setLabel
Sets the localized label of this object definition in the language, and sets the default locale.- Specified by:
setLabelin interfaceObjectDefinitionModel- Parameters:
label- the localized label of this object definitionlocale- the locale of the languagedefaultLocale- the default locale
-
setLabelCurrentLanguageId
- Specified by:
setLabelCurrentLanguageIdin interfaceObjectDefinitionModel
-
setLabelMap
Sets the localized labels of this object definition from the map of locales and localized labels.- Specified by:
setLabelMapin interfaceObjectDefinitionModel- Parameters:
labelMap- the locales and localized labels of this object definition
-
setLabelMap
Sets the localized labels of this object definition from the map of locales and localized labels, and sets the default locale.- Specified by:
setLabelMapin interfaceObjectDefinitionModel- Parameters:
labelMap- the locales and localized labels of this object definitiondefaultLocale- the default locale
-
setModifiable
public void setModifiable(boolean modifiable) Sets whether this object definition is modifiable.- Specified by:
setModifiablein interfaceObjectDefinitionModel- Parameters:
modifiable- the modifiable of this object definition
-
setModifiedDate
Sets the modified date of this object definition.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceObjectDefinitionModel- Specified by:
setModifiedDatein interfacecom.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:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Specified by:
setMvccVersionin interfaceObjectDefinitionModel- Parameters:
mvccVersion- the mvcc version of this object definition
-
setName
Sets the name of this object definition.- Specified by:
setNamein interfaceObjectDefinitionModel- 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:
setObjectDefinitionIdin interfaceObjectDefinitionModel- 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:
setObjectFolderIdin interfaceObjectDefinitionModel- Parameters:
objectFolderId- the object folder ID of this object definition
-
setPanelAppOrder
Sets the panel app order of this object definition.- Specified by:
setPanelAppOrderin interfaceObjectDefinitionModel- Parameters:
panelAppOrder- the panel app order of this object definition
-
setPanelCategoryKey
Sets the panel category key of this object definition.- Specified by:
setPanelCategoryKeyin interfaceObjectDefinitionModel- Parameters:
panelCategoryKey- the panel category key of this object definition
-
setPKObjectFieldDBColumnName
Sets the pk object field db column name of this object definition.- Specified by:
setPKObjectFieldDBColumnNamein interfaceObjectDefinitionModel- Parameters:
pkObjectFieldDBColumnName- the pk object field db column name of this object definition
-
setPKObjectFieldName
Sets the pk object field name of this object definition.- Specified by:
setPKObjectFieldNamein interfaceObjectDefinitionModel- Parameters:
pkObjectFieldName- the pk object field name of this object definition
-
setPluralLabel
Sets the plural label of this object definition.- Specified by:
setPluralLabelin interfaceObjectDefinitionModel- Parameters:
pluralLabel- the plural label of this object definition
-
setPluralLabel
Sets the localized plural label of this object definition in the language.- Specified by:
setPluralLabelin interfaceObjectDefinitionModel- Parameters:
pluralLabel- the localized plural label of this object definitionlocale- the locale of the language
-
setPluralLabel
Sets the localized plural label of this object definition in the language, and sets the default locale.- Specified by:
setPluralLabelin interfaceObjectDefinitionModel- Parameters:
pluralLabel- the localized plural label of this object definitionlocale- the locale of the languagedefaultLocale- the default locale
-
setPluralLabelCurrentLanguageId
- Specified by:
setPluralLabelCurrentLanguageIdin interfaceObjectDefinitionModel
-
setPluralLabelMap
Sets the localized plural labels of this object definition from the map of locales and localized plural labels.- Specified by:
setPluralLabelMapin interfaceObjectDefinitionModel- Parameters:
pluralLabelMap- the locales and localized plural labels of this object definition
-
setPluralLabelMap
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:
setPluralLabelMapin interfaceObjectDefinitionModel- Parameters:
pluralLabelMap- the locales and localized plural labels of this object definitiondefaultLocale- the default locale
-
setPortlet
public void setPortlet(boolean portlet) Sets whether this object definition is portlet.- Specified by:
setPortletin interfaceObjectDefinitionModel- Parameters:
portlet- the portlet of this object definition
-
setPreviousRESTContextPath
- Specified by:
setPreviousRESTContextPathin interfaceObjectDefinition
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this object definition.- Specified by:
setPrimaryKeyin interfaceObjectDefinitionModel- 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:
setRootObjectDefinitionIdin interfaceObjectDefinitionModel- Parameters:
rootObjectDefinitionId- the root object definition ID of this object definition
-
setScope
Sets the scope of this object definition.- Specified by:
setScopein interfaceObjectDefinitionModel- Parameters:
scope- the scope of this object definition
-
setStatus
public void setStatus(int status) Sets the status of this object definition.- Specified by:
setStatusin interfaceObjectDefinitionModel- Parameters:
status- the status of this object definition
-
setStorageType
Sets the storage type of this object definition.- Specified by:
setStorageTypein interfaceObjectDefinitionModel- Parameters:
storageType- the storage type of this object definition
-
setSystem
public void setSystem(boolean system) Sets whether this object definition is system.- Specified by:
setSystemin interfaceObjectDefinitionModel- 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:
setTitleObjectFieldIdin interfaceObjectDefinitionModel- 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:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceObjectDefinitionModel- Parameters:
userId- the user ID of this object definition
-
setUserName
Sets the user name of this object definition.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceObjectDefinitionModel- Parameters:
userName- the user name of this object definition
-
setUserUuid
Sets the user uuid of this object definition.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceObjectDefinitionModel- Parameters:
userUuid- the user uuid of this object definition
-
setUuid
Sets the uuid of this object definition.- Specified by:
setUuidin interfaceObjectDefinitionModel- Specified by:
setUuidin interfacecom.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:
setVersionin interfaceObjectDefinitionModel- Parameters:
version- the version of this object definition
-
toXmlString
- Specified by:
toXmlStringin interfaceObjectDefinitionModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectDefinition>
-