|
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<DDLRecord>
com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordModelImpl
@JSON(strict=true) @ProviderType public class DDLRecordModelImpl
The base model implementation for the DDLRecord service. Represents a row in the "DDLRecord" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DDLRecordModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDLRecordImpl.
DDLRecordImpl,
DDLRecord,
DDLRecordModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
RECORDID_COLUMN_BITMASK
|
static long |
RECORDSETID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
USERID_COLUMN_BITMASK
|
static long |
UUID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
DDLRecordModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDLRecord ddlRecord)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this d d l record. |
Date |
getCreateDate()
Returns the create date of this d d l record. |
long |
getDDMStorageId()
Returns the d d m storage ID of this d d l record. |
int |
getDisplayIndex()
Returns the display index of this d d l record. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this d d l record. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this d d l record. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
long |
getOriginalRecordSetId()
|
long |
getOriginalUserId()
|
String |
getOriginalUuid()
|
long |
getPrimaryKey()
Returns the primary key of this d d l record. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRecordId()
Returns the record ID of this d d l record. |
long |
getRecordSetId()
Returns the record set ID of this d d l record. |
StagedModelType |
getStagedModelType()
|
long |
getUserId()
Returns the user ID of this d d l record. |
String |
getUserName()
Returns the user name of this d d l record. |
String |
getUserUuid()
Returns the user uuid of this d d l record. |
String |
getUuid()
Returns the uuid of this d d l record. |
String |
getVersion()
Returns the version of this d d l record. |
long |
getVersionUserId()
Returns the version user ID of this d d l record. |
String |
getVersionUserName()
Returns the version user name of this d d l record. |
String |
getVersionUserUuid()
Returns the version user uuid of this d d l record. |
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 |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this d d l record. |
void |
setCreateDate(Date createDate)
Sets the create date of this d d l record. |
void |
setDDMStorageId(long DDMStorageId)
Sets the d d m storage ID of this d d l record. |
void |
setDisplayIndex(int displayIndex)
Sets the display index of this d d l record. |
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 l record. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this d d l record. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this d d l record. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRecordId(long recordId)
Sets the record ID of this d d l record. |
void |
setRecordSetId(long recordSetId)
Sets the record set ID of this d d l record. |
void |
setUserId(long userId)
Sets the user ID of this d d l record. |
void |
setUserName(String userName)
Sets the user name of this d d l record. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d d l record. |
void |
setUuid(String uuid)
Sets the uuid of this d d l record. |
void |
setVersion(String version)
Sets the version of this d d l record. |
void |
setVersionUserId(long versionUserId)
Sets the version user ID of this d d l record. |
void |
setVersionUserName(String versionUserName)
Sets the version user name of this d d l record. |
void |
setVersionUserUuid(String versionUserUuid)
Sets the version user uuid of this d d l record. |
CacheModel<DDLRecord> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDLRecord |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static DDLRecord |
toModel(DDLRecordSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<DDLRecord> |
toModels(DDLRecordSoap[] 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.dynamicdatalists.model.DDLRecordModel |
|---|
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 COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long RECORDSETID_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long RECORDID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DDLRecordModelImpl()
| Method Detail |
|---|
public static DDLRecord toModel(DDLRecordSoap soapModel)
soapModel - the soap model instance to convert
public static List<DDLRecord> toModels(DDLRecordSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
DDLRecordModel
getPrimaryKey in interface DDLRecordModelpublic void setPrimaryKey(long primaryKey)
DDLRecordModel
setPrimaryKey in interface DDLRecordModelprimaryKey - the primary key of this d d l recordpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDLRecord>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDLRecordModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDLRecord>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDLRecordModelprimaryKeyObj - 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<DDLRecord>getModelAttributes in class BaseModelImpl<DDLRecord>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDLRecord>setModelAttributes in class BaseModelImpl<DDLRecord>@JSON public String getUuid()
DDLRecordModel
getUuid in interface StagedModelgetUuid in interface DDLRecordModelpublic void setUuid(String uuid)
DDLRecordModel
setUuid in interface StagedModelsetUuid in interface DDLRecordModeluuid - the uuid of this d d l recordpublic String getOriginalUuid()
@JSON public long getRecordId()
DDLRecordModel
getRecordId in interface DDLRecordModelpublic void setRecordId(long recordId)
DDLRecordModel
setRecordId in interface DDLRecordModelrecordId - the record ID of this d d l record@JSON public long getGroupId()
DDLRecordModel
getGroupId in interface GroupedModelgetGroupId in interface DDLRecordModelpublic void setGroupId(long groupId)
DDLRecordModel
setGroupId in interface GroupedModelsetGroupId in interface DDLRecordModelgroupId - the group ID of this d d l recordpublic long getOriginalGroupId()
@JSON public long getCompanyId()
DDLRecordModel
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface DDLRecordModelpublic void setCompanyId(long companyId)
DDLRecordModel
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface DDLRecordModelcompanyId - the company ID of this d d l recordpublic long getOriginalCompanyId()
@JSON public long getUserId()
DDLRecordModel
getUserId in interface AuditedModelgetUserId in interface DDLRecordModelpublic void setUserId(long userId)
DDLRecordModel
setUserId in interface AuditedModelsetUserId in interface DDLRecordModeluserId - the user ID of this d d l recordpublic String getUserUuid()
DDLRecordModel
getUserUuid in interface AuditedModelgetUserUuid in interface DDLRecordModelpublic void setUserUuid(String userUuid)
DDLRecordModel
setUserUuid in interface AuditedModelsetUserUuid in interface DDLRecordModeluserUuid - the user uuid of this d d l recordpublic long getOriginalUserId()
@JSON public String getUserName()
DDLRecordModel
getUserName in interface AuditedModelgetUserName in interface DDLRecordModelpublic void setUserName(String userName)
DDLRecordModel
setUserName in interface AuditedModelsetUserName in interface DDLRecordModeluserName - the user name of this d d l record@JSON public long getVersionUserId()
DDLRecordModel
getVersionUserId in interface DDLRecordModelpublic void setVersionUserId(long versionUserId)
DDLRecordModel
setVersionUserId in interface DDLRecordModelversionUserId - the version user ID of this d d l recordpublic String getVersionUserUuid()
DDLRecordModel
getVersionUserUuid in interface DDLRecordModelpublic void setVersionUserUuid(String versionUserUuid)
DDLRecordModel
setVersionUserUuid in interface DDLRecordModelversionUserUuid - the version user uuid of this d d l record@JSON public String getVersionUserName()
DDLRecordModel
getVersionUserName in interface DDLRecordModelpublic void setVersionUserName(String versionUserName)
DDLRecordModel
setVersionUserName in interface DDLRecordModelversionUserName - the version user name of this d d l record@JSON public Date getCreateDate()
DDLRecordModel
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface DDLRecordModelpublic void setCreateDate(Date createDate)
DDLRecordModel
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface DDLRecordModelcreateDate - the create date of this d d l record@JSON public Date getModifiedDate()
DDLRecordModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface DDLRecordModelpublic void setModifiedDate(Date modifiedDate)
DDLRecordModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface DDLRecordModelmodifiedDate - the modified date of this d d l record@JSON public long getDDMStorageId()
DDLRecordModel
getDDMStorageId in interface DDLRecordModelpublic void setDDMStorageId(long DDMStorageId)
DDLRecordModel
setDDMStorageId in interface DDLRecordModelDDMStorageId - the d d m storage ID of this d d l record@JSON public long getRecordSetId()
DDLRecordModel
getRecordSetId in interface DDLRecordModelpublic void setRecordSetId(long recordSetId)
DDLRecordModel
setRecordSetId in interface DDLRecordModelrecordSetId - the record set ID of this d d l recordpublic long getOriginalRecordSetId()
@JSON public String getVersion()
DDLRecordModel
getVersion in interface DDLRecordModelpublic void setVersion(String version)
DDLRecordModel
setVersion in interface DDLRecordModelversion - the version of this d d l record@JSON public int getDisplayIndex()
DDLRecordModel
getDisplayIndex in interface DDLRecordModelpublic void setDisplayIndex(int displayIndex)
DDLRecordModel
setDisplayIndex in interface DDLRecordModeldisplayIndex - the display index of this d d l recordpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDLRecord>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDLRecordModelgetExpandoBridge in class BaseModelImpl<DDLRecord>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDLRecord>setExpandoBridgeAttributes in interface DDLRecordModelsetExpandoBridgeAttributes in class BaseModelImpl<DDLRecord>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public DDLRecord toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDLRecord>toEscapedModel in interface DDLRecordModeltoEscapedModel in class BaseModelImpl<DDLRecord>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<DDLRecord>clone in interface StagedModelclone in interface DDLRecordModelclone in class BaseModelImpl<DDLRecord>public int compareTo(DDLRecord ddlRecord)
compareTo in interface DDLRecordModelcompareTo in interface Comparable<DDLRecord>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DDLRecordModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DDLRecord>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<DDLRecord>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDLRecord>resetOriginalValues in class BaseModelImpl<DDLRecord>public CacheModel<DDLRecord> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDLRecord>toCacheModel in interface DDLRecordModeltoCacheModel in class BaseModelImpl<DDLRecord>public String toString()
toString in interface DDLRecordModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDLRecord>toXmlString in interface DDLRecordModel
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||