Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatalists.model
Interface DDLRecordVersionModel

All Superinterfaces:
BaseModel<DDLRecordVersion>, ClassedModel, Cloneable, Comparable<DDLRecordVersion>, Serializable, WorkflowedModel
All Known Subinterfaces:
DDLRecordVersion
All Known Implementing Classes:
DDLRecordVersionWrapper

public interface DDLRecordVersionModel
extends BaseModel<DDLRecordVersion>, WorkflowedModel

The base model interface for the DDLRecordVersion service. Represents a row in the "DDLRecordVersion" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation DDLRecordVersionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDLRecordVersionImpl.

See Also:
DDLRecordVersion, DDLRecordVersionImpl, DDLRecordVersionModelImpl

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DDLRecordVersion ddlRecordVersion)
           
 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.
 long getPrimaryKey()
          Returns the primary key of this d d l record version.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 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.
 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 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 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 interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Method Detail

getPrimaryKey

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

Returns:
the primary key of this d d l record version

setPrimaryKey

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

Parameters:
primaryKey - the primary key of this d d l record version

getRecordVersionId

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

Returns:
the record version ID of this d d l record version

setRecordVersionId

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

Parameters:
recordVersionId - the record version ID of this d d l record version

getGroupId

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

Returns:
the group ID of this d d l record version

setGroupId

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

Parameters:
groupId - the group ID of this d d l record version

getCompanyId

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

Returns:
the company ID of this d d l record version

setCompanyId

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

Parameters:
companyId - the company ID of this d d l record version

getUserId

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

Returns:
the user ID of this d d l record version

setUserId

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

Parameters:
userId - the user ID of this d d l record version

getUserUuid

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

Returns:
the user uuid of this d d l record version
Throws:
SystemException - if a system exception occurred

setUserUuid

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

Parameters:
userUuid - the user uuid of this d d l record version

getUserName

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

Returns:
the user name of this d d l record version

setUserName

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

Parameters:
userName - the user name of this d d l record version

getCreateDate

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

Returns:
the create date of this d d l record version

setCreateDate

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

Parameters:
createDate - the create date of this d d l record version

getDDMStorageId

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

Returns:
the d d m storage ID of this d d l record version

setDDMStorageId

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

Parameters:
DDMStorageId - the d d m storage ID of this d d l record version

getRecordSetId

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

Returns:
the record set ID of this d d l record version

setRecordSetId

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

Parameters:
recordSetId - the record set ID of this d d l record version

getRecordId

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

Returns:
the record ID of this d d l record version

setRecordId

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

Parameters:
recordId - the record ID of this d d l record version

getVersion

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

Returns:
the version of this d d l record version

setVersion

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

Parameters:
version - the version of this d d l record version

getDisplayIndex

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

Returns:
the display index of this d d l record version

setDisplayIndex

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

Parameters:
displayIndex - the display index of this d d l record version

getStatus

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

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

setStatus

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

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

getStatusByUserId

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

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

setStatusByUserId

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

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

getStatusByUserUuid

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

Returns:
the status by user uuid of this d d l record version
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

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

Parameters:
statusByUserUuid - the status by user uuid of this d d l record version

getStatusByUserName

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

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

setStatusByUserName

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

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

getStatusDate

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

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

setStatusDate

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

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

getApproved

boolean getApproved()
Deprecated. Renamed to isApproved()


isApproved

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

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

isDenied

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

Returns:
true if this d d l record version is denied; false otherwise

isDraft

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

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

isExpired

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

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

isInactive

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

Returns:
true if this d d l record version is inactive; false otherwise

isIncomplete

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

Returns:
true if this d d l record version is incomplete; false otherwise

isPending

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

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

isScheduled

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

Returns:
true if this d d l record version is scheduled; false otherwise

isNew

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>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

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>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

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>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

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

getPrimaryKeyObj

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
Returns:
the primary key of this model instance

setPrimaryKeyObj

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
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

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>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

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

compareTo

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

hashCode

int hashCode()
Overrides:
hashCode in class Object

toCacheModel

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>
Returns:
the cache model object

toEscapedModel

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>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

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

toString

String toString()
Overrides:
toString in class Object

toXmlString

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

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

Liferay 6.1.2-ce-ga3