@ProviderType public class DDMContentModelImpl extends com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent> implements DDMContentModel
This implementation and its corresponding interface DDMContentModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDMContentImpl
.
DDMContentImpl
,
DDMContent
,
DDMContentModel
,
Serialized FormModifier and Type | Field and Description |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static long |
CONTENTID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
UUID_COLUMN_BITMASK |
Constructor and Description |
---|
DDMContentModelImpl() |
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 |
getColumnBitmask() |
long |
getCompanyId()
Returns the company ID of this ddm content.
|
long |
getContentId()
Returns the content ID of this ddm content.
|
java.util.Date |
getCreateDate()
Returns the create date of this ddm content.
|
java.lang.String |
getData()
Returns the data of this ddm content.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this ddm content.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this ddm 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 ddm content.
|
java.lang.String |
getName()
Returns the name of this ddm content.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this ddm content in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this ddm 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 ddm content in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this ddm 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 ddm content.
|
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalUuid() |
long |
getPrimaryKey()
Returns the primary key of this ddm content.
|
java.io.Serializable |
getPrimaryKeyObj() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this ddm content.
|
java.lang.String |
getUserName()
Returns the user name of this ddm content.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this ddm content.
|
java.lang.String |
getUuid()
Returns the uuid of this ddm content.
|
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
resetOriginalValues() |
void |
setCompanyId(long companyId)
Sets the company ID of this ddm content.
|
void |
setContentId(long contentId)
Sets the content ID of this ddm content.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this ddm content.
|
void |
setData(java.lang.String data)
Sets the data of this ddm content.
|
void |
setDescription(java.lang.String description)
Sets the description of this ddm content.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this ddm 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 ddm content.
|
void |
setName(java.lang.String name)
Sets the name of this ddm content.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this ddm content in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this ddm 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 ddm 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 ddm content from the map of locales and localized names, and sets the default locale.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this ddm content.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId)
Sets the user ID of this ddm content.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this ddm content.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this ddm content.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this ddm content.
|
com.liferay.portal.kernel.model.CacheModel<DDMContent> |
toCacheModel() |
DDMContent |
toEscapedModel() |
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
public static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long CONTENTID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
DDMContentModel
getPrimaryKey
in interface DDMContentModel
public void setPrimaryKey(long primaryKey)
DDMContentModel
setPrimaryKey
in interface DDMContentModel
primaryKey
- the primary key of this ddm contentpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface DDMContentModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface DDMContentModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent>
public java.lang.String getUuid()
DDMContentModel
getUuid
in interface DDMContentModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(java.lang.String uuid)
DDMContentModel
setUuid
in interface DDMContentModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this ddm contentpublic java.lang.String getOriginalUuid()
public long getContentId()
DDMContentModel
getContentId
in interface DDMContentModel
public void setContentId(long contentId)
DDMContentModel
setContentId
in interface DDMContentModel
contentId
- the content ID of this ddm contentpublic long getGroupId()
DDMContentModel
getGroupId
in interface DDMContentModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public void setGroupId(long groupId)
DDMContentModel
setGroupId
in interface DDMContentModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this ddm contentpublic long getOriginalGroupId()
public long getCompanyId()
DDMContentModel
getCompanyId
in interface DDMContentModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public void setCompanyId(long companyId)
DDMContentModel
setCompanyId
in interface DDMContentModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this ddm contentpublic long getOriginalCompanyId()
public long getUserId()
DDMContentModel
getUserId
in interface DDMContentModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserId(long userId)
DDMContentModel
setUserId
in interface DDMContentModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this ddm contentpublic java.lang.String getUserUuid()
DDMContentModel
getUserUuid
in interface DDMContentModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserUuid(java.lang.String userUuid)
DDMContentModel
setUserUuid
in interface DDMContentModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this ddm contentpublic java.lang.String getUserName()
DDMContentModel
getUserName
in interface DDMContentModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public void setUserName(java.lang.String userName)
DDMContentModel
setUserName
in interface DDMContentModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this ddm contentpublic java.util.Date getCreateDate()
DDMContentModel
getCreateDate
in interface DDMContentModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(java.util.Date createDate)
DDMContentModel
setCreateDate
in interface DDMContentModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this ddm contentpublic java.util.Date getModifiedDate()
DDMContentModel
getModifiedDate
in interface DDMContentModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
DDMContentModel
setModifiedDate
in interface DDMContentModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this ddm contentpublic java.lang.String getName()
DDMContentModel
getName
in interface DDMContentModel
public java.lang.String getName(java.util.Locale locale)
DDMContentModel
getName
in interface DDMContentModel
locale
- the locale of the languagepublic java.lang.String getName(java.util.Locale locale, boolean useDefault)
DDMContentModel
getName
in interface DDMContentModel
locale
- 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)
DDMContentModel
getName
in interface DDMContentModel
languageId
- the ID of the languagepublic java.lang.String getName(java.lang.String languageId, boolean useDefault)
DDMContentModel
getName
in interface DDMContentModel
languageId
- 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 DDMContentModel
@JSON public java.lang.String getNameCurrentValue()
getNameCurrentValue
in interface DDMContentModel
public java.util.Map<java.util.Locale,java.lang.String> getNameMap()
DDMContentModel
getNameMap
in interface DDMContentModel
public void setName(java.lang.String name)
DDMContentModel
setName
in interface DDMContentModel
name
- the name of this ddm contentpublic void setName(java.lang.String name, java.util.Locale locale)
DDMContentModel
setName
in interface DDMContentModel
name
- the localized name of this ddm contentlocale
- the locale of the languagepublic void setName(java.lang.String name, java.util.Locale locale, java.util.Locale defaultLocale)
DDMContentModel
setName
in interface DDMContentModel
name
- the localized name of this ddm contentlocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId
in interface DDMContentModel
public void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
DDMContentModel
setNameMap
in interface DDMContentModel
nameMap
- the locales and localized names of this ddm contentpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Locale defaultLocale)
DDMContentModel
setNameMap
in interface DDMContentModel
nameMap
- the locales and localized names of this ddm contentdefaultLocale
- the default localepublic java.lang.String getDescription()
DDMContentModel
getDescription
in interface DDMContentModel
public void setDescription(java.lang.String description)
DDMContentModel
setDescription
in interface DDMContentModel
description
- the description of this ddm contentpublic java.lang.String getData()
DDMContentModel
getData
in interface DDMContentModel
public void setData(java.lang.String data)
DDMContentModel
setData
in interface DDMContentModel
data
- the data of this ddm contentpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface DDMContentModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface DDMContentModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface DDMContentModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface DDMContentModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface DDMContentModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface DDMContentModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public DDMContent toEscapedModel()
toEscapedModel
in interface DDMContentModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent>
public java.lang.Object clone()
clone
in interface DDMContentModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent>
public int compareTo(DDMContent ddmContent)
compareTo
in interface DDMContentModel
compareTo
in interface java.lang.Comparable<DDMContent>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface DDMContentModel
hashCode
in class java.lang.Object
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>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent>
public com.liferay.portal.kernel.model.CacheModel<DDMContent> toCacheModel()
toCacheModel
in interface DDMContentModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<DDMContent>
public java.lang.String toString()
toString
in interface DDMContentModel
toString
in class java.lang.Object
public java.lang.String toXmlString()
toXmlString
in interface DDMContentModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<DDMContent>