|
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.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. |
List<DDMFormFieldValue> |
getDDMFormFieldValues(String fieldName)
|
DDMFormValues |
getDDMFormValues()
|
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. |
Serializable |
getFieldDataType(String fieldName)
|
Serializable |
getFieldType(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)
|
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 |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 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 long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface StagedModelgetCompanyId in interface DDLRecordModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelgetCreateDate in interface DDLRecordModel
public List<DDMFormFieldValue> getDDMFormFieldValues(String fieldName)
throws PortalException
getDDMFormFieldValues in interface DDLRecordPortalException
public DDMFormValues getDDMFormValues()
throws PortalException
getDDMFormValues in interface DDLRecordPortalExceptionpublic long getDDMStorageId()
getDDMStorageId in interface DDLRecordModelpublic int getDisplayIndex()
getDisplayIndex in interface DDLRecordModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDLRecord>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDLRecordModel
public Serializable getFieldDataType(String fieldName)
throws PortalException
getFieldDataType in interface DDLRecordPortalException
public Serializable getFieldType(String fieldName)
throws Exception
getFieldType in interface DDLRecordExceptionpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface DDLRecordModel
public DDLRecordVersion getLatestRecordVersion()
throws PortalException
getLatestRecordVersion in interface DDLRecordPortalExceptionpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelgetModifiedDate in interface DDLRecordModelpublic long getPrimaryKey()
getPrimaryKey in interface DDLRecordModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDLRecord>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDLRecordModelpublic long getRecordId()
getRecordId in interface DDLRecordModel
public DDLRecordSet getRecordSet()
throws PortalException
getRecordSet in interface DDLRecordPortalExceptionpublic long getRecordSetId()
getRecordSetId in interface DDLRecordModel
public DDLRecordVersion getRecordVersion()
throws PortalException
getRecordVersion in interface DDLRecordPortalException
public DDLRecordVersion getRecordVersion(String version)
throws PortalException
getRecordVersion in interface DDLRecordPortalException
public int getStatus()
throws PortalException
getStatus in interface DDLRecordPortalExceptionpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface DDLRecordModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface DDLRecordModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface DDLRecordModelpublic String getUuid()
getUuid in interface StagedModelgetUuid in interface DDLRecordModelpublic String getVersion()
getVersion in interface DDLRecordModelpublic long getVersionUserId()
getVersionUserId in interface DDLRecordModelpublic String getVersionUserName()
getVersionUserName in interface DDLRecordModelpublic String getVersionUserUuid()
getVersionUserUuid in interface DDLRecordModelpublic int hashCode()
hashCode in interface DDLRecordModelhashCode in class Objectpublic 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 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 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 persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DDLRecord>setCachedModel in interface DDLRecordModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface StagedModelsetCompanyId in interface DDLRecordModelcompanyId - the company ID of this d d l recordpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelsetCreateDate in interface DDLRecordModelcreateDate - the create date of this d d l recordpublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId in interface DDLRecordModelDDMStorageId - the d d m storage ID of this d d l recordpublic void setDisplayIndex(int displayIndex)
setDisplayIndex in interface DDLRecordModeldisplayIndex - the display index of this d d l recordpublic 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 void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface DDLRecordModelgroupId - the group ID of this d d l recordpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelsetModifiedDate in interface DDLRecordModelmodifiedDate - the modified date of this d d l recordpublic 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 void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDLRecordModelprimaryKey - the primary key of this d d l recordpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDLRecord>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDLRecordModelprimaryKeyObj - the primary key of this model instancepublic void setRecordId(long recordId)
setRecordId in interface DDLRecordModelrecordId - the record ID of this d d l recordpublic void setRecordSetId(long recordSetId)
setRecordSetId in interface DDLRecordModelrecordSetId - the record set ID of this d d l recordpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface DDLRecordModeluserId - the user ID of this d d l recordpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface DDLRecordModeluserName - the user name of this d d l recordpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface DDLRecordModeluserUuid - the user uuid of this d d l recordpublic void setUuid(String uuid)
setUuid in interface StagedModelsetUuid in interface DDLRecordModeluuid - the uuid of this d d l recordpublic void setVersion(String version)
setVersion in interface DDLRecordModelversion - the version of this d d l recordpublic void setVersionUserId(long versionUserId)
setVersionUserId in interface DDLRecordModelversionUserId - the version user ID of this d d l recordpublic void setVersionUserName(String versionUserName)
setVersionUserName in interface DDLRecordModelversionUserName - the version user name of this d d l recordpublic void setVersionUserUuid(String versionUserUuid)
setVersionUserUuid in interface DDLRecordModelversionUserUuid - the version user uuid of this d d l recordpublic 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 String toString()
toString in interface DDLRecordModeltoString in class Objectpublic DDLRecord toUnescapedModel()
toUnescapedModel in interface BaseModel<DDLRecord>toUnescapedModel in interface DDLRecordModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDLRecord>toXmlString in interface DDLRecordModelpublic boolean equals(Object obj)
equals in class Objectpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModel@Deprecated public DDLRecord getWrappedDDLRecord()
getWrappedModel()
public DDLRecord getWrappedModel()
getWrappedModel in interface ModelWrapper<DDLRecord>public 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>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||