|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<DDLRecordVersion> com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionModelImpl
public class DDLRecordVersionModelImpl
The base model implementation for the DDLRecordVersion service. Represents a row in the "DDLRecordVersion" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface DDLRecordVersionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in DDLRecordVersionImpl
.
DDLRecordVersionImpl
,
DDLRecordVersion
,
DDLRecordVersionModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
RECORDID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
STATUS_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
VERSION_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
DDLRecordVersionModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DDLRecordVersion ddlRecordVersion)
|
boolean |
equals(Object obj)
|
boolean |
getApproved()
Deprecated. isApproved() |
long |
getColumnBitmask()
|
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 |
getOriginalRecordId()
|
int |
getOriginalStatus()
|
String |
getOriginalVersion()
|
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 |
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 |
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 |
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 |
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 |
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 com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.dynamicdatalists.model.DDLRecordVersionModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long RECORDID_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long VERSION_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public DDLRecordVersionModelImpl()
Method Detail |
---|
public long getPrimaryKey()
DDLRecordVersionModel
getPrimaryKey
in interface DDLRecordVersionModel
public void setPrimaryKey(long primaryKey)
DDLRecordVersionModel
setPrimaryKey
in interface DDLRecordVersionModel
primaryKey
- the primary key of this d d l record versionpublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DDLRecordVersion>
getModelAttributes
in class BaseModelImpl<DDLRecordVersion>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DDLRecordVersion>
setModelAttributes
in class BaseModelImpl<DDLRecordVersion>
public long getRecordVersionId()
DDLRecordVersionModel
getRecordVersionId
in interface DDLRecordVersionModel
public void setRecordVersionId(long recordVersionId)
DDLRecordVersionModel
setRecordVersionId
in interface DDLRecordVersionModel
recordVersionId
- the record version ID of this d d l record versionpublic long getGroupId()
DDLRecordVersionModel
getGroupId
in interface DDLRecordVersionModel
public void setGroupId(long groupId)
DDLRecordVersionModel
setGroupId
in interface DDLRecordVersionModel
groupId
- the group ID of this d d l record versionpublic long getCompanyId()
DDLRecordVersionModel
getCompanyId
in interface DDLRecordVersionModel
public void setCompanyId(long companyId)
DDLRecordVersionModel
setCompanyId
in interface DDLRecordVersionModel
companyId
- the company ID of this d d l record versionpublic long getUserId()
DDLRecordVersionModel
getUserId
in interface DDLRecordVersionModel
public void setUserId(long userId)
DDLRecordVersionModel
setUserId
in interface DDLRecordVersionModel
userId
- the user ID of this d d l record versionpublic String getUserUuid() throws SystemException
DDLRecordVersionModel
getUserUuid
in interface DDLRecordVersionModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
DDLRecordVersionModel
setUserUuid
in interface DDLRecordVersionModel
userUuid
- the user uuid of this d d l record versionpublic String getUserName()
DDLRecordVersionModel
getUserName
in interface DDLRecordVersionModel
public void setUserName(String userName)
DDLRecordVersionModel
setUserName
in interface DDLRecordVersionModel
userName
- the user name of this d d l record versionpublic Date getCreateDate()
DDLRecordVersionModel
getCreateDate
in interface DDLRecordVersionModel
public void setCreateDate(Date createDate)
DDLRecordVersionModel
setCreateDate
in interface DDLRecordVersionModel
createDate
- the create date of this d d l record versionpublic long getDDMStorageId()
DDLRecordVersionModel
getDDMStorageId
in interface DDLRecordVersionModel
public void setDDMStorageId(long DDMStorageId)
DDLRecordVersionModel
setDDMStorageId
in interface DDLRecordVersionModel
DDMStorageId
- the d d m storage ID of this d d l record versionpublic long getRecordSetId()
DDLRecordVersionModel
getRecordSetId
in interface DDLRecordVersionModel
public void setRecordSetId(long recordSetId)
DDLRecordVersionModel
setRecordSetId
in interface DDLRecordVersionModel
recordSetId
- the record set ID of this d d l record versionpublic long getRecordId()
DDLRecordVersionModel
getRecordId
in interface DDLRecordVersionModel
public void setRecordId(long recordId)
DDLRecordVersionModel
setRecordId
in interface DDLRecordVersionModel
recordId
- the record ID of this d d l record versionpublic long getOriginalRecordId()
public String getVersion()
DDLRecordVersionModel
getVersion
in interface DDLRecordVersionModel
public void setVersion(String version)
DDLRecordVersionModel
setVersion
in interface DDLRecordVersionModel
version
- the version of this d d l record versionpublic String getOriginalVersion()
public int getDisplayIndex()
DDLRecordVersionModel
getDisplayIndex
in interface DDLRecordVersionModel
public void setDisplayIndex(int displayIndex)
DDLRecordVersionModel
setDisplayIndex
in interface DDLRecordVersionModel
displayIndex
- the display index of this d d l record versionpublic int getStatus()
DDLRecordVersionModel
getStatus
in interface WorkflowedModel
getStatus
in interface DDLRecordVersionModel
public void setStatus(int status)
DDLRecordVersionModel
setStatus
in interface WorkflowedModel
setStatus
in interface DDLRecordVersionModel
status
- the status of this d d l record versionpublic int getOriginalStatus()
public long getStatusByUserId()
DDLRecordVersionModel
getStatusByUserId
in interface WorkflowedModel
getStatusByUserId
in interface DDLRecordVersionModel
public void setStatusByUserId(long statusByUserId)
DDLRecordVersionModel
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
DDLRecordVersionModel
getStatusByUserUuid
in interface DDLRecordVersionModel
SystemException
- if a system exception occurredpublic void setStatusByUserUuid(String statusByUserUuid)
DDLRecordVersionModel
setStatusByUserUuid
in interface DDLRecordVersionModel
statusByUserUuid
- the status by user uuid of this d d l record versionpublic String getStatusByUserName()
DDLRecordVersionModel
getStatusByUserName
in interface WorkflowedModel
getStatusByUserName
in interface DDLRecordVersionModel
public void setStatusByUserName(String statusByUserName)
DDLRecordVersionModel
setStatusByUserName
in interface WorkflowedModel
setStatusByUserName
in interface DDLRecordVersionModel
statusByUserName
- the status by user name of this d d l record versionpublic Date getStatusDate()
DDLRecordVersionModel
getStatusDate
in interface WorkflowedModel
getStatusDate
in interface DDLRecordVersionModel
public void setStatusDate(Date statusDate)
DDLRecordVersionModel
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()
DDLRecordVersionModel
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()
DDLRecordVersionModel
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()
DDLRecordVersionModel
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()
DDLRecordVersionModel
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()
DDLRecordVersionModel
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()
DDLRecordVersionModel
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()
DDLRecordVersionModel
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()
DDLRecordVersionModel
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 long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DDLRecordVersion>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DDLRecordVersionModel
getExpandoBridge
in class BaseModelImpl<DDLRecordVersion>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DDLRecordVersion>
setExpandoBridgeAttributes
in interface DDLRecordVersionModel
setExpandoBridgeAttributes
in class BaseModelImpl<DDLRecordVersion>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public DDLRecordVersion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DDLRecordVersion>
toEscapedModel
in interface DDLRecordVersionModel
toEscapedModel
in class BaseModelImpl<DDLRecordVersion>
AutoEscapeBeanHandler
public DDLRecordVersion toUnescapedModel()
toUnescapedModel
in interface BaseModel<DDLRecordVersion>
toUnescapedModel
in interface DDLRecordVersionModel
toUnescapedModel
in class BaseModelImpl<DDLRecordVersion>
public Object clone()
BaseModel
clone
in interface BaseModel<DDLRecordVersion>
clone
in interface DDLRecordVersionModel
clone
in class BaseModelImpl<DDLRecordVersion>
public int compareTo(DDLRecordVersion ddlRecordVersion)
compareTo
in interface DDLRecordVersionModel
compareTo
in interface Comparable<DDLRecordVersion>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface DDLRecordVersionModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DDLRecordVersion>
resetOriginalValues
in class BaseModelImpl<DDLRecordVersion>
public CacheModel<DDLRecordVersion> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DDLRecordVersion>
toCacheModel
in interface DDLRecordVersionModel
toCacheModel
in class BaseModelImpl<DDLRecordVersion>
public String toString()
toString
in interface DDLRecordVersionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DDLRecordVersion>
toXmlString
in interface DDLRecordVersionModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |