Liferay 6.2-ce-ga5

com.liferay.portlet.dynamicdatalists.model
Class DDLRecordVersionWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatalists.model.DDLRecordVersionWrapper
All Implemented Interfaces:
BaseModel<DDLRecordVersion>, ClassedModel, ModelWrapper<DDLRecordVersion>, WorkflowedModel, DDLRecordVersion, DDLRecordVersionModel, Serializable, Cloneable, Comparable<DDLRecordVersion>

@ProviderType
public class DDLRecordVersionWrapper
extends Object
implements DDLRecordVersion, ModelWrapper<DDLRecordVersion>

This class is a wrapper for DDLRecordVersion.

See Also:
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 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(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

DDLRecordVersionWrapper

public DDLRecordVersionWrapper(DDLRecordVersion ddlRecordVersion)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<DDLRecordVersion>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DDLRecordVersion>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this d d l record version.

Specified by:
getPrimaryKey in interface DDLRecordVersionModel
Returns:
the primary key of this d d l record version

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this d d l record version.

Specified by:
setPrimaryKey in interface DDLRecordVersionModel
Parameters:
primaryKey - the primary key of this d d l record version

getRecordVersionId

public long getRecordVersionId()
Returns the record version ID of this d d l record version.

Specified by:
getRecordVersionId in interface DDLRecordVersionModel
Returns:
the record version ID of this d d l record version

setRecordVersionId

public void setRecordVersionId(long recordVersionId)
Sets the record version ID of this d d l record version.

Specified by:
setRecordVersionId in interface DDLRecordVersionModel
Parameters:
recordVersionId - the record version ID of this d d l record version

getGroupId

public long getGroupId()
Returns the group ID of this d d l record version.

Specified by:
getGroupId in interface DDLRecordVersionModel
Returns:
the group ID of this d d l record version

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this d d l record version.

Specified by:
setGroupId in interface DDLRecordVersionModel
Parameters:
groupId - the group ID of this d d l record version

getCompanyId

public long getCompanyId()
Returns the company ID of this d d l record version.

Specified by:
getCompanyId in interface DDLRecordVersionModel
Returns:
the company ID of this d d l record version

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this d d l record version.

Specified by:
setCompanyId in interface DDLRecordVersionModel
Parameters:
companyId - the company ID of this d d l record version

getUserId

public long getUserId()
Returns the user ID of this d d l record version.

Specified by:
getUserId in interface DDLRecordVersionModel
Returns:
the user ID of this d d l record version

setUserId

public void setUserId(long userId)
Sets the user ID of this d d l record version.

Specified by:
setUserId in interface DDLRecordVersionModel
Parameters:
userId - the user ID of this d d l record version

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this d d l record version.

Specified by:
getUserUuid in interface DDLRecordVersionModel
Returns:
the user uuid of this d d l record version
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Sets the user uuid of this d d l record version.

Specified by:
setUserUuid in interface DDLRecordVersionModel
Parameters:
userUuid - the user uuid of this d d l record version

getUserName

public String getUserName()
Returns the user name of this d d l record version.

Specified by:
getUserName in interface DDLRecordVersionModel
Returns:
the user name of this d d l record version

setUserName

public void setUserName(String userName)
Sets the user name of this d d l record version.

Specified by:
setUserName in interface DDLRecordVersionModel
Parameters:
userName - the user name of this d d l record version

getCreateDate

public Date getCreateDate()
Returns the create date of this d d l record version.

Specified by:
getCreateDate in interface DDLRecordVersionModel
Returns:
the create date of this d d l record version

setCreateDate

public void setCreateDate(Date createDate)
Sets the create date of this d d l record version.

Specified by:
setCreateDate in interface DDLRecordVersionModel
Parameters:
createDate - the create date of this d d l record version

getDDMStorageId

public long getDDMStorageId()
Returns the d d m storage ID of this d d l record version.

Specified by:
getDDMStorageId in interface DDLRecordVersionModel
Returns:
the d d m storage ID of this d d l record version

setDDMStorageId

public void setDDMStorageId(long DDMStorageId)
Sets the d d m storage ID of this d d l record version.

Specified by:
setDDMStorageId in interface DDLRecordVersionModel
Parameters:
DDMStorageId - the d d m storage ID of this d d l record version

getRecordSetId

public long getRecordSetId()
Returns the record set ID of this d d l record version.

Specified by:
getRecordSetId in interface DDLRecordVersionModel
Returns:
the record set ID of this d d l record version

setRecordSetId

public void setRecordSetId(long recordSetId)
Sets the record set ID of this d d l record version.

Specified by:
setRecordSetId in interface DDLRecordVersionModel
Parameters:
recordSetId - the record set ID of this d d l record version

getRecordId

public long getRecordId()
Returns the record ID of this d d l record version.

Specified by:
getRecordId in interface DDLRecordVersionModel
Returns:
the record ID of this d d l record version

setRecordId

public void setRecordId(long recordId)
Sets the record ID of this d d l record version.

Specified by:
setRecordId in interface DDLRecordVersionModel
Parameters:
recordId - the record ID of this d d l record version

getVersion

public String getVersion()
Returns the version of this d d l record version.

Specified by:
getVersion in interface DDLRecordVersionModel
Returns:
the version of this d d l record version

setVersion

public void setVersion(String version)
Sets the version of this d d l record version.

Specified by:
setVersion in interface DDLRecordVersionModel
Parameters:
version - the version of this d d l record version

getDisplayIndex

public int getDisplayIndex()
Returns the display index of this d d l record version.

Specified by:
getDisplayIndex in interface DDLRecordVersionModel
Returns:
the display index of this d d l record version

setDisplayIndex

public void setDisplayIndex(int displayIndex)
Sets the display index of this d d l record version.

Specified by:
setDisplayIndex in interface DDLRecordVersionModel
Parameters:
displayIndex - the display index of this d d l record version

getStatus

public int getStatus()
Returns the status of this d d l record version.

Specified by:
getStatus in interface WorkflowedModel
Specified by:
getStatus in interface DDLRecordVersionModel
Returns:
the status of this d d l record version

setStatus

public void setStatus(int status)
Sets the status of this d d l record version.

Specified by:
setStatus in interface WorkflowedModel
Specified by:
setStatus in interface DDLRecordVersionModel
Parameters:
status - the status of this d d l record version

getStatusByUserId

public long getStatusByUserId()
Returns the status by user ID of this d d l record version.

Specified by:
getStatusByUserId in interface WorkflowedModel
Specified by:
getStatusByUserId in interface DDLRecordVersionModel
Returns:
the status by user ID of this d d l record version

setStatusByUserId

public void setStatusByUserId(long statusByUserId)
Sets the status by user ID of this d d l record version.

Specified by:
setStatusByUserId in interface WorkflowedModel
Specified by:
setStatusByUserId in interface DDLRecordVersionModel
Parameters:
statusByUserId - the status by user ID of this d d l record version

getStatusByUserUuid

public String getStatusByUserUuid()
                           throws SystemException
Returns the status by user uuid of this d d l record version.

Specified by:
getStatusByUserUuid in interface WorkflowedModel
Specified by:
getStatusByUserUuid in interface DDLRecordVersionModel
Returns:
the status by user uuid of this d d l record version
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

public void setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this d d l record version.

Specified by:
setStatusByUserUuid in interface WorkflowedModel
Specified by:
setStatusByUserUuid in interface DDLRecordVersionModel
Parameters:
statusByUserUuid - the status by user uuid of this d d l record version

getStatusByUserName

public String getStatusByUserName()
Returns the status by user name of this d d l record version.

Specified by:
getStatusByUserName in interface WorkflowedModel
Specified by:
getStatusByUserName in interface DDLRecordVersionModel
Returns:
the status by user name of this d d l record version

setStatusByUserName

public void setStatusByUserName(String statusByUserName)
Sets the status by user name of this d d l record version.

Specified by:
setStatusByUserName in interface WorkflowedModel
Specified by:
setStatusByUserName in interface DDLRecordVersionModel
Parameters:
statusByUserName - the status by user name of this d d l record version

getStatusDate

public Date getStatusDate()
Returns the status date of this d d l record version.

Specified by:
getStatusDate in interface WorkflowedModel
Specified by:
getStatusDate in interface DDLRecordVersionModel
Returns:
the status date of this d d l record version

setStatusDate

public void setStatusDate(Date statusDate)
Sets the status date of this d d l record version.

Specified by:
setStatusDate in interface WorkflowedModel
Specified by:
setStatusDate in interface DDLRecordVersionModel
Parameters:
statusDate - the status date of this d d l record version

getApproved

public boolean getApproved()
Deprecated. As of 6.1.0, replaced by isApproved()

Specified by:
getApproved in interface WorkflowedModel
Specified by:
getApproved in interface DDLRecordVersionModel

isApproved

public boolean isApproved()
Returns true if this d d l record version is approved.

Specified by:
isApproved in interface WorkflowedModel
Specified by:
isApproved in interface DDLRecordVersionModel
Returns:
true if this d d l record version is approved; false otherwise

isDenied

public boolean isDenied()
Returns true if this d d l record version is denied.

Specified by:
isDenied in interface WorkflowedModel
Specified by:
isDenied in interface DDLRecordVersionModel
Returns:
true if this d d l record version is denied; false otherwise

isDraft

public boolean isDraft()
Returns true if this d d l record version is a draft.

Specified by:
isDraft in interface WorkflowedModel
Specified by:
isDraft in interface DDLRecordVersionModel
Returns:
true if this d d l record version is a draft; false otherwise

isExpired

public boolean isExpired()
Returns true if this d d l record version is expired.

Specified by:
isExpired in interface WorkflowedModel
Specified by:
isExpired in interface DDLRecordVersionModel
Returns:
true if this d d l record version is expired; false otherwise

isInactive

public boolean isInactive()
Returns true if this d d l record version is inactive.

Specified by:
isInactive in interface WorkflowedModel
Specified by:
isInactive in interface DDLRecordVersionModel
Returns:
true if this d d l record version is inactive; false otherwise

isIncomplete

public boolean isIncomplete()
Returns true if this d d l record version is incomplete.

Specified by:
isIncomplete in interface WorkflowedModel
Specified by:
isIncomplete in interface DDLRecordVersionModel
Returns:
true if this d d l record version is incomplete; false otherwise

isPending

public boolean isPending()
Returns true if this d d l record version is pending.

Specified by:
isPending in interface WorkflowedModel
Specified by:
isPending in interface DDLRecordVersionModel
Returns:
true if this d d l record version is pending; false otherwise

isScheduled

public boolean isScheduled()
Returns true if this d d l record version is scheduled.

Specified by:
isScheduled in interface WorkflowedModel
Specified by:
isScheduled in interface DDLRecordVersionModel
Returns:
true if this d d l record version is scheduled; false otherwise

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<DDLRecordVersion>
Specified by:
isNew in interface DDLRecordVersionModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<DDLRecordVersion>
Specified by:
setNew in interface DDLRecordVersionModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<DDLRecordVersion>
Specified by:
isCachedModel in interface DDLRecordVersionModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<DDLRecordVersion>
Specified by:
setCachedModel in interface DDLRecordVersionModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<DDLRecordVersion>
Specified by:
isEscapedModel in interface DDLRecordVersionModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<DDLRecordVersion>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DDLRecordVersionModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<DDLRecordVersion>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DDLRecordVersionModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<DDLRecordVersion>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DDLRecordVersionModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DDLRecordVersion>
Specified by:
setExpandoBridgeAttributes in interface DDLRecordVersionModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DDLRecordVersion>
Specified by:
setExpandoBridgeAttributes in interface DDLRecordVersionModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<DDLRecordVersion>
Specified by:
setExpandoBridgeAttributes in interface DDLRecordVersionModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<DDLRecordVersion>
Specified by:
clone in interface DDLRecordVersionModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DDLRecordVersion ddlRecordVersion)
Specified by:
compareTo in interface DDLRecordVersionModel
Specified by:
compareTo in interface Comparable<DDLRecordVersion>

