|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.dynamicdatalists.model.DDLRecordWrapper
@ProviderType public class DDLRecordWrapper
This class is a wrapper for DDLRecord.
DDLRecord,
Serialized Form| Constructor 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)
|
Serializable |
getFieldValue(String fieldName,
Locale locale)
|
List<Serializable> |
getFieldValues(String fieldName,
Locale locale)
|
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)
|
StagedModelType |
getStagedModelType()
|
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. As of 6.1.0, replaced by 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(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 DDLRecordModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDLRecordModelprimaryKey - the primary key of this d d l recordpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface DDLRecordModelpublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface DDLRecordModeluuid - the uuid of this d d l recordpublic long getRecordId()
getRecordId in interface DDLRecordModelpublic void setRecordId(long recordId)
setRecordId in interface DDLRecordModelrecordId - the record ID of this d d l recordpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface DDLRecordModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface DDLRecordModelgroupId - the group ID of this d d l recordpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface DDLRecordModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface DDLRecordModelcompanyId - the company ID of this d d l recordpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface DDLRecordModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface DDLRecordModeluserId - the user ID of this d d l record
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface DDLRecordModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface DDLRecordModeluserUuid - the user uuid of this d d l recordpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface DDLRecordModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface DDLRecordModeluserName - the user name of this d d l recordpublic long getVersionUserId()
getVersionUserId in interface DDLRecordModelpublic void setVersionUserId(long versionUserId)
setVersionUserId in interface DDLRecordModelversionUserId - the version user ID of this d d l record
public String getVersionUserUuid()
throws SystemException
getVersionUserUuid in interface DDLRecordModelSystemException - if a system exception occurredpublic void setVersionUserUuid(String versionUserUuid)
setVersionUserUuid in interface DDLRecordModelversionUserUuid - the version user uuid of this d d l recordpublic String getVersionUserName()
getVersionUserName in interface DDLRecordModelpublic void setVersionUserName(String versionUserName)
setVersionUserName in interface DDLRecordModelversionUserName - the version user name of this d d l recordpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface DDLRecordModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface DDLRecordModelcreateDate - the create date of this d d l recordpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface DDLRecordModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface DDLRecordModelmodifiedDate - the modified date of this d d l recordpublic long getDDMStorageId()
getDDMStorageId in interface DDLRecordModelpublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId in interface DDLRecordModelDDMStorageId - the d d m storage ID of this d d l recordpublic long getRecordSetId()
getRecordSetId in interface DDLRecordModelpublic void setRecordSetId(long recordSetId)
setRecordSetId in interface DDLRecordModelrecordSetId - the record set ID of this d d l recordpublic String getVersion()
getVersion in interface DDLRecordModelpublic void setVersion(String version)
setVersion in interface DDLRecordModelversion - the version of this d d l recordpublic int getDisplayIndex()
getDisplayIndex in interface DDLRecordModelpublic void setDisplayIndex(int displayIndex)
setDisplayIndex in interface DDLRecordModeldisplayIndex - the display index of this d d l recordpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DDLRecord>isNew in interface DDLRecordModeltrue 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 DDLRecordModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DDLRecord>isCachedModel in interface DDLRecordModeltrue 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 DDLRecordModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DDLRecord>isEscapedModel in interface DDLRecordModeltrue if this model instance is escaped;
false otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDLRecord>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDLRecordModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DDLRecord>setExpandoBridgeAttributes in interface DDLRecordModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DDLRecord>setExpandoBridgeAttributes in interface DDLRecordModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDLRecord>setExpandoBridgeAttributes in interface DDLRecordModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<DDLRecord>clone in interface StagedModelclone in interface DDLRecordModelclone in class Objectpublic int compareTo(DDLRecord ddlRecord)
compareTo in interface DDLRecordModelcompareTo in interface Comparable<DDLRecord>public int hashCode()
hashCode in interface DDLRecordModelhashCode in class Objectpublic CacheModel<DDLRecord> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDLRecord>toCacheModel in interface DDLRecordModelpublic DDLRecord toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDLRecord>toEscapedModel in interface DDLRecordModelAutoEscapeBeanHandlerpublic DDLRecord toUnescapedModel()
toUnescapedModel in interface BaseModel<DDLRecord>toUnescapedModel in interface DDLRecordModelpublic String toString()
toString in interface DDLRecordModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDLRecord>toXmlString in interface DDLRecordModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public Field getField(String fieldName)
throws PortalException
getField in interface DDLRecordPortalException
public Serializable getFieldDataType(String fieldName)
throws PortalException,
SystemException
getFieldDataType in interface DDLRecordPortalException
SystemException
public Fields getFields()
throws PortalException
getFields in interface DDLRecordPortalException
public Serializable getFieldType(String fieldName)
throws Exception
getFieldType in interface DDLRecordException
public Serializable getFieldValue(String fieldName)
throws PortalException
getFieldValue in interface DDLRecordPortalException
public Serializable getFieldValue(String fieldName,
Locale locale)
throws PortalException
getFieldValue in interface DDLRecordPortalException
public List<Serializable> getFieldValues(String fieldName,
Locale locale)
throws PortalException
getFieldValues in interface DDLRecordPortalException
public DDLRecordVersion getLatestRecordVersion()
throws PortalException,
SystemException
getLatestRecordVersion in interface DDLRecordPortalException
SystemException
public DDLRecordSet getRecordSet()
throws PortalException,
SystemException
getRecordSet in interface DDLRecordPortalException
SystemException
public DDLRecordVersion getRecordVersion()
throws PortalException,
SystemException
getRecordVersion in interface DDLRecordPortalException
SystemException
public DDLRecordVersion getRecordVersion(String version)
throws PortalException,
SystemException
getRecordVersion in interface DDLRecordPortalException
SystemException
public int getStatus()
throws PortalException,
SystemException
getStatus in interface DDLRecordPortalException
SystemExceptionpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic DDLRecord getWrappedDDLRecord()
getWrappedModel()
public DDLRecord getWrappedModel()
getWrappedModel in interface ModelWrapper<DDLRecord>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDLRecord>
|
Liferay 6.2-ce-ga2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||