|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.dynamicdatamapping.model.DDMStructureWrapper
@ProviderType public class DDMStructureWrapper
This class is a wrapper for DDMStructure.
DDMStructure,
Serialized Form| Constructor Summary | |
|---|---|
DDMStructureWrapper(DDMStructure ddmStructure)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMStructure ddmStructure)
|
DDMForm |
createFullHierarchyDDMForm()
|
boolean |
equals(Object obj)
|
String[] |
getAvailableLanguageIds()
|
List<String> |
getChildrenFieldNames(String fieldName)
|
String |
getClassName()
Returns the fully qualified class name of this d d m structure. |
long |
getClassNameId()
Returns the class name ID of this d d m structure. |
long |
getCompanyId()
Returns the company ID of this d d m structure. |
Date |
getCreateDate()
Returns the create date of this d d m structure. |
DDMForm |
getDDMForm()
|
DDMFormField |
getDDMFormField(String fieldName)
|
List<DDMFormField> |
getDDMFormFields(boolean includeTransientFields)
|
DDMFormLayout |
getDDMFormLayout()
|
String |
getDefaultLanguageId()
|
String |
getDefinition()
Returns the definition of this d d m structure. |
String |
getDescription()
Returns the description of this d d m structure. |
String |
getDescription(Locale locale)
Returns the localized description of this d d m structure in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this d d m structure in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescription(String languageId)
Returns the localized description of this d d m structure in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this d d m structure in the language, optionally using the default language if no localization exists for the requested language. |
String |
getDescriptionCurrentLanguageId()
|
String |
getDescriptionCurrentValue()
|
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this d d m structure. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFieldDataType(String fieldName)
|
String |
getFieldLabel(String fieldName,
Locale locale)
|
String |
getFieldLabel(String fieldName,
String locale)
|
Set<String> |
getFieldNames()
|
String |
getFieldProperty(String fieldName,
String property)
|
boolean |
getFieldRepeatable(String fieldName)
|
boolean |
getFieldRequired(String fieldName)
|
String |
getFieldTip(String fieldName,
Locale locale)
|
String |
getFieldTip(String fieldName,
String locale)
|
String |
getFieldType(String fieldName)
|
DDMForm |
getFullHierarchyDDMForm()
|
Map<String,DDMFormField> |
getFullHierarchyDDMFormFieldsMap(boolean includeNestedDDMFormFields)
|
long |
getGroupId()
Returns the group ID of this d d m structure. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this d d m structure. |
String |
getName()
Returns the name of this d d m structure. |
String |
getName(Locale locale)
Returns the localized name of this d d m structure in the language. |
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this d d m structure in the language, optionally using the default language if no localization exists for the requested language. |
String |
getName(String languageId)
Returns the localized name of this d d m structure in the language. |
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this d d m structure in the language, optionally using the default language if no localization exists for the requested language. |
String |
getNameCurrentLanguageId()
|
String |
getNameCurrentValue()
|
Map<Locale,String> |
getNameMap()
Returns a map of the locales and localized names of this d d m structure. |
long |
getParentStructureId()
Returns the parent structure ID of this d d m structure. |
long |
getPrimaryKey()
Returns the primary key of this d d m structure. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
List<String> |
getRootFieldNames()
|
StagedModelType |
getStagedModelType()
|
String |
getStorageType()
Returns the storage type of this d d m structure. |
long |
getStructureId()
Returns the structure ID of this d d m structure. |
String |
getStructureKey()
Returns the structure key of this d d m structure. |
DDMStructureVersion |
getStructureVersion()
|
List<DDMTemplate> |
getTemplates()
|
int |
getType()
Returns the type of this d d m structure. |
String |
getUnambiguousName(List<DDMStructure> structures,
long groupId,
Locale locale)
|
long |
getUserId()
Returns the user ID of this d d m structure. |
String |
getUserName()
Returns the user name of this d d m structure. |
String |
getUserUuid()
Returns the user uuid of this d d m structure. |
String |
getUuid()
Returns the uuid of this d d m structure. |
String |
getVersion()
Returns the version of this d d m structure. |
long |
getVersionUserId()
Returns the version user ID of this d d m structure. |
String |
getVersionUserName()
Returns the version user name of this d d m structure. |
String |
getVersionUserUuid()
Returns the version user uuid of this d d m structure. |
String |
getWebDavURL(ThemeDisplay themeDisplay,
String webDAVToken)
Returns the WebDAV URL to access the structure. |
DDMStructure |
getWrappedDDMStructure()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
DDMStructure |
getWrappedModel()
|
boolean |
hasField(String fieldName)
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFieldRepeatable(String fieldName)
|
boolean |
isFieldTransient(String fieldName)
|
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
prepareLocalizedFieldsForImport()
|
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this d d m structure. |
void |
setCompanyId(long companyId)
Sets the company ID of this d d m structure. |
void |
setCreateDate(Date createDate)
Sets the create date of this d d m structure. |
void |
setDDMForm(DDMForm ddmForm)
|
void |
setDefinition(String definition)
Sets the definition of this d d m structure. |
void |
setDescription(String description)
Sets the description of this d d m structure. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this d d m structure in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this d d m structure in the language, and sets the default locale. |
void |
setDescriptionCurrentLanguageId(String languageId)
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this d d m structure from the map of locales and localized descriptions. |
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this d d m structure from the map of locales and localized descriptions, and sets the default locale. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFullHierarchyDDMForm(DDMForm fullHierarchyDDMForm)
|
void |
setGroupId(long groupId)
Sets the group ID of this d d m structure. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this d d m structure. |
void |
setName(String name)
Sets the name of this d d m structure. |
void |
setName(String name,
Locale locale)
Sets the localized name of this d d m structure in the language. |
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this d d m structure in the language, and sets the default locale. |
void |
setNameCurrentLanguageId(String languageId)
|
void |
setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this d d m structure from the map of locales and localized names. |
void |
setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
Sets the localized names of this d d m structure from the map of locales and localized names, and sets the default locale. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentStructureId(long parentStructureId)
Sets the parent structure ID of this d d m structure. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d m structure. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStorageType(String storageType)
Sets the storage type of this d d m structure. |
void |
setStructureId(long structureId)
Sets the structure ID of this d d m structure. |
void |
setStructureKey(String structureKey)
Sets the structure key of this d d m structure. |
void |
setType(int type)
Sets the type of this d d m structure. |
void |
setUserId(long userId)
Sets the user ID of this d d m structure. |
void |
setUserName(String userName)
Sets the user name of this d d m structure. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d d m structure. |
void |
setUuid(String uuid)
Sets the uuid of this d d m structure. |
void |
setVersion(String version)
Sets the version of this d d m structure. |
void |
setVersionUserId(long versionUserId)
Sets the version user ID of this d d m structure. |
void |
setVersionUserName(String versionUserName)
Sets the version user name of this d d m structure. |
void |
setVersionUserUuid(String versionUserUuid)
Sets the version user uuid of this d d m structure. |
CacheModel<DDMStructure> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDMStructure |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
DDMStructure |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
void |
updateDDMForm(DDMForm ddmForm)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DDMStructureWrapper(DDMStructure ddmStructure)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMStructure>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDMStructure>public Object clone()
BaseModel
clone in interface BaseModel<DDMStructure>clone in interface StagedModelclone in interface DDMStructureModelclone in class Objectpublic int compareTo(DDMStructure ddmStructure)
compareTo in interface DDMStructureModelcompareTo in interface Comparable<DDMStructure>
public DDMForm createFullHierarchyDDMForm()
throws PortalException
createFullHierarchyDDMForm in interface DDMStructurePortalExceptionpublic String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModelgetAvailableLanguageIds in interface DDMStructureModel
public List<String> getChildrenFieldNames(String fieldName)
throws PortalException
getChildrenFieldNames in interface DDMStructurePortalExceptionpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface DDMStructureModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface DDMStructureModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface DDMStructureModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface DDMStructureModelpublic DDMForm getDDMForm()
getDDMForm in interface DDMStructure
public DDMFormField getDDMFormField(String fieldName)
throws PortalException
getDDMFormField in interface DDMStructurePortalExceptionpublic List<DDMFormField> getDDMFormFields(boolean includeTransientFields)
getDDMFormFields in interface DDMStructure
public DDMFormLayout getDDMFormLayout()
throws PortalException
getDDMFormLayout in interface DDMStructurePortalExceptionpublic String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelgetDefaultLanguageId in interface DDMStructureModelpublic String getDefinition()
getDefinition in interface DDMStructureModelpublic String getDescription()
getDescription in interface DDMStructureModelpublic String getDescription(String languageId)
getDescription in interface DDMStructureModellanguageId - the ID of the language
public String getDescription(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 language
public String getDescription(Locale locale)
getDescription in interface DDMStructureModellocale - the locale of the language
public String getDescription(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 language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface DDMStructureModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface DDMStructureModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface DDMStructureModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMStructure>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMStructureModel
public String getFieldDataType(String fieldName)
throws PortalException
getFieldDataType in interface DDMStructurePortalException
public String getFieldLabel(String fieldName,
String locale)
throws PortalException
getFieldLabel in interface DDMStructurePortalException
public String getFieldLabel(String fieldName,
Locale locale)
throws PortalException
getFieldLabel in interface DDMStructurePortalExceptionpublic Set<String> getFieldNames()
getFieldNames in interface DDMStructure
public String getFieldProperty(String fieldName,
String property)
throws PortalException
getFieldProperty in interface DDMStructurePortalException
public boolean getFieldRepeatable(String fieldName)
throws PortalException
getFieldRepeatable in interface DDMStructurePortalException
public boolean getFieldRequired(String fieldName)
throws PortalException
getFieldRequired in interface DDMStructurePortalException
public String getFieldTip(String fieldName,
Locale locale)
throws PortalException
getFieldTip in interface DDMStructurePortalException
public String getFieldTip(String fieldName,
String locale)
throws PortalException
getFieldTip in interface DDMStructurePortalException
public String getFieldType(String fieldName)
throws PortalException
getFieldType in interface DDMStructurePortalExceptionpublic DDMForm getFullHierarchyDDMForm()
getFullHierarchyDDMForm in interface DDMStructurepublic Map<String,DDMFormField> getFullHierarchyDDMFormFieldsMap(boolean includeNestedDDMFormFields)
getFullHierarchyDDMFormFieldsMap in interface DDMStructurepublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface DDMStructureModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface DDMStructureModelpublic String getName()
getName in interface DDMStructureModelpublic String getName(String languageId)
getName in interface DDMStructureModellanguageId - the ID of the language
public String getName(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 language
public String getName(Locale locale)
getName in interface DDMStructureModellocale - the locale of the language
public String getName(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 language
useDefault is false and no localization exists for the requested language, an empty string will be returned.public String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface DDMStructureModelpublic String getNameCurrentValue()
getNameCurrentValue in interface DDMStructureModelpublic Map<Locale,String> getNameMap()
getNameMap in interface DDMStructureModelpublic long getParentStructureId()
getParentStructureId in interface DDMStructureModelpublic long getPrimaryKey()
getPrimaryKey in interface DDMStructureModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMStructure>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMStructureModelpublic List<String> getRootFieldNames()
getRootFieldNames in interface DDMStructurepublic String getStorageType()
getStorageType in interface DDMStructureModelpublic long getStructureId()
getStructureId in interface DDMStructureModelpublic String getStructureKey()
getStructureKey in interface DDMStructureModel
public DDMStructureVersion getStructureVersion()
throws PortalException
getStructureVersion in interface DDMStructurePortalExceptionpublic List<DDMTemplate> getTemplates()
getTemplates in interface DDMStructurepublic int getType()
getType in interface DDMStructureModel
public String getUnambiguousName(List<DDMStructure> structures,
long groupId,
Locale locale)
throws PortalException
getUnambiguousName in interface DDMStructurePortalExceptionpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface DDMStructureModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface DDMStructureModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface DDMStructureModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface DDMStructureModelpublic String getVersion()
getVersion in interface DDMStructureModelpublic long getVersionUserId()
getVersionUserId in interface DDMStructureModelpublic String getVersionUserName()
getVersionUserName in interface DDMStructureModelpublic String getVersionUserUuid()
getVersionUserUuid in interface DDMStructureModel
public String getWebDavURL(ThemeDisplay themeDisplay,
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 URL
public boolean hasField(String fieldName)
hasField in interface DDMStructurepublic int hashCode()
hashCode in interface DDMStructureModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DDMStructure>isCachedModel in interface DDMStructureModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DDMStructure>isEscapedModel in interface DDMStructureModeltrue if this model instance is escaped;
false otherwise
public boolean isFieldRepeatable(String fieldName)
throws PortalException
isFieldRepeatable in interface DDMStructurePortalException
public boolean isFieldTransient(String fieldName)
throws PortalException
isFieldTransient in interface DDMStructurePortalExceptionpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DDMStructure>isNew in interface DDMStructureModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface DDMStructureModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface DDMStructureModelLocaleExceptionpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DDMStructure>setCachedModel in interface DDMStructureModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface DDMStructureModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface DDMStructureModelclassNameId - the class name ID of this d d m structurepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface DDMStructureModelcompanyId - the company ID of this d d m structurepublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface DDMStructureModelcreateDate - the create date of this d d m structurepublic void setDDMForm(DDMForm ddmForm)
setDDMForm in interface DDMStructurepublic void setDefinition(String definition)
setDefinition in interface DDMStructureModeldefinition - the definition of this d d m structurepublic void setDescription(String description)
setDescription in interface DDMStructureModeldescription - the description of this d d m structure
public void setDescription(String description,
Locale locale)
setDescription in interface DDMStructureModeldescription - the localized description of this d d m structurelocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
setDescription in interface DDMStructureModeldescription - the localized description of this d d m structurelocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface DDMStructureModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap in interface DDMStructureModeldescriptionMap - the locales and localized descriptions of this d d m structure
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
setDescriptionMap in interface DDMStructureModeldescriptionMap - the locales and localized descriptions of this d d m structuredefaultLocale - the default localepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DDMStructure>setExpandoBridgeAttributes in interface DDMStructureModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DDMStructure>setExpandoBridgeAttributes in interface DDMStructureModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMStructure>setExpandoBridgeAttributes in interface DDMStructureModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setFullHierarchyDDMForm(DDMForm fullHierarchyDDMForm)
setFullHierarchyDDMForm in interface DDMStructurepublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface DDMStructureModelgroupId - the group ID of this d d m structurepublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface DDMStructureModelmodifiedDate - the modified date of this d d m structurepublic void setName(String name)
setName in interface DDMStructureModelname - the name of this d d m structure
public void setName(String name,
Locale locale)
setName in interface DDMStructureModelname - the localized name of this d d m structurelocale - the locale of the language
public void setName(String name,
Locale locale,
Locale defaultLocale)
setName in interface DDMStructureModelname - the localized name of this d d m structurelocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface DDMStructureModelpublic void setNameMap(Map<Locale,String> nameMap)
setNameMap in interface DDMStructureModelnameMap - the locales and localized names of this d d m structure
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
setNameMap in interface DDMStructureModelnameMap - the locales and localized names of this d d m structuredefaultLocale - the default localepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DDMStructure>setNew in interface DDMStructureModeln - whether this model instance does not yet exist in the databasepublic void setParentStructureId(long parentStructureId)
setParentStructureId in interface DDMStructureModelparentStructureId - the parent structure ID of this d d m structurepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMStructureModelprimaryKey - the primary key of this d d m structurepublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMStructure>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMStructureModelprimaryKeyObj - the primary key of this model instancepublic void setStorageType(String storageType)
setStorageType in interface DDMStructureModelstorageType - the storage type of this d d m structurepublic void setStructureId(long structureId)
setStructureId in interface DDMStructureModelstructureId - the structure ID of this d d m structurepublic void setStructureKey(String structureKey)
setStructureKey in interface DDMStructureModelstructureKey - the structure key of this d d m structurepublic void setType(int type)
setType in interface DDMStructureModeltype - the type of this d d m structurepublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface DDMStructureModeluserId - the user ID of this d d m structurepublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface DDMStructureModeluserName - the user name of this d d m structurepublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface DDMStructureModeluserUuid - the user uuid of this d d m structurepublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface DDMStructureModeluuid - the uuid of this d d m structurepublic void setVersion(String version)
setVersion in interface DDMStructureModelversion - the version of this d d m structurepublic void setVersionUserId(long versionUserId)
setVersionUserId in interface DDMStructureModelversionUserId - the version user ID of this d d m structurepublic void setVersionUserName(String versionUserName)
setVersionUserName in interface DDMStructureModelversionUserName - the version user name of this d d m structurepublic void setVersionUserUuid(String versionUserUuid)
setVersionUserUuid in interface DDMStructureModelversionUserUuid - the version user uuid of this d d m structurepublic CacheModel<DDMStructure> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMStructure>toCacheModel in interface DDMStructureModelpublic DDMStructure toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMStructure>toEscapedModel in interface DDMStructureModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DDMStructureModeltoString in class Objectpublic DDMStructure toUnescapedModel()
toUnescapedModel in interface BaseModel<DDMStructure>toUnescapedModel in interface DDMStructureModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMStructure>toXmlString in interface DDMStructureModelpublic void updateDDMForm(DDMForm ddmForm)
updateDDMForm in interface DDMStructurepublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModel@Deprecated public DDMStructure getWrappedDDMStructure()
getWrappedModel()
public DDMStructure getWrappedModel()
getWrappedModel in interface ModelWrapper<DDMStructure>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DDMStructure>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<DDMStructure>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMStructure>
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||