|
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<DDMStructureVersion>
com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureVersionModelImpl
@JSON(strict=true) @ProviderType public class DDMStructureVersionModelImpl
The base model implementation for the DDMStructureVersion service. Represents a row in the "DDMStructureVersion" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DDMStructureVersionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDMStructureVersionImpl.
DDMStructureVersionImpl,
DDMStructureVersion,
DDMStructureVersionModel,
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 long |
STRUCTUREID_COLUMN_BITMASK
|
static long |
STRUCTUREVERSIONID_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
VERSION_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
DDMStructureVersionModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMStructureVersion ddmStructureVersion)
|
boolean |
equals(Object obj)
|
String[] |
getAvailableLanguageIds()
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this d d m structure version. |
Date |
getCreateDate()
Returns the create date of this d d m structure version. |
String |
getDefaultLanguageId()
|
String |
getDefinition()
Returns the definition of this d d m structure version. |
String |
getDescription()
Returns the description of this d d m structure version. |
String |
getDescription(Locale locale)
Returns the localized description of this d d m structure version in the language. |
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this d d m structure 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 structure version in the language. |
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this d d m structure 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 structure version. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this d d m structure version. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this d d m structure version. |
String |
getName(Locale locale)
Returns the localized name of this d d m structure version in the language. |
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this d d m structure 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 structure version in the language. |
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this d d m structure 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 structure version. |
long |
getOriginalStructureId()
|
String |
getOriginalVersion()
|
long |
getPrimaryKey()
Returns the primary key of this d d m structure version. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getStorageType()
Returns the storage type of this d d m structure version. |
long |
getStructureId()
Returns the structure ID of this d d m structure version. |
long |
getStructureVersionId()
Returns the structure version ID of this d d m structure version. |
int |
getType()
Returns the type of this d d m structure version. |
long |
getUserId()
Returns the user ID of this d d m structure version. |
String |
getUserName()
Returns the user name of this d d m structure version. |
String |
getUserUuid()
Returns the user uuid of this d d m structure version. |
String |
getVersion()
Returns the version of this d d m structure 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 structure version. |
void |
setCreateDate(Date createDate)
Sets the create date of this d d m structure version. |
void |
setDefinition(String definition)
Sets the definition of this d d m structure version. |
void |
setDescription(String description)
Sets the description of this d d m structure version. |
void |
setDescription(String description,
Locale locale)
Sets the localized description of this d d m structure version in the language. |
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this d d m structure 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 structure 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 structure 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 structure version. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this d d m structure version. |
void |
setName(String name,
Locale locale)
Sets the localized name of this d d m structure version in the language. |
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this d d m structure 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 structure 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 structure 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 structure version. |
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 version. |
void |
setStructureId(long structureId)
Sets the structure ID of this d d m structure version. |
void |
setStructureVersionId(long structureVersionId)
Sets the structure version ID of this d d m structure version. |
void |
setType(int type)
Sets the type of this d d m structure version. |
void |
setUserId(long userId)
Sets the user ID of this d d m structure version. |
void |
setUserName(String userName)
Sets the user name of this d d m structure version. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d d m structure version. |
void |
setVersion(String version)
Sets the version of this d d m structure version. |
CacheModel<DDMStructureVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDMStructureVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static DDMStructureVersion |
toModel(DDMStructureVersionSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<DDMStructureVersion> |
toModels(DDMStructureVersionSoap[] 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.DDMStructureVersionModel |
|---|
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 STRUCTUREID_COLUMN_BITMASK
public static final long VERSION_COLUMN_BITMASK
public static final long STRUCTUREVERSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DDMStructureVersionModelImpl()
| Method Detail |
|---|
public static DDMStructureVersion toModel(DDMStructureVersionSoap soapModel)
soapModel - the soap model instance to convert
public static List<DDMStructureVersion> toModels(DDMStructureVersionSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
DDMStructureVersionModel
getPrimaryKey in interface DDMStructureVersionModelpublic void setPrimaryKey(long primaryKey)
DDMStructureVersionModel
setPrimaryKey in interface DDMStructureVersionModelprimaryKey - the primary key of this d d m structure versionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDMStructureVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDMStructureVersionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDMStructureVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDMStructureVersionModelprimaryKeyObj - 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<DDMStructureVersion>getModelAttributes in class BaseModelImpl<DDMStructureVersion>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDMStructureVersion>setModelAttributes in class BaseModelImpl<DDMStructureVersion>@JSON public long getStructureVersionId()
DDMStructureVersionModel
getStructureVersionId in interface DDMStructureVersionModelpublic void setStructureVersionId(long structureVersionId)
DDMStructureVersionModel
setStructureVersionId in interface DDMStructureVersionModelstructureVersionId - the structure version ID of this d d m structure version@JSON public long getGroupId()
DDMStructureVersionModel
getGroupId in interface DDMStructureVersionModelpublic void setGroupId(long groupId)
DDMStructureVersionModel
setGroupId in interface DDMStructureVersionModelgroupId - the group ID of this d d m structure version@JSON public long getCompanyId()
DDMStructureVersionModel
getCompanyId in interface DDMStructureVersionModelpublic void setCompanyId(long companyId)
DDMStructureVersionModel
setCompanyId in interface DDMStructureVersionModelcompanyId - the company ID of this d d m structure version@JSON public long getUserId()
DDMStructureVersionModel
getUserId in interface DDMStructureVersionModelpublic void setUserId(long userId)
DDMStructureVersionModel
setUserId in interface DDMStructureVersionModeluserId - the user ID of this d d m structure versionpublic String getUserUuid()
DDMStructureVersionModel
getUserUuid in interface DDMStructureVersionModelpublic void setUserUuid(String userUuid)
DDMStructureVersionModel
setUserUuid in interface DDMStructureVersionModeluserUuid - the user uuid of this d d m structure version@JSON public String getUserName()
DDMStructureVersionModel
getUserName in interface DDMStructureVersionModelpublic void setUserName(String userName)
DDMStructureVersionModel
setUserName in interface DDMStructureVersionModeluserName - the user name of this d d m structure version@JSON public Date getCreateDate()
DDMStructureVersionModel
getCreateDate in interface DDMStructureVersionModelpublic void setCreateDate(Date createDate)
DDMStructureVersionModel
setCreateDate in interface DDMStructureVersionModelcreateDate - the create date of this d d m structure version@JSON public long getStructureId()
DDMStructureVersionModel
getStructureId in interface DDMStructureVersionModelpublic void setStructureId(long structureId)
DDMStructureVersionModel
setStructureId in interface DDMStructureVersionModelstructureId - the structure ID of this d d m structure versionpublic long getOriginalStructureId()
@JSON public String getVersion()
DDMStructureVersionModel
getVersion in interface DDMStructureVersionModelpublic void setVersion(String version)
DDMStructureVersionModel
setVersion in interface DDMStructureVersionModelversion - the version of this d d m structure versionpublic String getOriginalVersion()
@JSON public String getName()
DDMStructureVersionModel
getName in interface DDMStructureVersionModelpublic String getName(Locale locale)
DDMStructureVersionModel
getName in interface DDMStructureVersionModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
DDMStructureVersionModel
getName in interface DDMStructureVersionModellocale - 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)
DDMStructureVersionModel
getName in interface DDMStructureVersionModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
DDMStructureVersionModel
getName in interface DDMStructureVersionModellanguageId - 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 DDMStructureVersionModel@JSON public String getNameCurrentValue()
getNameCurrentValue in interface DDMStructureVersionModelpublic Map<Locale,String> getNameMap()
DDMStructureVersionModel
getNameMap in interface DDMStructureVersionModelpublic void setName(String name)
DDMStructureVersionModel
setName in interface DDMStructureVersionModelname - the name of this d d m structure version
public void setName(String name,
Locale locale)
DDMStructureVersionModel
setName in interface DDMStructureVersionModelname - the localized name of this d d m structure versionlocale - the locale of the language
public void setName(String name,
Locale locale,
Locale defaultLocale)
DDMStructureVersionModel
setName in interface DDMStructureVersionModelname - the localized name of this d d m structure versionlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId in interface DDMStructureVersionModelpublic void setNameMap(Map<Locale,String> nameMap)
DDMStructureVersionModel
setNameMap in interface DDMStructureVersionModelnameMap - the locales and localized names of this d d m structure version
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
DDMStructureVersionModel
setNameMap in interface DDMStructureVersionModelnameMap - the locales and localized names of this d d m structure versiondefaultLocale - the default locale@JSON public String getDescription()
DDMStructureVersionModel
getDescription in interface DDMStructureVersionModelpublic String getDescription(Locale locale)
DDMStructureVersionModel
getDescription in interface DDMStructureVersionModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
DDMStructureVersionModel
getDescription in interface DDMStructureVersionModellocale - 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)
DDMStructureVersionModel
getDescription in interface DDMStructureVersionModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
DDMStructureVersionModel
getDescription in interface DDMStructureVersionModellanguageId - 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 DDMStructureVersionModel@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface DDMStructureVersionModelpublic Map<Locale,String> getDescriptionMap()
DDMStructureVersionModel
getDescriptionMap in interface DDMStructureVersionModelpublic void setDescription(String description)
DDMStructureVersionModel
setDescription in interface DDMStructureVersionModeldescription - the description of this d d m structure version
public void setDescription(String description,
Locale locale)
DDMStructureVersionModel
setDescription in interface DDMStructureVersionModeldescription - the localized description of this d d m structure versionlocale - the locale of the language
public void setDescription(String description,
Locale locale,
Locale defaultLocale)
DDMStructureVersionModel
setDescription in interface DDMStructureVersionModeldescription - the localized description of this d d m structure versionlocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId in interface DDMStructureVersionModelpublic void setDescriptionMap(Map<Locale,String> descriptionMap)
DDMStructureVersionModel
setDescriptionMap in interface DDMStructureVersionModeldescriptionMap - the locales and localized descriptions of this d d m structure version
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
DDMStructureVersionModel
setDescriptionMap in interface DDMStructureVersionModeldescriptionMap - the locales and localized descriptions of this d d m structure versiondefaultLocale - the default locale@JSON public String getDefinition()
DDMStructureVersionModel
getDefinition in interface DDMStructureVersionModelpublic void setDefinition(String definition)
DDMStructureVersionModel
setDefinition in interface DDMStructureVersionModeldefinition - the definition of this d d m structure version@JSON public String getStorageType()
DDMStructureVersionModel
getStorageType in interface DDMStructureVersionModelpublic void setStorageType(String storageType)
DDMStructureVersionModel
setStorageType in interface DDMStructureVersionModelstorageType - the storage type of this d d m structure version@JSON public int getType()
DDMStructureVersionModel
getType in interface DDMStructureVersionModelpublic void setType(int type)
DDMStructureVersionModel
setType in interface DDMStructureVersionModeltype - the type of this d d m structure versionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMStructureVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMStructureVersionModelgetExpandoBridge in class BaseModelImpl<DDMStructureVersion>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMStructureVersion>setExpandoBridgeAttributes in interface DDMStructureVersionModelsetExpandoBridgeAttributes in class BaseModelImpl<DDMStructureVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModelgetAvailableLanguageIds in interface DDMStructureVersionModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelgetDefaultLanguageId in interface DDMStructureVersionModel
public void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface DDMStructureVersionModelLocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelprepareLocalizedFieldsForImport in interface DDMStructureVersionModelLocaleExceptionpublic DDMStructureVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMStructureVersion>toEscapedModel in interface DDMStructureVersionModeltoEscapedModel in class BaseModelImpl<DDMStructureVersion>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<DDMStructureVersion>clone in interface DDMStructureVersionModelclone in class BaseModelImpl<DDMStructureVersion>public int compareTo(DDMStructureVersion ddmStructureVersion)
compareTo in interface DDMStructureVersionModelcompareTo in interface Comparable<DDMStructureVersion>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DDMStructureVersionModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DDMStructureVersion>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<DDMStructureVersion>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMStructureVersion>resetOriginalValues in class BaseModelImpl<DDMStructureVersion>public CacheModel<DDMStructureVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMStructureVersion>toCacheModel in interface DDMStructureVersionModeltoCacheModel in class BaseModelImpl<DDMStructureVersion>public String toString()
toString in interface DDMStructureVersionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMStructureVersion>toXmlString in interface DDMStructureVersionModel
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||