|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<DDMTemplateVersion>
com.liferay.portlet.dynamicdatamapping.model.impl.DDMTemplateVersionModelImpl
@JSON(strict=true) @ProviderType public class DDMTemplateVersionModelImpl
The base model implementation for the DDMTemplateVersion service. Represents a row in the "DDMTemplateVersion" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DDMTemplateVersionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDMTemplateVersionImpl.
DDMTemplateVersionImpl,
DDMTemplateVersion,
DDMTemplateVersionModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TEMPLATEID_COLUMN_BITMASK
|
static long |
TEMPLATEVERSIONID_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
static long |
VERSION_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
DDMTemplateVersionModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMTemplateVersion ddmTemplateVersion)
|
boolean |
equals(Object obj)
|
String[] |
getAvailableLanguageIds()
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this d d m template version. |
Date |
getCreateDate()
Returns the create date of this d d m template version. |
String |
getDefaultLanguageId()
|
String |
getDescription()
Returns the description of this d d m template version. |
String |
getDescription(Locale locale)
Returns the localized description of this d d m template version in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this d d m template version 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 template version in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this d d m template version 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 template version. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this d d m template version. |
String |
getLanguage()
Returns the language of this d d m template version. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this d d m template version. |
String |
getName(Locale locale)
Returns the localized name of this d d m template version in the language. |
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this d d m template version 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 template version in the language. |
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this d d m template version 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 template version. |
long |
getOriginalTemplateId()
|
String |
getOriginalVersion()
|
long |
getPrimaryKey()
Returns the primary key of this d d m template version. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getScript()
Returns the script of this d d m template version. |
long |
getTemplateId()
Returns the template ID of this d d m template version. |
long |
getTemplateVersionId()
Returns the template version ID of this d d m template version. |
long |
getUserId()
Returns the user ID of this d d m template version. |
String |
getUserName()
Returns the user name of this d d m template version. |
String |
getUserUuid()
Returns the user uuid of this d d m template version. |
String |
getVersion()
Returns the version of this d d m template version. |
int |
hashCode()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
prepareLocalizedFieldsForImport()
|
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this d d m template version. |
void |
setCreateDate(Date createDate)
Sets the create date of this d d m template version. |
void |
setDescription(String description)
Sets the description of this d d m template version. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this d d m template version in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this d d m template version 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 template version 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 template version 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 template version. |
void |
setLanguage(String language)
Sets the language of this d d m template version. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this d d m template version. |
void |
setName(String name,
Locale locale)
Sets the localized name of this d d m template version in the language. |
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this d d m template version 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 template version 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 template version from the map of locales and localized names, and sets the default locale. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d m template version. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setScript(String script)
Sets the script of this d d m template version. |
void |
setTemplateId(long templateId)
Sets the template ID of this d d m template version. |
void |
setTemplateVersionId(long templateVersionId)
Sets the template version ID of this d d m template version. |
void |
setUserId(long userId)
Sets the user ID of this d d m template version. |
void |
setUserName(String userName)
Sets the user name of this d d m template version. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d d m template version. |
void |
setVersion(String version)
Sets the version of this d d m template version. |
CacheModel<DDMTemplateVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDMTemplateVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static DDMTemplateVersion |
toModel(DDMTemplateVersionSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<DDMTemplateVersion> |
toModels(DDMTemplateVersionSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.dynamicdatamapping.model.DDMTemplateVersionModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final 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 TEMPLATEID_COLUMN_BITMASK
public static final long VERSION_COLUMN_BITMASK
public static final long TEMPLATEVERSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DDMTemplateVersionModelImpl()
| Method Detail |
|---|
public static DDMTemplateVersion toModel(DDMTemplateVersionSoap soapModel)
soapModel - the soap model instance to convert
public static List<DDMTemplateVersion> toModels(DDMTemplateVersionSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
DDMTemplateVersionModel
getPrimaryKey in interface DDMTemplateVersionModelpublic void setPrimaryKey(long primaryKey)
DDMTemplateVersionModel
setPrimaryKey in interface DDMTemplateVersionModelprimaryKey - the primary key of this d d m template versionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMTemplateVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMTemplateVersionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMTemplateVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMTemplateVersionModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDMTemplateVersion>getModelAttributes in class BaseModelImpl<DDMTemplateVersion>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDMTemplateVersion>setModelAttributes in class BaseModelImpl<DDMTemplateVersion>@JSON public long getTemplateVersionId()
DDMTemplateVersionModel
getTemplateVersionId in interface DDMTemplateVersionModelpublic void setTemplateVersionId(long templateVersionId)
DDMTemplateVersionModel
setTemplateVersionId in interface DDMTemplateVersionModeltemplateVersionId - the template version ID of this d d m template version@JSON public long getGroupId()
DDMTemplateVersionModel
getGroupId in interface DDMTemplateVersionModelpublic void setGroupId(long groupId)
DDMTemplateVersionModel
setGroupId in interface DDMTemplateVersionModelgroupId - the group ID of this d d m template version@JSON public long getCompanyId()
DDMTemplateVersionModel
getCompanyId in interface DDMTemplateVersionModelpublic void setCompanyId(long companyId)
DDMTemplateVersionModel
setCompanyId in interface DDMTemplateVersionModelcompanyId - the company ID of this d d m template version@JSON public long getUserId()
DDMTemplateVersionModel
getUserId in interface DDMTemplateVersionModelpublic void setUserId(long userId)
DDMTemplateVersionModel
setUserId in interface DDMTemplateVersionModeluserId - the user ID of this d d m template versionpublic String getUserUuid()
DDMTemplateVersionModel
getUserUuid in interface DDMTemplateVersionModelpublic void setUserUuid(String userUuid)
DDMTemplateVersionModel
setUserUuid in interface DDMTemplateVersionModeluserUuid - the user uuid of this d d m template version@JSON public String getUserName()
DDMTemplateVersionModel
getUserName in interface DDMTemplateVersionModelpublic void setUserName(String userName)
DDMTemplateVersionModel
setUserName in interface DDMTemplateVersionModeluserName - the user name of this d d m template version@JSON public Date getCreateDate()
DDMTemplateVersionModel
getCreateDate in interface DDMTemplateVersionModelpublic void setCreateDate(Date createDate)
DDMTemplateVersionModel
setCreateDate in interface DDMTemplateVersionModelcreateDate - the create date of this d d m template version@JSON public long getTemplateId()
DDMTemplateVersionModel
getTemplateId in interface DDMTemplateVersionModelpublic void setTemplateId(long templateId)
DDMTemplateVersionModel
setTemplateId in interface DDMTemplateVersionModeltemplateId - the template ID of this d d m template versionpublic long getOriginalTemplateId()
@JSON public String getVersion()
DDMTemplateVersionModel
getVersion in interface DDMTemplateVersionModelpublic void setVersion(String version)
DDMTemplateVersionModel
setVersion in interface DDMTemplateVersionModelversion - the version of this d d m template versionpublic String getOriginalVersion()
@JSON public String getName()
DDMTemplateVersionModel
getName in interface DDMTemplateVersionModelpublic String getName(Locale locale)
DDMTemplateVersionModel
getName in interface DDMTemplateVersionModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
DDMTemplateVersionModel
getName in interface DDMTemplateVersionModellocale - 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)
DDMTemplateVersionModel
getName in interface DDMTemplateVersionModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
DDMTemplateVersionModel
getName in interface DDMTemplateVersionModellanguageId - 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 DDMTemplateVersionModel@JSON public String getNameCurrentValue()
getNameCurrentValue in interface DDMTemplateVersionModelpublic Map<Locale,String> getNameMap()
DDMTemplateVersionModel
getNameMap in interface DDMTemplateVersionModelpublic void setName(String name)
DDMTemplateVersionModel
setName in interface DDMTemplateVersionModelname - the name of this d d m template version
public void setName(String name,
Locale locale)
DDMTemplateVersionModel
setName in interface DDMTemplateVersionModelname - the localized name of this d d m template versionlocale - the locale of the language
public void setName(String name,
Locale locale,
Locale defaultLocale)
DDMTemplateVersionModel
setName in interface DDMTemplateVersionModelname - the localized name of this d d m template versionlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface DDMTemplateVersionModelpublic void setNameMap(Map<Locale,String> nameMap)
DDMTemplateVersionModel
setNameMap in interface DDMTemplateVersionModelnameMap - the locales and localized names of this d d m template version
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
DDMTemplateVersionModel
setNameMap in interface DDMTemplateVersionModelnameMap - the locales and localized names of this d d m template versiondefaultLocale - the default locale@JSON public String getDescription()
DDMTemplateVersionModel
getDescription in interface DDMTemplateVersionModelpublic String getDescription(Locale locale)
DDMTemplateVersionModel
getDescription in interface DDMTemplateVersionModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
DDMTemplateVersionModel
getDescription in interface DDMTemplateVersionModellocale - 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)
DDMTemplateVersionModel
getDescription in interface DDMTemplateVersionModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
DDMTemplateVersionModel
getDescription in interface DDMTemplateVersionModellanguageId - 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 DDMTemplateVersionModel@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface DDMTemplateVersionModelpublic Map<Locale,String> getDescriptionMap()
DDMTemplateVersionModel
getDescriptionMap in interface DDMTemplateVersionModelpublic void setDescription(String description)
DDMTemplateVersionModel
setDescription in interface DDMTemplateVersionModeldescription - the description of this d d m template version
public void setDescription(String description,
Locale locale)
DDMTemplateVersionModel
setDescription in interface DDMTemplateVersionModeldescription - the localized description of this d d m template versionlocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
DDMTemplateVersionModel
setDescription in interface DDMTemplateVersionModeldescription - the localized description of this d d m template versionlocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface DDMTemplateVersionModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
DDMTemplateVersionModel
setDescriptionMap in interface DDMTemplateVersionModeldescriptionMap - the locales and localized descriptions of this d d m template version
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
DDMTemplateVersionModel
setDescriptionMap in interface DDMTemplateVersionModeldescriptionMap - the locales and localized descriptions of this d d m template versiondefaultLocale - the default locale@JSON public String getLanguage()
DDMTemplateVersionModel
getLanguage in interface DDMTemplateVersionModelpublic void setLanguage(String language)
DDMTemplateVersionModel
setLanguage in interface DDMTemplateVersionModellanguage - the language of this d d m template version@JSON public String getScript()
DDMTemplateVersionModel
getScript in interface DDMTemplateVersionModelpublic void setScript(String script)
DDMTemplateVersionModel
setScript in interface DDMTemplateVersionModelscript - the script of this d d m template versionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMTemplateVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMTemplateVersionModelgetExpandoBridge in class BaseModelImpl<DDMTemplateVersion>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMTemplateVersion>setExpandoBridgeAttributes in interface DDMTemplateVersionModelsetExpandoBridgeAttributes in class BaseModelImpl<DDMTemplateVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModelgetAvailableLanguageIds in interface DDMTemplateVersionModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelgetDefaultLanguageId in interface DDMTemplateVersionModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface DDMTemplateVersionModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface DDMTemplateVersionModelLocaleExceptionpublic DDMTemplateVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMTemplateVersion>toEscapedModel in interface DDMTemplateVersionModeltoEscapedModel in class BaseModelImpl<DDMTemplateVersion>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<DDMTemplateVersion>clone in interface DDMTemplateVersionModelclone in class BaseModelImpl<DDMTemplateVersion>public int compareTo(DDMTemplateVersion ddmTemplateVersion)
compareTo in interface DDMTemplateVersionModelcompareTo in interface Comparable<DDMTemplateVersion>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DDMTemplateVersionModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DDMTemplateVersion>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<DDMTemplateVersion>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMTemplateVersion>resetOriginalValues in class BaseModelImpl<DDMTemplateVersion>public CacheModel<DDMTemplateVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMTemplateVersion>toCacheModel in interface DDMTemplateVersionModeltoCacheModel in class BaseModelImpl<DDMTemplateVersion>public String toString()
toString in interface DDMTemplateVersionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMTemplateVersion>toXmlString in interface DDMTemplateVersionModel
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||