hashCode

public int hashCode()
Specified by:
hashCode in interface DDLRecordVersionModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<DDLRecordVersion> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<DDLRecordVersion>
Specified by:
toCacheModel in interface DDLRecordVersionModel
Returns:
the cache model object

toEscapedModel

public DDLRecordVersion toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<DDLRecordVersion>
Specified by:
toEscapedModel in interface DDLRecordVersionModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DDLRecordVersion toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DDLRecordVersion>
Specified by:
toUnescapedModel in interface DDLRecordVersionModel

toString

public String toString()
Specified by:
toString in interface DDLRecordVersionModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<DDLRecordVersion>
Specified by:
toXmlString in interface DDLRecordVersionModel
Returns:
the XML representation of this model instance

getRecord

public DDLRecord getRecord()
                    throws PortalException,
                           SystemException
Specified by:
getRecord in interface DDLRecordVersion
Throws:
PortalException
SystemException

getRecordSet

public DDLRecordSet getRecordSet()
                          throws PortalException,
                                 SystemException
Specified by:
getRecordSet in interface DDLRecordVersion
Throws:
PortalException
SystemException

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedDDLRecordVersion

public DDLRecordVersion getWrappedDDLRecordVersion()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public DDLRecordVersion getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<DDLRecordVersion>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<DDLRecordVersion>

Liferay 6.2-ce-ga5