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 TypeMethodDescriptionboolean
Returns the account entry restricted of this object definition.long
Returns the account entry restricted object field ID of this object definition.boolean
Returns the active of this object definition.String[]
Returns the class name of this object definition.long
Returns the company ID of this object definition.Returns the create date of this object definition.Returns the db table name of this object definition.long
Returns the description object field ID of this object definition.boolean
Returns the enable categorization of this object definition.boolean
Returns the enable comments of this object definition.boolean
Returns the enable friendly url customization of this object definition.boolean
Returns the enable index search of this object definition.boolean
Returns the enable localization of this object definition.boolean
Returns the enable object entry draft of this object definition.boolean
Returns 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.boolean
Returns the modifiable of this object definition.Returns the modified date of this object definition.long
Returns the mvcc version of this object definition.getName()
Returns the name of this object definition.long
Returns the object definition ID of this object definition.long
Returns 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.boolean
Returns the portlet of this object definition.long
Returns the primary key of this object definition.long
Returns the root object definition ID of this object definition.getScope()
Returns the scope of this object definition.int
Returns the status of this object definition.Returns the storage type of this object definition.boolean
Returns the system of this object definition.long
Returns the title object field ID of this object definition.long
Returns 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.int
Returns the version of this object definition.boolean
Returnstrue
if this object definition is account entry restricted.boolean
isActive()
Returnstrue
if this object definition is active.boolean
Returnstrue
if this object definition is enable categorization.boolean
Returnstrue
if this object definition is enable comments.boolean
Returnstrue
if this object definition is enable friendly url customization.boolean
Returnstrue
if this object definition is enable index search.boolean
Returnstrue
if this object definition is enable localization.boolean
Returnstrue
if this object definition is enable object entry draft.boolean
Returnstrue
if this object definition is enable object entry history.boolean
Returnstrue
if this object definition is modifiable.boolean
Returnstrue
if this object definition is portlet.boolean
isSystem()
Returnstrue
if this object definition is system.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setAccountEntryRestricted
(boolean accountEntryRestricted) Sets whether this object definition is account entry restricted.void
setAccountEntryRestrictedObjectFieldId
(long accountEntryRestrictedObjectFieldId) Sets the account entry restricted object field ID of this object definition.void
setActive
(boolean active) Sets whether this object definition is active.void
setClassName
(String className) Sets the class name of this object definition.void
setCompanyId
(long companyId) Sets the company ID of this object definition.void
setCreateDate
(Date createDate) Sets the create date of this object definition.void
setDBTableName
(String dbTableName) Sets the db table name of this object definition.void
setDescriptionObjectFieldId
(long descriptionObjectFieldId) Sets the description object field ID of this object definition.void
setEnableCategorization
(boolean enableCategorization) Sets whether this object definition is enable categorization.void
setEnableComments
(boolean enableComments) Sets whether this object definition is enable comments.void
setEnableFriendlyURLCustomization
(boolean enableFriendlyURLCustomization) Sets whether this object definition is enable friendly url customization.void
setEnableIndexSearch
(boolean enableIndexSearch) Sets whether this object definition is enable index search.void
setEnableLocalization
(boolean enableLocalization) Sets whether this object definition is enable localization.void
setEnableObjectEntryDraft
(boolean enableObjectEntryDraft) Sets whether this object definition is enable object entry draft.void
setEnableObjectEntryHistory
(boolean enableObjectEntryHistory) Sets whether this object definition is enable object entry history.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this object definition.void
Sets the label of this object definition.void
Sets the localized label of this object definition in the language.void
Sets the localized label of this object definition in the language, and sets the default locale.void
setLabelCurrentLanguageId
(String languageId) void
setLabelMap
(Map<Locale, String> labelMap) Sets the localized labels of this object definition from the map of locales and localized labels.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.void
setModifiable
(boolean modifiable) Sets whether this object definition is modifiable.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this object definition.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this object definition.void
Sets the name of this object definition.void
setObjectDefinitionId
(long objectDefinitionId) Sets the object definition ID of this object definition.void
setObjectFolderId
(long objectFolderId) Sets the object folder ID of this object definition.void
setPanelAppOrder
(String panelAppOrder) Sets the panel app order of this object definition.void
setPanelCategoryKey
(String panelCategoryKey) Sets the panel category key of this object definition.void
setPKObjectFieldDBColumnName
(String pkObjectFieldDBColumnName) Sets the pk object field db column name of this object definition.void
setPKObjectFieldName
(String pkObjectFieldName) Sets the pk object field name of this object definition.void
setPluralLabel
(String pluralLabel) Sets the plural label of this object definition.void
setPluralLabel
(String pluralLabel, Locale locale) Sets the localized plural label of this object definition in the language.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.void
setPluralLabelCurrentLanguageId
(String languageId) void
setPluralLabelMap
(Map<Locale, String> pluralLabelMap) Sets the localized plural labels of this object definition from the map of locales and localized plural labels.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.void
setPortlet
(boolean portlet) Sets whether this object definition is portlet.void
setPrimaryKey
(long primaryKey) Sets the primary key of this object definition.void
setRootObjectDefinitionId
(long rootObjectDefinitionId) Sets the root object definition ID of this object definition.void
Sets the scope of this object definition.void
setStatus
(int status) Sets the status of this object definition.void
setStorageType
(String storageType) Sets the storage type of this object definition.void
setSystem
(boolean system) Sets whether this object definition is system.void
setTitleObjectFieldId
(long titleObjectFieldId) Sets the title object field ID of this object definition.void
setUserId
(long userId) Sets the user ID of this object definition.void
setUserName
(String userName) Sets the user name of this object definition.void
setUserUuid
(String userUuid) Sets the user uuid of this object definition.void
Sets the uuid of this object definition.void
setVersion
(int version) Sets the version of this object definition.default String
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.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:
getMvccVersion
in 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:
setMvccVersion
in 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:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this object definition
-
setUuid
Sets the uuid of this object definition.- Specified by:
setUuid
in 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:
getExternalReferenceCode
in 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:
setExternalReferenceCode
in 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:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in 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:
getUserId
in 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:
setUserId
in 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:
getUserUuid
in 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:
setUserUuid
in 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:
getUserName
in 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:
setUserName
in 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:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in 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:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in 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:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in 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:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in 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()Returnstrue
if this object definition is account entry restricted.- Returns:
true
if this object definition is account entry restricted;false
otherwise
-
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()Returnstrue
if this object definition is active.- Returns:
true
if this object definition is active;false
otherwise
-
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()Returnstrue
if this object definition is enable categorization.- Returns:
true
if this object definition is enable categorization;false
otherwise
-
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()Returnstrue
if this object definition is enable comments.- Returns:
true
if this object definition is enable comments;false
otherwise
-
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()Returnstrue
if this object definition is enable friendly url customization.- Returns:
true
if this object definition is enable friendly url customization;false
otherwise
-
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()Returnstrue
if this object definition is enable index search.- Returns:
true
if this object definition is enable index search;false
otherwise
-
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()Returnstrue
if this object definition is enable localization.- Returns:
true
if this object definition is enable localization;false
otherwise
-
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()Returnstrue
if this object definition is enable object entry draft.- Returns:
true
if this object definition is enable object entry draft;false
otherwise
-
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()Returnstrue
if this object definition is enable object entry history.- Returns:
true
if this object definition is enable object entry history;false
otherwise
-
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
useDefault
isfalse
and 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()Returnstrue
if this object definition is modifiable.- Returns:
true
if this object definition is modifiable;false
otherwise
-
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
useDefault
isfalse
and 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()Returnstrue
if this object definition is portlet.- Returns:
true
if this object definition is portlet;false
otherwise
-
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()Returnstrue
if this object definition is system.- Returns:
true
if this object definition is system;false
otherwise
-
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:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in 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:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
ObjectDefinition cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectDefinition>
-
toXmlString
-