Package com.liferay.object.model
Interface ObjectDefinitionModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<ObjectDefinition>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<ObjectDefinition>,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
ObjectDefinition
- All Known Implementing Classes:
ObjectDefinitionWrapper
@ProviderType
public interface ObjectDefinitionModel
extends com.liferay.portal.kernel.model.BaseModel<ObjectDefinition>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the ObjectDefinition service. Represents a row in the "ObjectDefinition" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.object.model.impl.ObjectDefinitionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.object.model.impl.ObjectDefinitionImpl.
- See Also:
- Generated:
-
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.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.intReturns 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.booleanReturnstrueif 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.booleanReturnstrueif this object definition is modifiable.booleanReturnstrueif this object definition is portlet.booleanisSystem()Returnstrueif this object definition is system.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.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.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.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this object definition.- Returns:
- the primary key of this object definition
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this object definition.- Parameters:
primaryKey- the primary key of this object definition
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this object definition.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this object definition
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this object definition.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this object definition
-
getUuid
Returns the uuid of this object definition.- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this object definition
-
setUuid
Sets the uuid of this object definition.- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this object definition
-
getExternalReferenceCode
Returns the external reference code of this object definition.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this object definition
-
setExternalReferenceCode
Sets the external reference code of this object definition.- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this object definition
-
getObjectDefinitionId
long getObjectDefinitionId()Returns the object definition ID of this object definition.- Returns:
- the object definition ID of this object definition
-
setObjectDefinitionId
void setObjectDefinitionId(long objectDefinitionId) Sets the object definition ID of this object definition.- Parameters:
objectDefinitionId- the object definition ID of this object definition
-
getCompanyId
long getCompanyId()Returns the company ID of this object definition.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- 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
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this object definition.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- 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
-
getUserId
long getUserId()Returns the user ID of this object definition.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this object definition
-
setUserId
void setUserId(long userId) Sets the user ID of this object definition.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this object definition
-
getUserUuid
String getUserUuid()Returns the user uuid of this object definition.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this object definition
-
setUserUuid
Sets the user uuid of this object definition.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this object definition
-
getUserName
Returns the user name of this object definition.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this object definition
-
setUserName
Sets the user name of this object definition.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this object definition
-
getCreateDate
Date getCreateDate()Returns the create date of this object definition.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date 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 interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this object definition
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this object definition.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date 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 interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this object definition
-
getAccountEntryRestrictedObjectFieldId
long getAccountEntryRestrictedObjectFieldId()Returns the account entry restricted object field ID of this object definition.- Returns:
- the account entry restricted object field ID of this object definition
-
setAccountEntryRestrictedObjectFieldId
void setAccountEntryRestrictedObjectFieldId(long accountEntryRestrictedObjectFieldId) Sets the account entry restricted object field ID of this object definition.- Parameters:
accountEntryRestrictedObjectFieldId- the account entry restricted object field ID of this object definition
-
getDescriptionObjectFieldId
long getDescriptionObjectFieldId()Returns the description object field ID of this object definition.- Returns:
- the description object field ID of this object definition
-
setDescriptionObjectFieldId
void setDescriptionObjectFieldId(long descriptionObjectFieldId) Sets the description object field ID of this object definition.- Parameters:
descriptionObjectFieldId- the description object field ID of this object definition
-
getObjectFolderId
long getObjectFolderId()Returns the object folder ID of this object definition.- Returns:
- the object folder ID of this object definition
-
setObjectFolderId
void setObjectFolderId(long objectFolderId) Sets the object folder ID of this object definition.- Parameters:
objectFolderId- the object folder ID of this object definition
-
getRootObjectDefinitionId
long getRootObjectDefinitionId()Returns the root object definition ID of this object definition.- Returns:
- the root object definition ID of this object definition
-
setRootObjectDefinitionId
void setRootObjectDefinitionId(long rootObjectDefinitionId) Sets the root object definition ID of this object definition.- Parameters:
rootObjectDefinitionId- the root object definition ID of this object definition
-
getTitleObjectFieldId
long getTitleObjectFieldId()Returns the title object field ID of this object definition.- Returns:
- the title object field ID of this object definition
-
setTitleObjectFieldId
void setTitleObjectFieldId(long titleObjectFieldId) Sets the title object field ID of this object definition.- Parameters:
titleObjectFieldId- the title object field ID of this object definition
-
getAccountEntryRestricted
boolean getAccountEntryRestricted()Returns the account entry restricted of this object definition.- Returns:
- the account entry restricted of this object definition
-
isAccountEntryRestricted
boolean isAccountEntryRestricted()Returnstrueif this object definition is account entry restricted.- Returns:
trueif this object definition is account entry restricted;falseotherwise
-
setAccountEntryRestricted
void setAccountEntryRestricted(boolean accountEntryRestricted) Sets whether this object definition is account entry restricted.- Parameters:
accountEntryRestricted- the account entry restricted of this object definition
-
getActive
boolean getActive()Returns the active of this object definition.- Returns:
- the active of this object definition
-
isActive
boolean isActive()Returnstrueif this object definition is active.- Returns:
trueif this object definition is active;falseotherwise
-
setActive
void setActive(boolean active) Sets whether this object definition is active.- Parameters:
active- the active of this object definition
-
getClassName
Returns the class name of this object definition.- Returns:
- the class name of this object definition
-
setClassName
Sets the class name of this object definition.- Parameters:
className- the class name of this object definition
-
getDBTableName
Returns the db table name of this object definition.- Returns:
- the db table name of this object definition
-
setDBTableName
Sets the db table name of this object definition.- Parameters:
dbTableName- the db table name of this object definition
-
getEnableCategorization
boolean getEnableCategorization()Returns the enable categorization of this object definition.- Returns:
- the enable categorization of this object definition
-
isEnableCategorization
boolean isEnableCategorization()Returnstrueif this object definition is enable categorization.- Returns:
trueif this object definition is enable categorization;falseotherwise
-
setEnableCategorization
void setEnableCategorization(boolean enableCategorization) Sets whether this object definition is enable categorization.- Parameters:
enableCategorization- the enable categorization of this object definition
-
getEnableComments
boolean getEnableComments()Returns the enable comments of this object definition.- Returns:
- the enable comments of this object definition
-
isEnableComments
boolean isEnableComments()Returnstrueif this object definition is enable comments.- Returns:
trueif this object definition is enable comments;falseotherwise
-
setEnableComments
void setEnableComments(boolean enableComments) Sets whether this object definition is enable comments.- Parameters:
enableComments- the enable comments of this object definition
-
getEnableFriendlyURLCustomization
boolean getEnableFriendlyURLCustomization()Returns the enable friendly url customization of this object definition.- Returns:
- the enable friendly url customization of this object definition
-
isEnableFriendlyURLCustomization
boolean isEnableFriendlyURLCustomization()Returnstrueif this object definition is enable friendly url customization.- Returns:
trueif this object definition is enable friendly url customization;falseotherwise
-
setEnableFriendlyURLCustomization
void setEnableFriendlyURLCustomization(boolean enableFriendlyURLCustomization) Sets whether this object definition is enable friendly url customization.- Parameters:
enableFriendlyURLCustomization- the enable friendly url customization of this object definition
-
getEnableIndexSearch
boolean getEnableIndexSearch()Returns the enable index search of this object definition.- Returns:
- the enable index search of this object definition
-
isEnableIndexSearch
boolean isEnableIndexSearch()Returnstrueif this object definition is enable index search.- Returns:
trueif this object definition is enable index search;falseotherwise
-
setEnableIndexSearch
void setEnableIndexSearch(boolean enableIndexSearch) Sets whether this object definition is enable index search.- Parameters:
enableIndexSearch- the enable index search of this object definition
-
getEnableLocalization
boolean getEnableLocalization()Returns the enable localization of this object definition.- Returns:
- the enable localization of this object definition
-
isEnableLocalization
boolean isEnableLocalization()Returnstrueif this object definition is enable localization.- Returns:
trueif this object definition is enable localization;falseotherwise
-
setEnableLocalization
void setEnableLocalization(boolean enableLocalization) Sets whether this object definition is enable localization.- Parameters:
enableLocalization- the enable localization of this object definition
-
getEnableObjectEntryDraft
boolean getEnableObjectEntryDraft()Returns the enable object entry draft of this object definition.- Returns:
- the enable object entry draft of this object definition
-
isEnableObjectEntryDraft
boolean isEnableObjectEntryDraft()Returnstrueif this object definition is enable object entry draft.- Returns:
trueif this object definition is enable object entry draft;falseotherwise
-
setEnableObjectEntryDraft
void setEnableObjectEntryDraft(boolean enableObjectEntryDraft) Sets whether this object definition is enable object entry draft.- Parameters:
enableObjectEntryDraft- the enable object entry draft of this object definition
-
getEnableObjectEntryHistory
boolean getEnableObjectEntryHistory()Returns the enable object entry history of this object definition.- Returns:
- the enable object entry history of this object definition
-
isEnableObjectEntryHistory
boolean isEnableObjectEntryHistory()Returnstrueif this object definition is enable object entry history.- Returns:
trueif this object definition is enable object entry history;falseotherwise
-
setEnableObjectEntryHistory
void setEnableObjectEntryHistory(boolean enableObjectEntryHistory) Sets whether this object definition is enable object entry history.- Parameters:
enableObjectEntryHistory- the enable object entry history of this object definition
-
getLabel
String getLabel()Returns the label of this object definition.- 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.- 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.- 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.- 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.- 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
-
getLabelCurrentValue
-
getLabelMap
Returns a map of the locales and localized labels of this object definition.- Returns:
- the locales and localized labels of this object definition
-
setLabel
Sets the label of this object definition.- Parameters:
label- the label of this object definition
-
setLabel
Sets the localized label of this object definition in the language.- 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.- Parameters:
label- the localized label of this object definitionlocale- the locale of the languagedefaultLocale- the default locale
-
setLabelCurrentLanguageId
-
setLabelMap
Sets the localized labels of this object definition from the map of locales and localized labels.- 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.- Parameters:
labelMap- the locales and localized labels of this object definitiondefaultLocale- the default locale
-
getModifiable
boolean getModifiable()Returns the modifiable of this object definition.- Returns:
- the modifiable of this object definition
-
isModifiable
boolean isModifiable()Returnstrueif this object definition is modifiable.- Returns:
trueif this object definition is modifiable;falseotherwise
-
setModifiable
void setModifiable(boolean modifiable) Sets whether this object definition is modifiable.- Parameters:
modifiable- the modifiable of this object definition
-
getName
Returns the name of this object definition.- Returns:
- the name of this object definition
-
setName
Sets the name of this object definition.- Parameters:
name- the name of this object definition
-
getPanelAppOrder
Returns the panel app order of this object definition.- Returns:
- the panel app order of this object definition
-
setPanelAppOrder
Sets the panel app order of this object definition.- Parameters:
panelAppOrder- the panel app order of this object definition
-
getPanelCategoryKey
Returns the panel category key of this object definition.- Returns:
- the panel category key of this object definition
-
setPanelCategoryKey
Sets the panel category key of this object definition.- Parameters:
panelCategoryKey- the panel category key of this object definition
-
getPKObjectFieldDBColumnName
Returns the pk object field db column name of this object definition.- Returns:
- the pk object field db column name of this object definition
-
setPKObjectFieldDBColumnName
Sets the pk object field db column name of this object definition.- Parameters:
pkObjectFieldDBColumnName- the pk object field db column name of this object definition
-
getPKObjectFieldName
Returns the pk object field name of this object definition.- Returns:
- the pk object field name of this object definition
-
setPKObjectFieldName
Sets the pk object field name of this object definition.- Parameters:
pkObjectFieldName- the pk object field name of this object definition
-
getPluralLabel
String getPluralLabel()Returns the plural label of this object definition.- 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.- 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.- 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.- 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.- 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
-
getPluralLabelCurrentValue
-
getPluralLabelMap
Returns a map of the locales and localized plural labels of this object definition.- Returns:
- the locales and localized plural labels of this object definition
-
setPluralLabel
Sets the plural label of this object definition.- Parameters:
pluralLabel- the plural label of this object definition
-
setPluralLabel
Sets the localized plural label of this object definition in the language.- 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.- Parameters:
pluralLabel- the localized plural label of this object definitionlocale- the locale of the languagedefaultLocale- the default locale
-
setPluralLabelCurrentLanguageId
-
setPluralLabelMap
Sets the localized plural labels of this object definition from the map of locales and localized plural labels.- 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.- Parameters:
pluralLabelMap- the locales and localized plural labels of this object definitiondefaultLocale- the default locale
-
getPortlet
boolean getPortlet()Returns the portlet of this object definition.- Returns:
- the portlet of this object definition
-
isPortlet
boolean isPortlet()Returnstrueif this object definition is portlet.- Returns:
trueif this object definition is portlet;falseotherwise
-
setPortlet
void setPortlet(boolean portlet) Sets whether this object definition is portlet.- Parameters:
portlet- the portlet of this object definition
-
getScope
Returns the scope of this object definition.- Returns:
- the scope of this object definition
-
setScope
Sets the scope of this object definition.- Parameters:
scope- the scope of this object definition
-
getStorageType
Returns the storage type of this object definition.- Returns:
- the storage type of this object definition
-
setStorageType
Sets the storage type of this object definition.- Parameters:
storageType- the storage type of this object definition
-
getSystem
boolean getSystem()Returns the system of this object definition.- Returns:
- the system of this object definition
-
isSystem
boolean isSystem()Returnstrueif this object definition is system.- Returns:
trueif this object definition is system;falseotherwise
-
setSystem
void setSystem(boolean system) Sets whether this object definition is system.- Parameters:
system- the system of this object definition
-
getVersion
int getVersion()Returns the version of this object definition.- Returns:
- the version of this object definition
-
setVersion
void setVersion(int version) Sets the version of this object definition.- Parameters:
version- the version of this object definition
-
getStatus
int getStatus()Returns the status of this object definition.- Returns:
- the status of this object definition
-
setStatus
void setStatus(int status) Sets the status of this object definition.- Parameters:
status- the status of this object definition
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
ObjectDefinition cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<ObjectDefinition>
-
toXmlString
-