public class DDMStructureWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMStructure> implements DDMStructure, com.liferay.portal.kernel.model.ModelWrapper<DDMStructure>
This class is a wrapper for DDMStructure.
DDMStructure,
Serialized FormSTRUCTURE_ID_ACCESSOR| Constructor and Description |
|---|
DDMStructureWrapper(DDMStructure ddmStructure) |
| Modifier and Type | Method and Description |
|---|---|
DDMStructure |
cloneWithOriginalValues() |
DDMForm |
createFullHierarchyDDMForm() |
DDMStructureLayout |
fetchDDMStructureLayout() |
java.util.Map<java.lang.String,java.util.function.Function<DDMStructure,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<DDMStructure,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String[] |
getAvailableLanguageIds() |
java.util.List<java.lang.String> |
getChildrenFieldNames(java.lang.String fieldName) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this ddm structure.
|
long |
getClassNameId()
Returns the class name ID of this ddm structure.
|
long |
getCompanyId()
Returns the company ID of this ddm structure.
|
java.util.Date |
getCreateDate()
Returns the create date of this ddm structure.
|
long |
getCtCollectionId()
Returns the ct collection ID of this ddm structure.
|
DDMForm |
getDDMForm() |
DDMFormField |
getDDMFormField(java.lang.String fieldName) |
DDMFormField |
getDDMFormFieldByFieldReference(java.lang.String fieldReference) |
java.util.List<DDMFormField> |
getDDMFormFields(boolean includeTransientFields) |
DDMFormLayout |
getDDMFormLayout() |
long |
getDefaultDDMStructureLayoutId() |
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDefinition()
Returns the definition of this ddm structure.
|
java.lang.String |
getDescription()
Returns the description of this ddm structure.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this ddm structure in the language.
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
Returns the localized description of this ddm structure in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this ddm structure in the language.
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
Returns the localized description of this ddm structure in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this ddm structure.
|
java.lang.String |
getFieldDataType(java.lang.String fieldName) |
java.lang.String |
getFieldLabel(java.lang.String fieldName,
java.util.Locale locale) |
java.lang.String |
getFieldLabel(java.lang.String fieldName,
java.lang.String locale) |
java.util.Set<java.lang.String> |
getFieldNames() |
java.lang.String |
getFieldProperty(java.lang.String fieldName,
java.lang.String property) |
java.lang.String |
getFieldPropertyByFieldReference(java.lang.String fieldReference,
java.lang.String property) |
boolean |
getFieldRepeatable(java.lang.String fieldName) |
boolean |
getFieldRequired(java.lang.String fieldName) |
java.lang.String |
getFieldTip(java.lang.String fieldName,
java.util.Locale locale) |
java.lang.String |
getFieldTip(java.lang.String fieldName,
java.lang.String locale) |
java.lang.String |
getFieldType(java.lang.String fieldName) |
DDMForm |
getFullHierarchyDDMForm() |
java.util.Map<java.lang.String,DDMFormField> |
getFullHierarchyDDMFormFieldsMap(boolean includeNestedDDMFormFields) |
long |
getGroupId()
Returns the group ID of this ddm structure.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this ddm structure.
|
DDMStructureVersion |
getLatestStructureVersion() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this ddm structure.
|
long |
getMvccVersion()
Returns the mvcc version of this ddm structure.
|
java.lang.String |
getName()
Returns the name of this ddm structure.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this ddm structure in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this ddm structure in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this ddm structure in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this ddm structure in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this ddm structure.
|
long |
getParentStructureId()
Returns the parent structure ID of this ddm structure.
|
long |
getPrimaryKey()
Returns the primary key of this ddm structure.
|
java.util.List<java.lang.String> |
getRootFieldNames() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
java.lang.String |
getStorageType()
Returns the storage type of this ddm structure.
|
long |
getStructureId()
Returns the structure ID of this ddm structure.
|
java.lang.String |
getStructureKey()
Returns the structure key of this ddm structure.
|
DDMStructureVersion |
getStructureVersion() |
java.util.List<DDMTemplate> |
getTemplates() |
int |
getType()
Returns the type of this ddm structure.
|
java.lang.String |
getUnambiguousName(java.util.List<DDMStructure> structures,
long groupId,
java.util.Locale locale) |
long |
getUserId()
Returns the user ID of this ddm structure.
|
java.lang.String |
getUserName()
Returns the user name of this ddm structure.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this ddm structure.
|
java.lang.String |
getUuid()
Returns the uuid of this ddm structure.
|
java.lang.String |
getVersion()
Returns the version of this ddm structure.
|
long |
getVersionUserId()
Returns the version user ID of this ddm structure.
|
java.lang.String |
getVersionUserName()
Returns the version user name of this ddm structure.
|
java.lang.String |
getVersionUserUuid()
Returns the version user uuid of this ddm structure.
|
java.lang.String |
getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String webDAVToken)
Returns the WebDAV URL to access the structure.
|
boolean |
hasField(java.lang.String fieldName) |
boolean |
hasFieldByFieldReference(java.lang.String fieldReference) |
boolean |
isFieldRepeatable(java.lang.String fieldName) |
boolean |
isFieldTransient(java.lang.String fieldName) |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this ddm structure.
|
void |
setCompanyId(long companyId)
Sets the company ID of this ddm structure.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this ddm structure.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this ddm structure.
|
void |
setDDMForm(DDMForm ddmForm) |
void |
setDefinition(java.lang.String definition)
Sets the definition of this ddm structure.
|
void |
setDescription(java.lang.String description)
Sets the description of this ddm structure.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this ddm structure in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this ddm structure in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this ddm structure from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this ddm structure from the map of locales and localized descriptions, and sets the default locale.
|
void |
setGroupId(long groupId)
Sets the group ID of this ddm structure.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this ddm structure.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this ddm structure.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this ddm structure.
|
void |
setName(java.lang.String name)
Sets the name of this ddm structure.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this ddm structure in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this ddm structure in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this ddm structure from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
Sets the localized names of this ddm structure from the map of locales and localized names, and sets the default locale.
|
void |
setParentStructureId(long parentStructureId)
Sets the parent structure ID of this ddm structure.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ddm structure.
|
void |
setStorageType(java.lang.String storageType)
Sets the storage type of this ddm structure.
|
void |
setStructureId(long structureId)
Sets the structure ID of this ddm structure.
|
void |
setStructureKey(java.lang.String structureKey)
Sets the structure key of this ddm structure.
|
void |
setType(int type)
Sets the type of this ddm structure.
|
void |
setUserId(long userId)
Sets the user ID of this ddm structure.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this ddm structure.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this ddm structure.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this ddm structure.
|
void |
setVersion(java.lang.String version)
Sets the version of this ddm structure.
|
void |
setVersionUserId(long versionUserId)
Sets the version user ID of this ddm structure.
|
void |
setVersionUserName(java.lang.String versionUserName)
Sets the version user name of this ddm structure.
|
void |
setVersionUserUuid(java.lang.String versionUserUuid)
Sets the version user uuid of this ddm structure.
|
protected DDMStructureWrapper |
wrap(DDMStructure ddmStructure) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic DDMStructureWrapper(DDMStructure ddmStructure)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMStructure>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMStructure>public DDMStructure cloneWithOriginalValues()
cloneWithOriginalValues in interface DDMStructureModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<DDMStructure>public DDMForm createFullHierarchyDDMForm() throws com.liferay.portal.kernel.exception.PortalException
createFullHierarchyDDMForm in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic DDMStructureLayout fetchDDMStructureLayout()
fetchDDMStructureLayout in interface DDMStructurepublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface DDMStructureModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.util.List<java.lang.String> getChildrenFieldNames(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
getChildrenFieldNames in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getClassName()
getClassName in interface DDMStructureModelgetClassName in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassNameId()
getClassNameId in interface DDMStructureModelgetClassNameId in interface com.liferay.portal.kernel.model.TypedModelpublic long getCompanyId()
getCompanyId in interface DDMStructureModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface DDMStructureModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface DDMStructureModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructure>public DDMForm getDDMForm()
getDDMForm in interface DDMStructurepublic DDMFormField getDDMFormField(java.lang.String fieldName) throws com.liferay.portal.kernel.exception.PortalException
getDDMFormField in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic DDMFormField getDDMFormFieldByFieldReference(java.lang.String fieldReference) throws com.liferay.portal.kernel.exception.PortalException
getDDMFormFieldByFieldReference in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<DDMFormField> getDDMFormFields(boolean includeTransientFields)
getDDMFormFields in interface DDMStructurepublic DDMFormLayout getDDMFormLayout() throws com.liferay.portal.kernel.exception.PortalException
getDDMFormLayout in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic long getDefaultDDMStructureLayoutId()
getDefaultDDMStructureLayoutId in interface DDMStructurepublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface DDMStructureModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDefinition()
getDefinition in interface DDMStructureModelpublic java.lang.String getDescription()
getDescription in interface DDMStructureModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface DDMStructureModellocale - the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface DDMStructureModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getDescription(java.lang.String languageId)
getDescription in interface DDMStructureModellanguageId - the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface DDMStructureModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface DDMStructureModelpublic java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface DDMStructureModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface DDMStructureModelpublic java.lang.String getFieldDataType(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
getFieldDataType in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getFieldLabel(java.lang.String fieldName,
java.util.Locale locale)
throws com.liferay.portal.kernel.exception.PortalException
getFieldLabel in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getFieldLabel(java.lang.String fieldName,
java.lang.String locale)
throws com.liferay.portal.kernel.exception.PortalException
getFieldLabel in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.Set<java.lang.String> getFieldNames()
getFieldNames in interface DDMStructurepublic java.lang.String getFieldProperty(java.lang.String fieldName,
java.lang.String property)
throws com.liferay.portal.kernel.exception.PortalException
getFieldProperty in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getFieldPropertyByFieldReference(java.lang.String fieldReference,
java.lang.String property)
throws com.liferay.portal.kernel.exception.PortalException
getFieldPropertyByFieldReference in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic boolean getFieldRepeatable(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
getFieldRepeatable in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic boolean getFieldRequired(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
getFieldRequired in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getFieldTip(java.lang.String fieldName,
java.util.Locale locale)
throws com.liferay.portal.kernel.exception.PortalException
getFieldTip in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getFieldTip(java.lang.String fieldName,
java.lang.String locale)
throws com.liferay.portal.kernel.exception.PortalException
getFieldTip in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getFieldType(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
getFieldType in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic DDMForm getFullHierarchyDDMForm()
getFullHierarchyDDMForm in interface DDMStructurepublic java.util.Map<java.lang.String,DDMFormField> getFullHierarchyDDMFormFieldsMap(boolean includeNestedDDMFormFields)
getFullHierarchyDDMFormFieldsMap in interface DDMStructurepublic long getGroupId()
getGroupId in interface DDMStructureModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface DDMStructureModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic DDMStructureVersion getLatestStructureVersion() throws com.liferay.portal.kernel.exception.PortalException
getLatestStructureVersion in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.Date getModifiedDate()
getModifiedDate in interface DDMStructureModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface DDMStructureModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface DDMStructureModelpublic java.lang.String getName(java.util.Locale locale)
getName in interface DDMStructureModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface DDMStructureModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getName(java.lang.String languageId)
getName in interface DDMStructureModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface DDMStructureModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface DDMStructureModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface DDMStructureModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface DDMStructureModelpublic long getParentStructureId()
getParentStructureId in interface DDMStructureModelpublic long getPrimaryKey()
getPrimaryKey in interface DDMStructureModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructure>public java.util.List<java.lang.String> getRootFieldNames()
getRootFieldNames in interface DDMStructurepublic java.lang.String getStorageType()
getStorageType in interface DDMStructureModelpublic long getStructureId()
getStructureId in interface DDMStructureModelpublic java.lang.String getStructureKey()
getStructureKey in interface DDMStructureModelpublic DDMStructureVersion getStructureVersion() throws com.liferay.portal.kernel.exception.PortalException
getStructureVersion in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<DDMTemplate> getTemplates()
getTemplates in interface DDMStructurepublic int getType()
getType in interface DDMStructureModelpublic java.lang.String getUnambiguousName(java.util.List<DDMStructure> structures, long groupId, java.util.Locale locale) throws com.liferay.portal.kernel.exception.PortalException
getUnambiguousName in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic long getUserId()
getUserId in interface DDMStructureModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface DDMStructureModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface DDMStructureModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface DDMStructureModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getVersion()
getVersion in interface DDMStructureModelpublic long getVersionUserId()
getVersionUserId in interface DDMStructureModelpublic java.lang.String getVersionUserName()
getVersionUserName in interface DDMStructureModelpublic java.lang.String getVersionUserUuid()
getVersionUserUuid in interface DDMStructureModelpublic java.lang.String getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String webDAVToken)
getWebDavURL in interface DDMStructurethemeDisplay - the theme display needed to build the URL. It can
set HTTPS access, the server name, the server port, the path
context, and the scope group.webDAVToken - the WebDAV token for the URLpublic boolean hasField(java.lang.String fieldName)
hasField in interface DDMStructurepublic boolean hasFieldByFieldReference(java.lang.String fieldReference)
hasFieldByFieldReference in interface DDMStructurepublic boolean isFieldRepeatable(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
isFieldRepeatable in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic boolean isFieldTransient(java.lang.String fieldName)
throws com.liferay.portal.kernel.exception.PortalException
isFieldTransient in interface DDMStructurecom.liferay.portal.kernel.exception.PortalExceptionpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface DDMStructureModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface DDMStructureModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setClassName(java.lang.String className)
setClassName in interface DDMStructureModelpublic void setClassNameId(long classNameId)
setClassNameId in interface DDMStructureModelsetClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this ddm structurepublic void setCompanyId(long companyId)
setCompanyId in interface DDMStructureModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this ddm structurepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface DDMStructureModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this ddm structurepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface DDMStructureModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructure>ctCollectionId - the ct collection ID of this ddm structurepublic void setDDMForm(DDMForm ddmForm)
setDDMForm in interface DDMStructurepublic void setDefinition(java.lang.String definition)
setDefinition in interface DDMStructureModeldefinition - the definition of this ddm structurepublic void setDescription(java.lang.String description)
setDescription in interface DDMStructureModeldescription - the description of this ddm structurepublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface DDMStructureModeldescription - the localized description of this ddm structurelocale - the locale of the languagepublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface DDMStructureModeldescription - the localized description of this ddm structurelocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface DDMStructureModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface DDMStructureModeldescriptionMap - the locales and localized descriptions of this ddm structurepublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface DDMStructureModeldescriptionMap - the locales and localized descriptions of this ddm structuredefaultLocale - the default localepublic void setGroupId(long groupId)
setGroupId in interface DDMStructureModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this ddm structurepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface DDMStructureModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this ddm structurepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface DDMStructureModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this ddm structurepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface DDMStructureModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this ddm structurepublic void setName(java.lang.String name)
setName in interface DDMStructureModelname - the name of this ddm structurepublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface DDMStructureModelname - the localized name of this ddm structurelocale - the locale of the languagepublic void setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
setName in interface DDMStructureModelname - the localized name of this ddm structurelocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId in interface DDMStructureModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface DDMStructureModelnameMap - the locales and localized names of this ddm structurepublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
setNameMap in interface DDMStructureModelnameMap - the locales and localized names of this ddm structuredefaultLocale - the default localepublic void setParentStructureId(long parentStructureId)
setParentStructureId in interface DDMStructureModelparentStructureId - the parent structure ID of this ddm structurepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMStructureModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructure>primaryKey - the primary key of this ddm structurepublic void setStorageType(java.lang.String storageType)
setStorageType in interface DDMStructureModelstorageType - the storage type of this ddm structurepublic void setStructureId(long structureId)
setStructureId in interface DDMStructureModelstructureId - the structure ID of this ddm structurepublic void setStructureKey(java.lang.String structureKey)
setStructureKey in interface DDMStructureModelstructureKey - the structure key of this ddm structurepublic void setType(int type)
setType in interface DDMStructureModeltype - the type of this ddm structurepublic void setUserId(long userId)
setUserId in interface DDMStructureModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this ddm structurepublic void setUserName(java.lang.String userName)
setUserName in interface DDMStructureModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this ddm structurepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface DDMStructureModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this ddm structurepublic void setUuid(java.lang.String uuid)
setUuid in interface DDMStructureModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this ddm structurepublic void setVersion(java.lang.String version)
setVersion in interface DDMStructureModelversion - the version of this ddm structurepublic void setVersionUserId(long versionUserId)
setVersionUserId in interface DDMStructureModelversionUserId - the version user ID of this ddm structurepublic void setVersionUserName(java.lang.String versionUserName)
setVersionUserName in interface DDMStructureModelversionUserName - the version user name of this ddm structurepublic void setVersionUserUuid(java.lang.String versionUserUuid)
setVersionUserUuid in interface DDMStructureModelversionUserUuid - the version user uuid of this ddm structurepublic java.util.Map<java.lang.String,java.util.function.Function<DDMStructure,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<DDMStructure>public java.util.Map<java.lang.String,java.util.function.BiConsumer<DDMStructure,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<DDMStructure>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected DDMStructureWrapper wrap(DDMStructure ddmStructure)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMStructure>