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
model
Fields inherited from interface com.liferay.object.model.ObjectDefinition
OBJECT_DEFINITION_ID_ACCESSOR
-
Constructor Summary
Constructors -
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.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.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.com.liferay.exportimport.kernel.lar.StagedModelType
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
boolean
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
isLinkedToObjectFolder
(long objectFolderId) boolean
Returnstrue
if this object definition is modifiable.boolean
boolean
boolean
Returnstrue
if this object definition is portlet.boolean
boolean
boolean
isSystem()
Returnstrue
if this object definition is system.boolean
void
persist()
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
setModelAttributes
(Map<String, Object> attributes) 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
setPreviousRESTContextPath
(String previousRESTContextPath) 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.protected ObjectDefinitionWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
ObjectDefinitionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectDefinition>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectDefinition>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectDefinition>
- Specified by:
cloneWithOriginalValues
in interfaceObjectDefinitionModel
-
getAccountEntryRestricted
public boolean getAccountEntryRestricted()Returns the account entry restricted of this object definition.- Specified by:
getAccountEntryRestricted
in 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:
getAccountEntryRestrictedObjectFieldId
in 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:
getActive
in interfaceObjectDefinitionModel
- Returns:
- the active of this object definition
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getAvailableLanguageIds
in interfaceObjectDefinitionModel
-
getClassName
Returns the class name of this object definition.- Specified by:
getClassName
in interfaceObjectDefinitionModel
- Returns:
- the class name of this object definition
-
getCompanyId
public long getCompanyId()Returns the company ID of this object definition.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceObjectDefinitionModel
- 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
-
getCreateDate
Returns the create date of this object definition.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceObjectDefinitionModel
- Specified by:
getCreateDate
in 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:
getDBTableName
in interfaceObjectDefinitionModel
- Returns:
- the db table name of this object definition
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getDefaultLanguageId
in interfaceObjectDefinitionModel
-
getDefaultLocale
- Specified by:
getDefaultLocale
in interfaceObjectDefinition
-
getDescriptionObjectFieldId
public long getDescriptionObjectFieldId()Returns the description object field ID of this object definition.- Specified by:
getDescriptionObjectFieldId
in interfaceObjectDefinitionModel
- Returns:
- the description object field ID of this object definition
-
getDestinationName
- Specified by:
getDestinationName
in interfaceObjectDefinition
-
getEnableCategorization
public boolean getEnableCategorization()Returns the enable categorization of this object definition.- Specified by:
getEnableCategorization
in interfaceObjectDefinitionModel
- Returns:
- the enable categorization of this object definition
-
getEnableComments
public boolean getEnableComments()Returns the enable comments of this object definition.- Specified by:
getEnableComments
in 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:
getEnableFriendlyURLCustomization
in 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:
getEnableIndexSearch
in interfaceObjectDefinitionModel
- Returns:
- the enable index search of this object definition
-
getEnableLocalization
public boolean getEnableLocalization()Returns the enable localization of this object definition.- Specified by:
getEnableLocalization
in 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:
getEnableObjectEntryDraft
in 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:
getEnableObjectEntryHistory
in interfaceObjectDefinitionModel
- Returns:
- the enable object entry history of this object definition
-
getExtensionDBTableName
- Specified by:
getExtensionDBTableName
in interfaceObjectDefinition
-
getExternalReferenceCode
Returns the external reference code of this object definition.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceObjectDefinitionModel
- Returns:
- the external reference code of this object definition
-
getLabel
Returns the label of this object definition.- Specified by:
getLabel
in 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:
getLabel
in 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:
getLabel
in 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
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.- Specified by:
getLabel
in 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:
getLabel
in 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:
getLabelCurrentLanguageId
in interfaceObjectDefinitionModel
-
getLabelCurrentValue
- Specified by:
getLabelCurrentValue
in interfaceObjectDefinitionModel
-
getLabelMap
Returns a map of the locales and localized labels of this object definition.- Specified by:
getLabelMap
in interfaceObjectDefinitionModel
- Returns:
- the locales and localized labels of this object definition
-
getLocalizationDBTableName
- Specified by:
getLocalizationDBTableName
in interfaceObjectDefinition
-
getModifiable
public boolean getModifiable()Returns the modifiable of this object definition.- Specified by:
getModifiable
in interfaceObjectDefinitionModel
- Returns:
- the modifiable of this object definition
-
getModifiedDate
Returns the modified date of this object definition.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceObjectDefinitionModel
- Specified by:
getModifiedDate
in 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:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfaceObjectDefinitionModel
- Returns:
- the mvcc version of this object definition
-
getName
Returns the name of this object definition.- Specified by:
getName
in interfaceObjectDefinitionModel
- Returns:
- the name of this object definition
-
getObjectDefinitionId
public long getObjectDefinitionId()Returns the object definition ID of this object definition.- Specified by:
getObjectDefinitionId
in interfaceObjectDefinitionModel
- Returns:
- the object definition ID of this object definition
-
getObjectFolderExternalReferenceCode
- Specified by:
getObjectFolderExternalReferenceCode
in interfaceObjectDefinition
-
getObjectFolderId
public long getObjectFolderId()Returns the object folder ID of this object definition.- Specified by:
getObjectFolderId
in interfaceObjectDefinitionModel
- Returns:
- the object folder ID of this object definition
-
getOSGiJaxRsName
- Specified by:
getOSGiJaxRsName
in interfaceObjectDefinition
-
getOSGiJaxRsName
- Specified by:
getOSGiJaxRsName
in interfaceObjectDefinition
-
getPanelAppOrder
Returns the panel app order of this object definition.- Specified by:
getPanelAppOrder
in interfaceObjectDefinitionModel
- Returns:
- the panel app order of this object definition
-
getPanelCategoryKey
Returns the panel category key of this object definition.- Specified by:
getPanelCategoryKey
in 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:
getPKObjectFieldDBColumnName
in 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:
getPKObjectFieldName
in interfaceObjectDefinitionModel
- Returns:
- the pk object field name of this object definition
-
getPluralLabel
Returns the plural label of this object definition.- Specified by:
getPluralLabel
in 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:
getPluralLabel
in 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:
getPluralLabel
in 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
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.- Specified by:
getPluralLabel
in 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:
getPluralLabel
in 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:
getPluralLabelCurrentLanguageId
in interfaceObjectDefinitionModel
-
getPluralLabelCurrentValue
- Specified by:
getPluralLabelCurrentValue
in interfaceObjectDefinitionModel
-
getPluralLabelMap
Returns a map of the locales and localized plural labels of this object definition.- Specified by:
getPluralLabelMap
in 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:
getPortlet
in interfaceObjectDefinitionModel
- Returns:
- the portlet of this object definition
-
getPortletId
- Specified by:
getPortletId
in interfaceObjectDefinition
-
getPreviousRESTContextPath
- Specified by:
getPreviousRESTContextPath
in interfaceObjectDefinition
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this object definition.- Specified by:
getPrimaryKey
in interfaceObjectDefinitionModel
- Returns:
- the primary key of this object definition
-
getResourceName
- Specified by:
getResourceName
in interfaceObjectDefinition
-
getRESTContextPath
- Specified by:
getRESTContextPath
in interfaceObjectDefinition
-
getRootObjectDefinitionExternalReferenceCode
- Specified by:
getRootObjectDefinitionExternalReferenceCode
in interfaceObjectDefinition
-
getRootObjectDefinitionId
public long getRootObjectDefinitionId()Returns the root object definition ID of this object definition.- Specified by:
getRootObjectDefinitionId
in interfaceObjectDefinitionModel
- Returns:
- the root object definition ID of this object definition
-
getScope
Returns the scope of this object definition.- Specified by:
getScope
in interfaceObjectDefinitionModel
- Returns:
- the scope of this object definition
-
getShortName
- Specified by:
getShortName
in interfaceObjectDefinition
-
getStatus
public int getStatus()Returns the status of this object definition.- Specified by:
getStatus
in interfaceObjectDefinitionModel
- Returns:
- the status of this object definition
-
getStorageType
Returns the storage type of this object definition.- Specified by:
getStorageType
in interfaceObjectDefinitionModel
- Returns:
- the storage type of this object definition
-
getSystem
public boolean getSystem()Returns the system of this object definition.- Specified by:
getSystem
in interfaceObjectDefinitionModel
- Returns:
- the system of this object definition
-
getTitleObjectFieldId
public long getTitleObjectFieldId()Returns the title object field ID of this object definition.- Specified by:
getTitleObjectFieldId
in 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:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceObjectDefinitionModel
- Returns:
- the user ID of this object definition
-
getUserName
Returns the user name of this object definition.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceObjectDefinitionModel
- Returns:
- the user name of this object definition
-
getUserUuid
Returns the user uuid of this object definition.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceObjectDefinitionModel
- Returns:
- the user uuid of this object definition
-
getUuid
Returns the uuid of this object definition.- Specified by:
getUuid
in interfaceObjectDefinitionModel
- Specified by:
getUuid
in 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:
getVersion
in interfaceObjectDefinitionModel
- Returns:
- the version of this object definition
-
isAccountEntryRestricted
public boolean isAccountEntryRestricted()Returnstrue
if this object definition is account entry restricted.- Specified by:
isAccountEntryRestricted
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is account entry restricted;false
otherwise
-
isActive
public boolean isActive()Returnstrue
if this object definition is active.- Specified by:
isActive
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is active;false
otherwise
-
isApproved
public boolean isApproved()- Specified by:
isApproved
in interfaceObjectDefinition
-
isDefaultStorageType
public boolean isDefaultStorageType()- Specified by:
isDefaultStorageType
in interfaceObjectDefinition
-
isEnableCategorization
public boolean isEnableCategorization()Returnstrue
if this object definition is enable categorization.- Specified by:
isEnableCategorization
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is enable categorization;false
otherwise
-
isEnableComments
public boolean isEnableComments()Returnstrue
if this object definition is enable comments.- Specified by:
isEnableComments
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is enable comments;false
otherwise
-
isEnableFriendlyURLCustomization
public boolean isEnableFriendlyURLCustomization()Returnstrue
if this object definition is enable friendly url customization.- Specified by:
isEnableFriendlyURLCustomization
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is enable friendly url customization;false
otherwise
-
isEnableIndexSearch
public boolean isEnableIndexSearch()Returnstrue
if this object definition is enable index search.- Specified by:
isEnableIndexSearch
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is enable index search;false
otherwise
-
isEnableLocalization
public boolean isEnableLocalization()Returnstrue
if this object definition is enable localization.- Specified by:
isEnableLocalization
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is enable localization;false
otherwise
-
isEnableObjectEntryDraft
public boolean isEnableObjectEntryDraft()Returnstrue
if this object definition is enable object entry draft.- Specified by:
isEnableObjectEntryDraft
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is enable object entry draft;false
otherwise
-
isEnableObjectEntryHistory
public boolean isEnableObjectEntryHistory()Returnstrue
if this object definition is enable object entry history.- Specified by:
isEnableObjectEntryHistory
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is enable object entry history;false
otherwise
-
isLinkedToObjectFolder
public boolean isLinkedToObjectFolder(long objectFolderId) - Specified by:
isLinkedToObjectFolder
in interfaceObjectDefinition
-
isModifiable
public boolean isModifiable()Returnstrue
if this object definition is modifiable.- Specified by:
isModifiable
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is modifiable;false
otherwise
-
isModifiableAndSystem
public boolean isModifiableAndSystem()- Specified by:
isModifiableAndSystem
in interfaceObjectDefinition
-
isNodeCandidate
public boolean isNodeCandidate()- Specified by:
isNodeCandidate
in interfaceObjectDefinition
-
isPortlet
public boolean isPortlet()Returnstrue
if this object definition is portlet.- Specified by:
isPortlet
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is portlet;false
otherwise
-
isRootDescendantNode
public boolean isRootDescendantNode()- Specified by:
isRootDescendantNode
in interfaceObjectDefinition
-
isRootNode
public boolean isRootNode()- Specified by:
isRootNode
in interfaceObjectDefinition
-
isSystem
public boolean isSystem()Returnstrue
if this object definition is system.- Specified by:
isSystem
in interfaceObjectDefinitionModel
- Returns:
true
if this object definition is system;false
otherwise
-
isUnmodifiableSystemObject
public boolean isUnmodifiableSystemObject()- Specified by:
isUnmodifiableSystemObject
in interfaceObjectDefinition
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
prepareLocalizedFieldsForImport
in interfaceObjectDefinitionModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
prepareLocalizedFieldsForImport
in 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:
setAccountEntryRestricted
in 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:
setAccountEntryRestrictedObjectFieldId
in 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:
setActive
in interfaceObjectDefinitionModel
- Parameters:
active
- the active of this object definition
-
setClassName
Sets the class name of this object definition.- Specified by:
setClassName
in 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:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceObjectDefinitionModel
- 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
-
setCreateDate
Sets the create date of this object definition.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceObjectDefinitionModel
- Specified by:
setCreateDate
in 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:
setDBTableName
in 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:
setDescriptionObjectFieldId
in 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:
setEnableCategorization
in 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:
setEnableComments
in 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:
setEnableFriendlyURLCustomization
in 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:
setEnableIndexSearch
in 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:
setEnableLocalization
in 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:
setEnableObjectEntryDraft
in 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:
setEnableObjectEntryHistory
in interfaceObjectDefinitionModel
- Parameters:
enableObjectEntryHistory
- the enable object entry history of this object definition
-
setExternalReferenceCode
Sets the external reference code of this object definition.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceObjectDefinitionModel
- Parameters:
externalReferenceCode
- the external reference code of this object definition
-
setLabel
Sets the label of this object definition.- Specified by:
setLabel
in interfaceObjectDefinitionModel
- Parameters:
label
- the label of this object definition
-
setLabel
Sets the localized label of this object definition in the language.- Specified by:
setLabel
in 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:
setLabel
in interfaceObjectDefinitionModel
- Parameters:
label
- the localized label of this object definitionlocale
- the locale of the languagedefaultLocale
- the default locale
-
setLabelCurrentLanguageId
- Specified by:
setLabelCurrentLanguageId
in interfaceObjectDefinitionModel
-
setLabelMap
Sets the localized labels of this object definition from the map of locales and localized labels.- Specified by:
setLabelMap
in 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:
setLabelMap
in 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:
setModifiable
in interfaceObjectDefinitionModel
- Parameters:
modifiable
- the modifiable 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 interfaceObjectDefinitionModel
- Specified by:
setModifiedDate
in 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:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfaceObjectDefinitionModel
- Parameters:
mvccVersion
- the mvcc version of this object definition
-
setName
Sets the name of this object definition.- Specified by:
setName
in 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:
setObjectDefinitionId
in 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:
setObjectFolderId
in interfaceObjectDefinitionModel
- Parameters:
objectFolderId
- the object folder ID of this object definition
-
setPanelAppOrder
Sets the panel app order of this object definition.- Specified by:
setPanelAppOrder
in interfaceObjectDefinitionModel
- Parameters:
panelAppOrder
- the panel app order of this object definition
-
setPanelCategoryKey
Sets the panel category key of this object definition.- Specified by:
setPanelCategoryKey
in 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:
setPKObjectFieldDBColumnName
in 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:
setPKObjectFieldName
in interfaceObjectDefinitionModel
- Parameters:
pkObjectFieldName
- the pk object field name of this object definition
-
setPluralLabel
Sets the plural label of this object definition.- Specified by:
setPluralLabel
in 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:
setPluralLabel
in 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:
setPluralLabel
in interfaceObjectDefinitionModel
- Parameters:
pluralLabel
- the localized plural label of this object definitionlocale
- the locale of the languagedefaultLocale
- the default locale
-
setPluralLabelCurrentLanguageId
- Specified by:
setPluralLabelCurrentLanguageId
in interfaceObjectDefinitionModel
-
setPluralLabelMap
Sets the localized plural labels of this object definition from the map of locales and localized plural labels.- Specified by:
setPluralLabelMap
in 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:
setPluralLabelMap
in 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:
setPortlet
in interfaceObjectDefinitionModel
- Parameters:
portlet
- the portlet of this object definition
-
setPreviousRESTContextPath
- Specified by:
setPreviousRESTContextPath
in interfaceObjectDefinition
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this object definition.- Specified by:
setPrimaryKey
in 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:
setRootObjectDefinitionId
in interfaceObjectDefinitionModel
- Parameters:
rootObjectDefinitionId
- the root object definition ID of this object definition
-
setScope
Sets the scope of this object definition.- Specified by:
setScope
in interfaceObjectDefinitionModel
- Parameters:
scope
- the scope of this object definition
-
setStatus
public void setStatus(int status) Sets the status of this object definition.- Specified by:
setStatus
in interfaceObjectDefinitionModel
- Parameters:
status
- the status of this object definition
-
setStorageType
Sets the storage type of this object definition.- Specified by:
setStorageType
in 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:
setSystem
in 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:
setTitleObjectFieldId
in 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:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceObjectDefinitionModel
- Parameters:
userId
- the user ID of this object definition
-
setUserName
Sets the user name of this object definition.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceObjectDefinitionModel
- Parameters:
userName
- the user name of this object definition
-
setUserUuid
Sets the user uuid of this object definition.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceObjectDefinitionModel
- Parameters:
userUuid
- the user uuid of this object definition
-
setUuid
Sets the uuid of this object definition.- Specified by:
setUuid
in interfaceObjectDefinitionModel
- Specified by:
setUuid
in 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:
setVersion
in interfaceObjectDefinitionModel
- Parameters:
version
- the version of this object definition
-
toXmlString
- Specified by:
toXmlString
in interfaceObjectDefinitionModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectDefinition>
-