|
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.DDLRecordVersionWrapper
public class DDLRecordVersionWrapper
This class is a wrapper for DDLRecordVersion
.
DDLRecordVersion
,
Serialized FormConstructor 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. Renamed to 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. |
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. Renamed to 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 |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isExpired()
Returns true if this d d l record version is expired. |
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 |
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(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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DDLRecordVersion>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DDLRecordVersion>
public long getPrimaryKey()
getPrimaryKey
in interface DDLRecordVersionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DDLRecordVersionModel
primaryKey
- the primary key of this d d l record versionpublic long getRecordVersionId()
getRecordVersionId
in interface DDLRecordVersionModel
public void setRecordVersionId(long recordVersionId)
setRecordVersionId
in interface DDLRecordVersionModel
recordVersionId
- the record version ID of this d d l record versionpublic long getGroupId()
getGroupId
in interface DDLRecordVersionModel
public void setGroupId(long groupId)
setGroupId
in interface DDLRecordVersionModel
groupId
- the group ID of this d d l record versionpublic long getCompanyId()
getCompanyId
in interface DDLRecordVersionModel
public void setCompanyId(long companyId)
setCompanyId
in interface DDLRecordVersionModel
companyId
- the company ID of this d d l record versionpublic long getUserId()
getUserId
in interface DDLRecordVersionModel
public void setUserId(long userId)
setUserId
in interface DDLRecordVersionModel
userId
- the user ID of this d d l record versionpublic String getUserUuid() throws SystemException
getUserUuid
in interface DDLRecordVersionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface DDLRecordVersionModel
userUuid
- the user uuid of this d d l record versionpublic String getUserName()
getUserName
in interface DDLRecordVersionModel
public void setUserName(String userName)
setUserName
in interface DDLRecordVersionModel
userName
- the user name of this d d l record versionpublic Date getCreateDate()
getCreateDate
in interface DDLRecordVersionModel
public void setCreateDate(Date createDate)
setCreateDate
in interface DDLRecordVersionModel
createDate
- the create date of this d d l record versionpublic long getDDMStorageId()
getDDMStorageId
in interface DDLRecordVersionModel
public void setDDMStorageId(long DDMStorageId)
setDDMStorageId
in interface DDLRecordVersionModel
DDMStorageId
- the d d m storage ID of this d d l record versionpublic long getRecordSetId()
getRecordSetId
in interface DDLRecordVersionModel
public void setRecordSetId(long recordSetId)
setRecordSetId
in interface DDLRecordVersionModel
recordSetId
- the record set ID of this d d l record versionpublic long getRecordId()
getRecordId
in interface DDLRecordVersionModel
public void setRecordId(long recordId)
setRecordId
in interface DDLRecordVersionModel
recordId
- the record ID of this d d l record versionpublic String getVersion()
getVersion
in interface DDLRecordVersionModel
public void setVersion(String version)
setVersion
in interface DDLRecordVersionModel
version
- the version of this d d l record versionpublic int getDisplayIndex()
getDisplayIndex
in interface DDLRecordVersionModel
public void setDisplayIndex(int displayIndex)
setDisplayIndex
in interface DDLRecordVersionModel
displayIndex
- the display index of this d d l record versionpublic int getStatus()
getStatus
in interface WorkflowedModel
getStatus
in interface DDLRecordVersionModel
public void setStatus(int status)
setStatus
in interface WorkflowedModel
setStatus
in interface DDLRecordVersionModel
status
- the status of this d d l record versionpublic long getStatusByUserId()
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface DDLRecordVersionModel
public void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WorkflowedModel
setStatusByUserId
in interface DDLRecordVersionModel
statusByUserId
- the status by user ID of this d d l record versionpublic String getStatusByUserUuid() throws SystemException
getStatusByUserUuid
in interface DDLRecordVersionModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface DDLRecordVersionModel
statusByUserUuid
- the status by user uuid of this d d l record versionpublic String getStatusByUserName()
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface DDLRecordVersionModel
public void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface DDLRecordVersionModel
statusByUserName
- the status by user name of this d d l record versionpublic Date getStatusDate()
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface DDLRecordVersionModel
public void setStatusDate(Date statusDate)
setStatusDate
in interface WorkflowedModel
setStatusDate
in interface DDLRecordVersionModel
statusDate
- the status date of this d d l record versionpublic boolean getApproved()
isApproved()
getApproved
in interface DDLRecordVersionModel
public boolean isApproved()
true
if this d d l record version is approved.
isApproved
in interface WorkflowedModel
isApproved
in interface DDLRecordVersionModel
true
if this d d l record version is approved; false
otherwisepublic boolean isDenied()
true
if this d d l record version is denied.
isDenied
in interface DDLRecordVersionModel
true
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 WorkflowedModel
isDraft
in interface DDLRecordVersionModel
true
if this d d l record version is a draft; false
otherwisepublic boolean isExpired()
true
if this d d l record version is expired.
isExpired
in interface WorkflowedModel
isExpired
in interface DDLRecordVersionModel
true
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 DDLRecordVersionModel
true
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 DDLRecordVersionModel
true
if this d d l record version is incomplete; false
otherwisepublic boolean isPending()
true
if this d d l record version is pending.
isPending
in interface WorkflowedModel
isPending
in interface DDLRecordVersionModel
true
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 DDLRecordVersionModel
true
if this d d l record version is scheduled; false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DDLRecordVersion>
isNew
in interface DDLRecordVersionModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<DDLRecordVersion>
setNew
in interface DDLRecordVersionModel
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<DDLRecordVersion>
isCachedModel
in interface DDLRecordVersionModel
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<DDLRecordVersion>
setCachedModel
in interface DDLRecordVersionModel
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<DDLRecordVersion>
isEscapedModel
in interface DDLRecordVersionModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DDLRecordVersion>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DDLRecordVersionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DDLRecordVersion>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DDLRecordVersionModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DDLRecordVersion>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DDLRecordVersionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DDLRecordVersion>
setExpandoBridgeAttributes
in interface DDLRecordVersionModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DDLRecordVersion>
clone
in interface DDLRecordVersionModel
clone
in class Object
public int compareTo(DDLRecordVersion ddlRecordVersion)
compareTo
in interface DDLRecordVersionModel
compareTo
in interface Comparable<DDLRecordVersion>
public int hashCode()
hashCode
in interface DDLRecordVersionModel
hashCode
in class Object
public CacheModel<DDLRecordVersion> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DDLRecordVersion>
toCacheModel
in interface DDLRecordVersionModel
public DDLRecordVersion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DDLRecordVersion>
toEscapedModel
in interface DDLRecordVersionModel
AutoEscapeBeanHandler
public DDLRecordVersion toUnescapedModel()
toUnescapedModel
in interface BaseModel<DDLRecordVersion>
toUnescapedModel
in interface DDLRecordVersionModel
public String toString()
toString
in interface DDLRecordVersionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DDLRecordVersion>
toXmlString
in interface DDLRecordVersionModel
public DDLRecord getRecord() throws PortalException, SystemException
getRecord
in interface DDLRecordVersion
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public DDLRecordVersion getWrappedDDLRecordVersion()
getWrappedModel()
public DDLRecordVersion getWrappedModel()
getWrappedModel
in interface ModelWrapper<DDLRecordVersion>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DDLRecordVersion>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |