|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.dynamicdatalists.model.DDLRecordWrapper
public class DDLRecordWrapper
This class is a wrapper for DDLRecord
.
DDLRecord
,
Serialized FormConstructor Summary | |
---|---|
DDLRecordWrapper(DDLRecord ddlRecord)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDLRecord ddlRecord)
|
boolean |
equals(Object obj)
|
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. |
Field |
getField(String fieldName)
|
Serializable |
getFieldDataType(String fieldName)
|
Fields |
getFields()
|
Serializable |
getFieldType(String fieldName)
|
Serializable |
getFieldValue(String fieldName)
|
long |
getGroupId()
Returns the group ID of this d d l record. |
DDLRecordVersion |
getLatestRecordVersion()
|
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this d d l record. |
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. |
DDLRecordSet |
getRecordSet()
|
long |
getRecordSetId()
Returns the record set ID of this d d l record. |
DDLRecordVersion |
getRecordVersion()
|
DDLRecordVersion |
getRecordVersion(String version)
|
int |
getStatus()
|
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. |
DDLRecord |
getWrappedDDLRecord()
Deprecated. Renamed to getWrappedModel() |
DDLRecord |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 . |
String |
toString()
|
DDLRecord |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DDLRecordWrapper(DDLRecord ddlRecord)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DDLRecord>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DDLRecord>
public long getPrimaryKey()
getPrimaryKey
in interface DDLRecordModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDLRecordModel
primaryKey
- the primary key of this d d l recordpublic String getUuid()
getUuid
in interface DDLRecordModel
public void setUuid(String uuid)
setUuid
in interface DDLRecordModel
uuid
- the uuid of this d d l recordpublic long getRecordId()
getRecordId
in interface DDLRecordModel
public void setRecordId(long recordId)
setRecordId
in interface DDLRecordModel
recordId
- the record ID of this d d l recordpublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface DDLRecordModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface DDLRecordModel
groupId
- the group ID of this d d l recordpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface DDLRecordModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface DDLRecordModel
companyId
- the company ID of this d d l recordpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface DDLRecordModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface DDLRecordModel
userId
- the user ID of this d d l recordpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface DDLRecordModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface DDLRecordModel
userUuid
- the user uuid of this d d l recordpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface DDLRecordModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface DDLRecordModel
userName
- the user name of this d d l recordpublic long getVersionUserId()
getVersionUserId
in interface DDLRecordModel
public void setVersionUserId(long versionUserId)
setVersionUserId
in interface DDLRecordModel
versionUserId
- the version user ID of this d d l recordpublic String getVersionUserUuid() throws SystemException
getVersionUserUuid
in interface DDLRecordModel
SystemException
- if a system exception occurredpublic void setVersionUserUuid(String versionUserUuid)
setVersionUserUuid
in interface DDLRecordModel
versionUserUuid
- the version user uuid of this d d l recordpublic String getVersionUserName()
getVersionUserName
in interface DDLRecordModel
public void setVersionUserName(String versionUserName)
setVersionUserName
in interface DDLRecordModel
versionUserName
- the version user name of this d d l recordpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface DDLRecordModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface DDLRecordModel
createDate
- the create date of this d d l recordpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface DDLRecordModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface DDLRecordModel
modifiedDate
- the modified date of this d d l recordpublic long getDDMStorageId()
getDDMStorageId
in interface DDLRecordModel
public void setDDMStorageId(long DDMStorageId)
setDDMStorageId
in interface DDLRecordModel
DDMStorageId
- the d d m storage ID of this d d l recordpublic long getRecordSetId()
getRecordSetId
in interface DDLRecordModel
public void setRecordSetId(long recordSetId)
setRecordSetId
in interface DDLRecordModel
recordSetId
- the record set ID of this d d l recordpublic String getVersion()
getVersion
in interface DDLRecordModel
public void setVersion(String version)
setVersion
in interface DDLRecordModel
version
- the version of this d d l recordpublic int getDisplayIndex()
getDisplayIndex
in interface DDLRecordModel
public void setDisplayIndex(int displayIndex)
setDisplayIndex
in interface DDLRecordModel
displayIndex
- the display index of this d d l recordpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DDLRecord>
isNew
in interface DDLRecordModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<DDLRecord>
setNew
in interface DDLRecordModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<DDLRecord>
isCachedModel
in interface DDLRecordModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<DDLRecord>
setCachedModel
in interface DDLRecordModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<DDLRecord>
isEscapedModel
in interface DDLRecordModel
true
if this model instance is escaped;
false
otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DDLRecord>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DDLRecordModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DDLRecord>
setExpandoBridgeAttributes
in interface DDLRecordModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DDLRecord>
clone
in interface DDLRecordModel
clone
in class Object
public int compareTo(DDLRecord ddlRecord)
compareTo
in interface DDLRecordModel
compareTo
in interface Comparable<DDLRecord>
public int hashCode()
hashCode
in interface DDLRecordModel
hashCode
in class Object
public CacheModel<DDLRecord> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DDLRecord>
toCacheModel
in interface DDLRecordModel
public DDLRecord toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DDLRecord>
toEscapedModel
in interface DDLRecordModel
AutoEscapeBeanHandler
public DDLRecord toUnescapedModel()
toUnescapedModel
in interface BaseModel<DDLRecord>
toUnescapedModel
in interface DDLRecordModel
public String toString()
toString
in interface DDLRecordModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DDLRecord>
toXmlString
in interface DDLRecordModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic Field getField(String fieldName) throws PortalException
getField
in interface DDLRecord
PortalException
public Serializable getFieldDataType(String fieldName) throws PortalException, SystemException
getFieldDataType
in interface DDLRecord
PortalException
SystemException
public Fields getFields() throws PortalException
getFields
in interface DDLRecord
PortalException
public Serializable getFieldType(String fieldName) throws Exception
getFieldType
in interface DDLRecord
Exception
public Serializable getFieldValue(String fieldName) throws PortalException
getFieldValue
in interface DDLRecord
PortalException
public DDLRecordVersion getLatestRecordVersion() throws PortalException, SystemException
getLatestRecordVersion
in interface DDLRecord
PortalException
SystemException
public DDLRecordSet getRecordSet() throws PortalException, SystemException
getRecordSet
in interface DDLRecord
PortalException
SystemException
public DDLRecordVersion getRecordVersion() throws PortalException, SystemException
getRecordVersion
in interface DDLRecord
PortalException
SystemException
public DDLRecordVersion getRecordVersion(String version) throws PortalException, SystemException
getRecordVersion
in interface DDLRecord
PortalException
SystemException
public int getStatus() throws PortalException, SystemException
getStatus
in interface DDLRecord
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public DDLRecord getWrappedDDLRecord()
getWrappedModel()
public DDLRecord getWrappedModel()
getWrappedModel
in interface ModelWrapper<DDLRecord>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DDLRecord>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |