|
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.DDLRecordVersionWrapper
@ProviderType public class DDLRecordVersionWrapper
This class is a wrapper for DDLRecordVersion.
DDLRecordVersion,
Serialized Form| Constructor Summary | |
|---|---|
DDLRecordVersionWrapper(DDLRecordVersion ddlRecordVersion)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDLRecordVersion ddlRecordVersion)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. As of 6.1.0, replaced by isApproved() |
long |
getCompanyId()
Returns the company ID of this d d l record version. |
Date |
getCreateDate()
Returns the create date of this d d l record version. |
long |
getDDMStorageId()
Returns the d d m storage ID of this d d l record version. |
int |
getDisplayIndex()
Returns the display index of this d d l record version. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this d d l record version. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this d d l record version. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
DDLRecord |
getRecord()
|
long |
getRecordId()
Returns the record ID of this d d l record version. |
DDLRecordSet |
getRecordSet()
|
long |
getRecordSetId()
Returns the record set ID of this d d l record version. |
long |
getRecordVersionId()
Returns the record version ID of this d d l record version. |
int |
getStatus()
Returns the status of this d d l record version. |
long |
getStatusByUserId()
Returns the status by user ID of this d d l record version. |
String |
getStatusByUserName()
Returns the status by user name of this d d l record version. |
String |
getStatusByUserUuid()
Returns the status by user uuid of this d d l record version. |
Date |
getStatusDate()
Returns the status date of this d d l record version. |
long |
getUserId()
Returns the user ID of this d d l record version. |
String |
getUserName()
Returns the user name of this d d l record version. |
String |
getUserUuid()
Returns the user uuid of this d d l record version. |
String |
getVersion()
Returns the version of this d d l record version. |
DDLRecordVersion |
getWrappedDDLRecordVersion()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
DDLRecordVersion |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isApproved()
Returns true if this d d l record version is approved. |
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isDenied()
Returns true if this d d l record version is denied. |
boolean |
isDraft()
Returns true if this d d l record version is a draft. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this d d l record version is expired. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isInactive()
Returns true if this d d l record version is inactive. |
boolean |
isIncomplete()
Returns true if this d d l record version is incomplete. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPending()
Returns true if this d d l record version is pending. |
boolean |
isScheduled()
Returns true if this d d l record version is scheduled. |
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 version. |
void |
setCreateDate(Date createDate)
Sets the create date of this d d l record version. |
void |
setDDMStorageId(long DDMStorageId)
Sets the d d m storage ID of this d d l record version. |
void |
setDisplayIndex(int displayIndex)
Sets the display index of this d d l record version. |
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 version. |
void |
setModelAttributes(Map<String,Object> attributes)
|
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 version. |
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 version. |
void |
setRecordSetId(long recordSetId)
Sets the record set ID of this d d l record version. |
void |
setRecordVersionId(long recordVersionId)
Sets the record version ID of this d d l record version. |
void |
setStatus(int status)
Sets the status of this d d l record version. |
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this d d l record version. |
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this d d l record version. |
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this d d l record version. |
void |
setStatusDate(Date statusDate)
Sets the status date of this d d l record version. |
void |
setUserId(long userId)
Sets the user ID of this d d l record version. |
void |
setUserName(String userName)
Sets the user name of this d d l record version. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this d d l record version. |
void |
setVersion(String version)
Sets the version of this d d l record version. |
CacheModel<DDLRecordVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
DDLRecordVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
DDLRecordVersion |
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 DDLRecordVersionWrapper(DDLRecordVersion ddlRecordVersion)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DDLRecordVersion>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DDLRecordVersion>public Object clone()
BaseModel
clone in interface BaseModel<DDLRecordVersion>clone in interface DDLRecordVersionModelclone in class Objectpublic int compareTo(DDLRecordVersion ddlRecordVersion)
compareTo in interface DDLRecordVersionModelcompareTo in interface Comparable<DDLRecordVersion>@Deprecated public boolean getApproved()
isApproved()
getApproved in interface WorkflowedModelgetApproved in interface DDLRecordVersionModelpublic long getCompanyId()
getCompanyId in interface DDLRecordVersionModelpublic Date getCreateDate()
getCreateDate in interface DDLRecordVersionModelpublic long getDDMStorageId()
getDDMStorageId in interface DDLRecordVersionModelpublic int getDisplayIndex()
getDisplayIndex in interface DDLRecordVersionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDLRecordVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDLRecordVersionModelpublic long getGroupId()
getGroupId in interface DDLRecordVersionModelpublic long getPrimaryKey()
getPrimaryKey in interface DDLRecordVersionModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDLRecordVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDLRecordVersionModel
public DDLRecord getRecord()
throws PortalException
getRecord in interface DDLRecordVersionPortalExceptionpublic long getRecordId()
getRecordId in interface DDLRecordVersionModel
public DDLRecordSet getRecordSet()
throws PortalException
getRecordSet in interface DDLRecordVersionPortalExceptionpublic long getRecordSetId()
getRecordSetId in interface DDLRecordVersionModelpublic long getRecordVersionId()
getRecordVersionId in interface DDLRecordVersionModelpublic int getStatus()
getStatus in interface WorkflowedModelgetStatus in interface DDLRecordVersionModelpublic long getStatusByUserId()
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface DDLRecordVersionModelpublic String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface DDLRecordVersionModelpublic String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelgetStatusByUserUuid in interface DDLRecordVersionModelpublic Date getStatusDate()
getStatusDate in interface WorkflowedModelgetStatusDate in interface DDLRecordVersionModelpublic long getUserId()
getUserId in interface DDLRecordVersionModelpublic String getUserName()
getUserName in interface DDLRecordVersionModelpublic String getUserUuid()
getUserUuid in interface DDLRecordVersionModelpublic String getVersion()
getVersion in interface DDLRecordVersionModelpublic int hashCode()
hashCode in interface DDLRecordVersionModelhashCode in class Objectpublic boolean isApproved()
true if this d d l record version is approved.
isApproved in interface WorkflowedModelisApproved in interface DDLRecordVersionModeltrue if this d d l record version is approved; false otherwisepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<DDLRecordVersion>isCachedModel in interface DDLRecordVersionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isDenied()
true if this d d l record version is denied.
isDenied in interface WorkflowedModelisDenied in interface DDLRecordVersionModeltrue if this d d l record version is denied; false otherwisepublic boolean isDraft()
true if this d d l record version is a draft.
isDraft in interface WorkflowedModelisDraft in interface DDLRecordVersionModeltrue if this d d l record version is a draft; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<DDLRecordVersion>isEscapedModel in interface DDLRecordVersionModeltrue if this model instance is escaped;
false otherwisepublic boolean isExpired()
true if this d d l record version is expired.
isExpired in interface WorkflowedModelisExpired in interface DDLRecordVersionModeltrue if this d d l record version is expired; false otherwisepublic boolean isInactive()
true if this d d l record version is inactive.
isInactive in interface WorkflowedModelisInactive in interface DDLRecordVersionModeltrue if this d d l record version is inactive; false otherwisepublic boolean isIncomplete()
true if this d d l record version is incomplete.
isIncomplete in interface WorkflowedModelisIncomplete in interface DDLRecordVersionModeltrue if this d d l record version is incomplete; false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<DDLRecordVersion>isNew in interface DDLRecordVersionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isPending()
true if this d d l record version is pending.
isPending in interface WorkflowedModelisPending in interface DDLRecordVersionModeltrue if this d d l record version is pending; false otherwisepublic boolean isScheduled()
true if this d d l record version is scheduled.
isScheduled in interface WorkflowedModelisScheduled in interface DDLRecordVersionModeltrue if this d d l record version is scheduled; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DDLRecordVersion>setCachedModel in interface DDLRecordVersionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface DDLRecordVersionModelcompanyId - the company ID of this d d l record versionpublic void setCreateDate(Date createDate)
setCreateDate in interface DDLRecordVersionModelcreateDate - the create date of this d d l record versionpublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId in interface DDLRecordVersionModelDDMStorageId - the d d m storage ID of this d d l record versionpublic void setDisplayIndex(int displayIndex)
setDisplayIndex in interface DDLRecordVersionModeldisplayIndex - the display index of this d d l record versionpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DDLRecordVersion>setExpandoBridgeAttributes in interface DDLRecordVersionModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DDLRecordVersion>setExpandoBridgeAttributes in interface DDLRecordVersionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDLRecordVersion>setExpandoBridgeAttributes in interface DDLRecordVersionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setGroupId(long groupId)
setGroupId in interface DDLRecordVersionModelgroupId - the group ID of this d d l record versionpublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<DDLRecordVersion>setNew in interface DDLRecordVersionModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DDLRecordVersionModelprimaryKey - the primary key of this d d l record versionpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDLRecordVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDLRecordVersionModelprimaryKeyObj - the primary key of this model instancepublic void setRecordId(long recordId)
setRecordId in interface DDLRecordVersionModelrecordId - the record ID of this d d l record versionpublic void setRecordSetId(long recordSetId)
setRecordSetId in interface DDLRecordVersionModelrecordSetId - the record set ID of this d d l record versionpublic void setRecordVersionId(long recordVersionId)
setRecordVersionId in interface DDLRecordVersionModelrecordVersionId - the record version ID of this d d l record versionpublic void setStatus(int status)
setStatus in interface WorkflowedModelsetStatus in interface DDLRecordVersionModelstatus - the status of this d d l record versionpublic void setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface DDLRecordVersionModelstatusByUserId - the status by user ID of this d d l record versionpublic void setStatusByUserName(String statusByUserName)
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface DDLRecordVersionModelstatusByUserName - the status by user name of this d d l record versionpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid in interface DDLRecordVersionModelstatusByUserUuid - the status by user uuid of this d d l record versionpublic void setStatusDate(Date statusDate)
setStatusDate in interface WorkflowedModelsetStatusDate in interface DDLRecordVersionModelstatusDate - the status date of this d d l record versionpublic void setUserId(long userId)
setUserId in interface DDLRecordVersionModeluserId - the user ID of this d d l record versionpublic void setUserName(String userName)
setUserName in interface DDLRecordVersionModeluserName - the user name of this d d l record versionpublic void setUserUuid(String userUuid)
setUserUuid in interface DDLRecordVersionModeluserUuid - the user uuid of this d d l record versionpublic void setVersion(String version)
setVersion in interface DDLRecordVersionModelversion - the version of this d d l record versionpublic CacheModel<DDLRecordVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDLRecordVersion>toCacheModel in interface DDLRecordVersionModelpublic DDLRecordVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDLRecordVersion>toEscapedModel in interface DDLRecordVersionModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DDLRecordVersionModeltoString in class Objectpublic DDLRecordVersion toUnescapedModel()
toUnescapedModel in interface BaseModel<DDLRecordVersion>toUnescapedModel in interface DDLRecordVersionModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDLRecordVersion>toXmlString in interface DDLRecordVersionModelpublic boolean equals(Object obj)
equals in class Object@Deprecated public DDLRecordVersion getWrappedDDLRecordVersion()
getWrappedModel()
public DDLRecordVersion getWrappedModel()
getWrappedModel in interface ModelWrapper<DDLRecordVersion>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<DDLRecordVersion>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<DDLRecordVersion>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DDLRecordVersion>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||