|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.dynamicdatamapping.model.DDMStructureWrapper
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)
|
List<String> |
getAvailableLocales()
|
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. |
String |
getDefaultLocale()
|
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)
|
boolean |
getFieldDisplayChildLabelAsValue(String fieldName)
|
String |
getFieldLabel(String fieldName,
Locale locale)
|
String |
getFieldLabel(String fieldName,
String locale)
|
Set<String> |
getFieldNames()
|
String |
getFieldProperty(String fieldName,
String property)
|
String |
getFieldProperty(String fieldName,
String property,
String locale)
|
boolean |
getFieldRequired(String fieldName)
|
Map<String,String> |
getFields(String fieldName,
String attributeName,
String attributeValue)
|
Map<String,String> |
getFields(String fieldName,
String attributeName,
String attributeValue,
String locale)
|
Map<String,Map<String,String>> |
getFieldsMap()
|
Map<String,Map<String,String>> |
getFieldsMap(String locale)
|
String |
getFieldType(String fieldName)
|
long |
getGroupId()
Returns the group ID of this d d m structure. |
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 |
getPrimaryKey()
Returns the primary key of this d d m structure. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
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. |
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. |
DDMStructure |
getWrappedDDMStructure()
|
String |
getXsd()
Returns the xsd of this d d m structure. |
boolean |
hasField(String fieldName)
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
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 |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
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(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this d d m structure. |
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 |
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 |
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 |
setXsd(String xsd)
Sets the xsd 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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 long getPrimaryKey()
getPrimaryKey in interface DDMStructureModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMStructureModelprimaryKey - the primary key of this d d m structurepublic String getUuid()
getUuid in interface DDMStructureModelpublic void setUuid(String uuid)
setUuid in interface DDMStructureModeluuid - the uuid of this d d m structurepublic long getStructureId()
getStructureId in interface DDMStructureModelpublic void setStructureId(long structureId)
setStructureId in interface DDMStructureModelstructureId - the structure ID of this d d m structurepublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface DDMStructureModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface DDMStructureModelgroupId - the group ID of this d d m structurepublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface DDMStructureModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface DDMStructureModelcompanyId - the company ID of this d d m structurepublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface DDMStructureModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface DDMStructureModeluserId - the user ID of this d d m structure
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface DDMStructureModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface DDMStructureModeluserUuid - the user uuid of this d d m structurepublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface DDMStructureModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface DDMStructureModeluserName - the user name of this d d m structurepublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface DDMStructureModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface DDMStructureModelcreateDate - the create date of this d d m structurepublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface DDMStructureModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface DDMStructureModelmodifiedDate - the modified date of this d d m structurepublic String getClassName()
getClassName in interface DDMStructureModelpublic long getClassNameId()
getClassNameId in interface DDMStructureModelpublic void setClassNameId(long classNameId)
setClassNameId in interface DDMStructureModelclassNameId - the class name ID of this d d m structurepublic String getStructureKey()
getStructureKey in interface DDMStructureModelpublic void setStructureKey(String structureKey)
setStructureKey in interface DDMStructureModelstructureKey - the structure key of this d d m structurepublic String getName()
getName in interface DDMStructureModelpublic 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 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 getNameCurrentLanguageId()
getNameCurrentLanguageId in interface DDMStructureModelpublic String getNameCurrentValue()
getNameCurrentValue in interface DDMStructureModelpublic Map<Locale,String> getNameMap()
getNameMap in interface DDMStructureModelpublic 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 String getDescription()
getDescription in interface DDMStructureModelpublic 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 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 getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface DDMStructureModelpublic String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface DDMStructureModelpublic Map<Locale,String> getDescriptionMap()
getDescriptionMap in interface DDMStructureModelpublic 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 String getXsd()
getXsd in interface DDMStructureModelpublic void setXsd(String xsd)
setXsd in interface DDMStructuresetXsd in interface DDMStructureModelxsd - the xsd of this d d m structurepublic String getStorageType()
getStorageType in interface DDMStructureModelpublic void setStorageType(String storageType)
setStorageType in interface DDMStructureModelstorageType - the storage type of this d d m structurepublic 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 setNew(boolean n)
BaseModel
setNew in interface BaseModel<DDMStructure>setNew in interface DDMStructureModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DDMStructure>setCachedModel in interface DDMStructureModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMStructure>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMStructureModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMStructure>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMStructureModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMStructure>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMStructureModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMStructure>setExpandoBridgeAttributes in interface DDMStructureModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DDMStructure>clone in interface DDMStructureModelclone in class Objectpublic int compareTo(DDMStructure ddmStructure)
compareTo in interface DDMStructureModelcompareTo in interface Comparable<DDMStructure>public int hashCode()
hashCode in interface DDMStructureModelhashCode in class Objectpublic 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 String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMStructure>toXmlString in interface DDMStructureModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic List<String> getAvailableLocales()
getAvailableLocales in interface DDMStructurepublic String getDefaultLocale()
getDefaultLocale in interface DDMStructurepublic String getFieldDataType(String fieldName)
getFieldDataType in interface DDMStructurepublic boolean getFieldDisplayChildLabelAsValue(String fieldName)
getFieldDisplayChildLabelAsValue in interface DDMStructure
public String getFieldLabel(String fieldName,
Locale locale)
getFieldLabel in interface DDMStructure
public String getFieldLabel(String fieldName,
String locale)
getFieldLabel in interface DDMStructurepublic Set<String> getFieldNames()
getFieldNames in interface DDMStructure
public String getFieldProperty(String fieldName,
String property)
getFieldProperty in interface DDMStructure
public String getFieldProperty(String fieldName,
String property,
String locale)
getFieldProperty in interface DDMStructurepublic boolean getFieldRequired(String fieldName)
getFieldRequired in interface DDMStructure
public Map<String,String> getFields(String fieldName,
String attributeName,
String attributeValue)
getFields in interface DDMStructure
public Map<String,String> getFields(String fieldName,
String attributeName,
String attributeValue,
String locale)
getFields in interface DDMStructurepublic Map<String,Map<String,String>> getFieldsMap()
getFieldsMap in interface DDMStructurepublic Map<String,Map<String,String>> getFieldsMap(String locale)
getFieldsMap in interface DDMStructurepublic String getFieldType(String fieldName)
getFieldType in interface DDMStructurepublic boolean hasField(String fieldName)
hasField in interface DDMStructurepublic DDMStructure getWrappedDDMStructure()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMStructure>
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||