|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<DDLRecord> com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordModelImpl
@JSON(strict=true) 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 FormField 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()
|
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 long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long RECORDSETID_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static 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 DDLRecordModel
public void setPrimaryKey(long primaryKey)
DDLRecordModel
setPrimaryKey
in interface DDLRecordModel
primaryKey
- the primary key of this d d l recordpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DDLRecord>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DDLRecordModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DDLRecord>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DDLRecordModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 StagedModel
getUuid
in interface DDLRecordModel
public void setUuid(String uuid)
DDLRecordModel
setUuid
in interface StagedModel
setUuid
in interface DDLRecordModel
uuid
- the uuid of this d d l recordpublic String getOriginalUuid()
@JSON public long getRecordId()
DDLRecordModel
getRecordId
in interface DDLRecordModel
public void setRecordId(long recordId)
DDLRecordModel
setRecordId
in interface DDLRecordModel
recordId
- the record ID of this d d l record@JSON public long getGroupId()
DDLRecordModel
getGroupId
in interface GroupedModel
getGroupId
in interface DDLRecordModel
public void setGroupId(long groupId)
DDLRecordModel
setGroupId
in interface GroupedModel
setGroupId
in interface DDLRecordModel
groupId
- the group ID of this d d l recordpublic long getOriginalGroupId()
@JSON public long getCompanyId()
DDLRecordModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface StagedModel
getCompanyId
in interface DDLRecordModel
public void setCompanyId(long companyId)
DDLRecordModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface StagedModel
setCompanyId
in interface DDLRecordModel
companyId
- the company ID of this d d l recordpublic long getOriginalCompanyId()
@JSON public long getUserId()
DDLRecordModel
getUserId
in interface AuditedModel
getUserId
in interface DDLRecordModel
public void setUserId(long userId)
DDLRecordModel
setUserId
in interface AuditedModel
setUserId
in interface DDLRecordModel
userId
- the user ID of this d d l recordpublic String getUserUuid() throws SystemException
DDLRecordModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface DDLRecordModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DDLRecordModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface DDLRecordModel
userUuid
- the user uuid of this d d l recordpublic long getOriginalUserId()
@JSON public String getUserName()
DDLRecordModel
getUserName
in interface AuditedModel
getUserName
in interface DDLRecordModel
public void setUserName(String userName)
DDLRecordModel
setUserName
in interface AuditedModel
setUserName
in interface DDLRecordModel
userName
- the user name of this d d l record@JSON public long getVersionUserId()
DDLRecordModel
getVersionUserId
in interface DDLRecordModel
public void setVersionUserId(long versionUserId)
DDLRecordModel
setVersionUserId
in interface DDLRecordModel
versionUserId
- the version user ID of this d d l recordpublic String getVersionUserUuid() throws SystemException
DDLRecordModel
getVersionUserUuid
in interface DDLRecordModel
SystemException
- if a system exception occurredpublic void setVersionUserUuid(String versionUserUuid)
DDLRecordModel
setVersionUserUuid
in interface DDLRecordModel
versionUserUuid
- the version user uuid of this d d l record@JSON public String getVersionUserName()
DDLRecordModel
getVersionUserName
in interface DDLRecordModel
public void setVersionUserName(String versionUserName)
DDLRecordModel
setVersionUserName
in interface DDLRecordModel
versionUserName
- the version user name of this d d l record@JSON public Date getCreateDate()
DDLRecordModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
getCreateDate
in interface DDLRecordModel
public void setCreateDate(Date createDate)
DDLRecordModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
setCreateDate
in interface DDLRecordModel
createDate
- the create date of this d d l record@JSON public Date getModifiedDate()
DDLRecordModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
getModifiedDate
in interface DDLRecordModel
public void setModifiedDate(Date modifiedDate)
DDLRecordModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
setModifiedDate
in interface DDLRecordModel
modifiedDate
- the modified date of this d d l record@JSON public long getDDMStorageId()
DDLRecordModel
getDDMStorageId
in interface DDLRecordModel
public void setDDMStorageId(long DDMStorageId)
DDLRecordModel
setDDMStorageId
in interface DDLRecordModel
DDMStorageId
- the d d m storage ID of this d d l record@JSON public long getRecordSetId()
DDLRecordModel
getRecordSetId
in interface DDLRecordModel
public void setRecordSetId(long recordSetId)
DDLRecordModel
setRecordSetId
in interface DDLRecordModel
recordSetId
- the record set ID of this d d l recordpublic long getOriginalRecordSetId()
@JSON public String getVersion()
DDLRecordModel
getVersion
in interface DDLRecordModel
public void setVersion(String version)
DDLRecordModel
setVersion
in interface DDLRecordModel
version
- the version of this d d l record@JSON public int getDisplayIndex()
DDLRecordModel
getDisplayIndex
in interface DDLRecordModel
public void setDisplayIndex(int displayIndex)
DDLRecordModel
setDisplayIndex
in interface DDLRecordModel
displayIndex
- the display index of this d d l recordpublic StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DDLRecord>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DDLRecordModel
getExpandoBridge
in class BaseModelImpl<DDLRecord>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DDLRecord>
setExpandoBridgeAttributes
in interface DDLRecordModel
setExpandoBridgeAttributes
in class BaseModelImpl<DDLRecord>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public DDLRecord toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DDLRecord>
toEscapedModel
in interface DDLRecordModel
toEscapedModel
in class BaseModelImpl<DDLRecord>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<DDLRecord>
clone
in interface StagedModel
clone
in interface DDLRecordModel
clone
in class BaseModelImpl<DDLRecord>
public int compareTo(DDLRecord ddlRecord)
compareTo
in interface DDLRecordModel
compareTo
in interface Comparable<DDLRecord>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface DDLRecordModel
hashCode
in class Object
public 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 DDLRecordModel
toCacheModel
in class BaseModelImpl<DDLRecord>
public String toString()
toString
in interface DDLRecordModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DDLRecord>
toXmlString
in interface DDLRecordModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |