@ProviderType public class DDMContentWrapper extends java.lang.Object implements DDMContent, com.liferay.portal.kernel.model.ModelWrapper<DDMContent>
This class is a wrapper for DDMContent.
DDMContent,
Serialized FormCONTENT_ID_ACCESSOR| Constructor and Description |
|---|
DDMContentWrapper(DDMContent ddmContent) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(DDMContent ddmContent) |
boolean |
equals(java.lang.Object obj) |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this d d m content.
|
long |
getContentId()
Returns the content ID of this d d m content.
|
java.util.Date |
getCreateDate()
Returns the create date of this d d m content.
|
java.lang.String |
getData()
Returns the data of this d d m content.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this d d m content.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this d d m content.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this d d m content.
|
java.lang.String |
getName()
Returns the name of this d d m content.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this d d m content in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this d d m content 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 d d m content in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this d d m content 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 d d m content.
|
long |
getPrimaryKey()
Returns the primary key of this d d m content.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this d d m content.
|
java.lang.String |
getUserName()
Returns the user name of this d d m content.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this d d m content.
|
java.lang.String |
getUuid()
Returns the uuid of this d d m content.
|
DDMContent |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this d d m content.
|
void |
setContentId(long contentId)
Sets the content ID of this d d m content.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this d d m content.
|
void |
setData(java.lang.String data)
Sets the data of this d d m content.
|
void |
setDescription(java.lang.String description)
Sets the description of this d d m content.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this d d m content.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this d d m content.
|
void |
setName(java.lang.String name)
Sets the name of this d d m content.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this d d m content in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this d d m content 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 d d m content 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 d d m content from the map of locales and localized names, and sets the default locale.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d m content.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId)
Sets the user ID of this d d m content.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this d d m content.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this d d m content.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this d d m content.
|
com.liferay.portal.kernel.model.CacheModel<DDMContent> |
toCacheModel() |
DDMContent |
toEscapedModel() |
java.lang.String |
toString() |
DDMContent |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public DDMContentWrapper(DDMContent ddmContent)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public java.lang.Object clone()
clone in interface DDMContentModelclone in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic int compareTo(DDMContent ddmContent)
compareTo in interface DDMContentModelcompareTo in interface java.lang.Comparable<DDMContent>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface DDMContentModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic long getCompanyId()
getCompanyId in interface DDMContentModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getContentId()
getContentId in interface DDMContentModelpublic java.util.Date getCreateDate()
getCreateDate in interface DDMContentModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getData()
getData in interface DDMContentModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface DDMContentModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface DDMContentModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface DDMContentModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic long getGroupId()
getGroupId in interface DDMContentModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface DDMContentModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getName()
getName in interface DDMContentModelpublic java.lang.String getName(java.lang.String languageId)
getName in interface DDMContentModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface DDMContentModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getName(java.util.Locale locale)
getName in interface DDMContentModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface DDMContentModellocale - 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 getNameCurrentLanguageId()
getNameCurrentLanguageId in interface DDMContentModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface DDMContentModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface DDMContentModelpublic long getPrimaryKey()
getPrimaryKey in interface DDMContentModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface DDMContentModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic long getUserId()
getUserId in interface DDMContentModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface DDMContentModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface DDMContentModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface DDMContentModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic int hashCode()
hashCode in interface DDMContentModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface DDMContentModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public boolean isEscapedModel()
isEscapedModel in interface DDMContentModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public boolean isNew()
isNew in interface DDMContentModelisNew in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface DDMContentModelprepareLocalizedFieldsForImport 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 DDMContentModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface DDMContentModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public void setCompanyId(long companyId)
setCompanyId in interface DDMContentModelsetCompanyId 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 d d m contentpublic void setContentId(long contentId)
setContentId in interface DDMContentModelcontentId - the content ID of this d d m contentpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface DDMContentModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this d d m contentpublic void setData(java.lang.String data)
setData in interface DDMContentModeldata - the data of this d d m contentpublic void setDescription(java.lang.String description)
setDescription in interface DDMContentModeldescription - the description of this d d m contentpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface DDMContentModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface DDMContentModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface DDMContentModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public void setGroupId(long groupId)
setGroupId in interface DDMContentModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this d d m contentpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface DDMContentModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this d d m contentpublic void setName(java.lang.String name)
setName in interface DDMContentModelname - the name of this d d m contentpublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface DDMContentModelname - the localized name of this d d m contentlocale - the locale of the languagepublic void setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
setName in interface DDMContentModelname - the localized name of this d d m contentlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId in interface DDMContentModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface DDMContentModelnameMap - the locales and localized names of this d d m contentpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
setNameMap in interface DDMContentModelnameMap - the locales and localized names of this d d m contentdefaultLocale - the default localepublic void setNew(boolean n)
setNew in interface DDMContentModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDMContentModelprimaryKey - the primary key of this d d m contentpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface DDMContentModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setUserId(long userId)
setUserId in interface DDMContentModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this d d m contentpublic void setUserName(java.lang.String userName)
setUserName in interface DDMContentModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this d d m contentpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface DDMContentModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this d d m contentpublic void setUuid(java.lang.String uuid)
setUuid in interface DDMContentModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this d d m contentpublic com.liferay.portal.kernel.model.CacheModel<DDMContent> toCacheModel()
toCacheModel in interface DDMContentModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public DDMContent toEscapedModel()
toEscapedModel in interface DDMContentModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public java.lang.String toString()
toString in interface DDMContentModeltoString in class java.lang.Objectpublic DDMContent toUnescapedModel()
toUnescapedModel in interface DDMContentModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public java.lang.String toXmlString()
toXmlString in interface DDMContentModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic DDMContent getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<DDMContent>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>