|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<DDMStructure>
com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl
@JSON(strict=true) public class DDMStructureModelImpl
The base model implementation for the DDMStructure service. Represents a row in the "DDMStructure" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DDMStructureModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDMStructureImpl.
DDMStructureImpl,
DDMStructure,
DDMStructureModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static long |
DESCRIPTION_COLUMN_BITMASK
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
STRUCTUREKEY_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 |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
DDMStructureModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDMStructure ddmStructure)
|
boolean |
equals(Object obj)
|
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 |
getColumnBitmask()
|
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 |
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. |
Document |
getDocument()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Map<String,String>> |
getFieldsMap()
|
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 |
getOriginalClassNameId()
|
String |
getOriginalDescription()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalStructureKey()
|
String |
getOriginalUuid()
|
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. |
int |
getType()
Returns the type 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. |
String |
getXsd()
Returns the xsd of this d d m structure. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setDocument(Document document)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFieldsMap(Map<String,Map<String,String>> fieldsMap)
|
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 |
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 |
setType(int type)
Sets the type 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. |
static DDMStructure |
toModel(DDMStructureSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<DDMStructure> |
toModels(DDMStructureSoap[] 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, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.dynamicdatamapping.model.DDMStructureModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| 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 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 long CLASSNAMEID_COLUMN_BITMASK
public static long DESCRIPTION_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long STRUCTUREKEY_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DDMStructureModelImpl()
| Method Detail |
|---|
public static DDMStructure toModel(DDMStructureSoap soapModel)
soapModel - the soap model instance to convert
public static List<DDMStructure> toModels(DDMStructureSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
DDMStructureModel
getPrimaryKey in interface DDMStructureModelpublic void setPrimaryKey(long primaryKey)
DDMStructureModel
setPrimaryKey in interface DDMStructureModelprimaryKey - the primary key of this d d m structurepublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModel@JSON public String getUuid()
DDMStructureModel
getUuid in interface DDMStructureModelpublic void setUuid(String uuid)
DDMStructureModel
setUuid in interface DDMStructureModeluuid - the uuid of this d d m structurepublic String getOriginalUuid()
@JSON public long getStructureId()
DDMStructureModel
getStructureId in interface DDMStructureModelpublic void setStructureId(long structureId)
DDMStructureModel
setStructureId in interface DDMStructureModelstructureId - the structure ID of this d d m structure@JSON public long getGroupId()
DDMStructureModel
getGroupId in interface GroupedModelgetGroupId in interface DDMStructureModelpublic void setGroupId(long groupId)
DDMStructureModel
setGroupId in interface GroupedModelsetGroupId in interface DDMStructureModelgroupId - the group ID of this d d m structurepublic long getOriginalGroupId()
@JSON public long getCompanyId()
DDMStructureModel
getCompanyId in interface AuditedModelgetCompanyId in interface DDMStructureModelpublic void setCompanyId(long companyId)
DDMStructureModel
setCompanyId in interface AuditedModelsetCompanyId in interface DDMStructureModelcompanyId - the company ID of this d d m structure@JSON public long getUserId()
DDMStructureModel
getUserId in interface AuditedModelgetUserId in interface DDMStructureModelpublic void setUserId(long userId)
DDMStructureModel
setUserId in interface AuditedModelsetUserId in interface DDMStructureModeluserId - the user ID of this d d m structure
public String getUserUuid()
throws SystemException
DDMStructureModel
getUserUuid in interface AuditedModelgetUserUuid in interface DDMStructureModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
DDMStructureModel
setUserUuid in interface AuditedModelsetUserUuid in interface DDMStructureModeluserUuid - the user uuid of this d d m structure@JSON public String getUserName()
DDMStructureModel
getUserName in interface AuditedModelgetUserName in interface DDMStructureModelpublic void setUserName(String userName)
DDMStructureModel
setUserName in interface AuditedModelsetUserName in interface DDMStructureModeluserName - the user name of this d d m structure@JSON public Date getCreateDate()
DDMStructureModel
getCreateDate in interface AuditedModelgetCreateDate in interface DDMStructureModelpublic void setCreateDate(Date createDate)
DDMStructureModel
setCreateDate in interface AuditedModelsetCreateDate in interface DDMStructureModelcreateDate - the create date of this d d m structure@JSON public Date getModifiedDate()
DDMStructureModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface DDMStructureModelpublic void setModifiedDate(Date modifiedDate)
DDMStructureModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface DDMStructureModelmodifiedDate - the modified date of this d d m structurepublic String getClassName()
DDMStructureModel
getClassName in interface DDMStructureModel@JSON public long getClassNameId()
DDMStructureModel
getClassNameId in interface DDMStructureModelpublic void setClassNameId(long classNameId)
DDMStructureModel
setClassNameId in interface DDMStructureModelclassNameId - the class name ID of this d d m structurepublic long getOriginalClassNameId()
@JSON public String getStructureKey()
DDMStructureModel
getStructureKey in interface DDMStructureModelpublic void setStructureKey(String structureKey)
DDMStructureModel
setStructureKey in interface DDMStructureModelstructureKey - the structure key of this d d m structurepublic String getOriginalStructureKey()
@JSON public String getName()
DDMStructureModel
getName in interface DDMStructureModelpublic String getName(Locale locale)
DDMStructureModel
getName in interface DDMStructureModellocale - the locale of the language
public String getName(Locale locale,
boolean useDefault)
DDMStructureModel
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)
DDMStructureModel
getName in interface DDMStructureModellanguageId - the ID of the language
public String getName(String languageId,
boolean useDefault)
DDMStructureModel
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 DDMStructureModel@JSON public String getNameCurrentValue()
getNameCurrentValue in interface DDMStructureModelpublic Map<Locale,String> getNameMap()
DDMStructureModel
getNameMap in interface DDMStructureModelpublic void setName(String name)
DDMStructureModel
setName in interface DDMStructureModelname - the name of this d d m structure
public void setName(String name,
Locale locale)
DDMStructureModel
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)
DDMStructureModel
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)
DDMStructureModel
setNameMap in interface DDMStructureModelnameMap - the locales and localized names of this d d m structure
public void setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
DDMStructureModel
setNameMap in interface DDMStructureModelnameMap - the locales and localized names of this d d m structuredefaultLocale - the default localepublic String getOriginalName()
@JSON public String getDescription()
DDMStructureModel
getDescription in interface DDMStructureModelpublic String getDescription(Locale locale)
DDMStructureModel
getDescription in interface DDMStructureModellocale - the locale of the language
public String getDescription(Locale locale,
boolean useDefault)
DDMStructureModel
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)
DDMStructureModel
getDescription in interface DDMStructureModellanguageId - the ID of the language
public String getDescription(String languageId,
boolean useDefault)
DDMStructureModel
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 DDMStructureModel@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface DDMStructureModelpublic Map<Locale,String> getDescriptionMap()
DDMStructureModel
getDescriptionMap in interface DDMStructureModelpublic void setDescription(String description)
DDMStructureModel
setDescription in interface DDMStructureModeldescription - the description of this d d m structure
public void setDescription(String description,
Locale locale)
DDMStructureModel
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)
DDMStructureModel
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)
DDMStructureModel
setDescriptionMap in interface DDMStructureModeldescriptionMap - the locales and localized descriptions of this d d m structure
public void setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
DDMStructureModel
setDescriptionMap in interface DDMStructureModeldescriptionMap - the locales and localized descriptions of this d d m structuredefaultLocale - the default localepublic String getOriginalDescription()
@JSON public String getXsd()
DDMStructureModel
getXsd in interface DDMStructureModelpublic void setXsd(String xsd)
DDMStructureModel
setXsd in interface DDMStructureModelxsd - the xsd of this d d m structure@JSON public String getStorageType()
DDMStructureModel
getStorageType in interface DDMStructureModelpublic void setStorageType(String storageType)
DDMStructureModel
setStorageType in interface DDMStructureModelstorageType - the storage type of this d d m structure@JSON public int getType()
DDMStructureModel
getType in interface DDMStructureModelpublic void setType(int type)
DDMStructureModel
setType in interface DDMStructureModeltype - the type of this d d m structurepublic Document getDocument()
public void setDocument(Document document)
public Map<String,Map<String,String>> getFieldsMap()
public void setFieldsMap(Map<String,Map<String,String>> fieldsMap)
public long getColumnBitmask()
public DDMStructure toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDMStructure>toEscapedModel in interface DDMStructureModeltoEscapedModel in class BaseModelImpl<DDMStructure>AutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDMStructure>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDMStructureModelgetExpandoBridge in class BaseModelImpl<DDMStructure>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDMStructure>setExpandoBridgeAttributes in interface DDMStructureModelsetExpandoBridgeAttributes in class BaseModelImpl<DDMStructure>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DDMStructure>clone in interface DDMStructureModelclone in class BaseModelImpl<DDMStructure>public int compareTo(DDMStructure ddmStructure)
compareTo in interface DDMStructureModelcompareTo in interface Comparable<DDMStructure>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DDMStructureModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDMStructure>resetOriginalValues in class BaseModelImpl<DDMStructure>public CacheModel<DDMStructure> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDMStructure>toCacheModel in interface DDMStructureModeltoCacheModel in class BaseModelImpl<DDMStructure>public String toString()
toString in interface DDMStructureModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDMStructure>toXmlString in interface DDMStructureModel
|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||