|
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.portal.model.impl.BaseModelImpl<DDLRecordVersion>
com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordVersionModelImpl
@JSON(strict=true) @ProviderType 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 Form| Field 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 String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
RECORDID_COLUMN_BITMASK
|
static long |
RECORDVERSIONID_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. As of 6.1.0, replaced by 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 |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
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 |
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. |
static DDLRecordVersion |
toModel(DDLRecordVersionSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<DDLRecordVersion> |
toModels(DDLRecordVersionSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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 ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long RECORDID_COLUMN_BITMASK
public static final long STATUS_COLUMN_BITMASK
public static final long VERSION_COLUMN_BITMASK
public static final long RECORDVERSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public DDLRecordVersionModelImpl()
| Method Detail |
|---|
public static DDLRecordVersion toModel(DDLRecordVersionSoap soapModel)
soapModel - the soap model instance to convert
public static List<DDLRecordVersion> toModels(DDLRecordVersionSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
DDLRecordVersionModel
getPrimaryKey in interface DDLRecordVersionModelpublic void setPrimaryKey(long primaryKey)
DDLRecordVersionModel
setPrimaryKey in interface DDLRecordVersionModelprimaryKey - the primary key of this d d l record versionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DDLRecordVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DDLRecordVersionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DDLRecordVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DDLRecordVersionModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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>@JSON public long getRecordVersionId()
DDLRecordVersionModel
getRecordVersionId in interface DDLRecordVersionModelpublic void setRecordVersionId(long recordVersionId)
DDLRecordVersionModel
setRecordVersionId in interface DDLRecordVersionModelrecordVersionId - the record version ID of this d d l record version@JSON public long getGroupId()
DDLRecordVersionModel
getGroupId in interface DDLRecordVersionModelpublic void setGroupId(long groupId)
DDLRecordVersionModel
setGroupId in interface DDLRecordVersionModelgroupId - the group ID of this d d l record version@JSON public long getCompanyId()
DDLRecordVersionModel
getCompanyId in interface DDLRecordVersionModelpublic void setCompanyId(long companyId)
DDLRecordVersionModel
setCompanyId in interface DDLRecordVersionModelcompanyId - the company ID of this d d l record version@JSON public long getUserId()
DDLRecordVersionModel
getUserId in interface DDLRecordVersionModelpublic void setUserId(long userId)
DDLRecordVersionModel
setUserId in interface DDLRecordVersionModeluserId - the user ID of this d d l record versionpublic String getUserUuid()
DDLRecordVersionModel
getUserUuid in interface DDLRecordVersionModelpublic void setUserUuid(String userUuid)
DDLRecordVersionModel
setUserUuid in interface DDLRecordVersionModeluserUuid - the user uuid of this d d l record version@JSON public String getUserName()
DDLRecordVersionModel
getUserName in interface DDLRecordVersionModelpublic void setUserName(String userName)
DDLRecordVersionModel
setUserName in interface DDLRecordVersionModeluserName - the user name of this d d l record version@JSON public Date getCreateDate()
DDLRecordVersionModel
getCreateDate in interface DDLRecordVersionModelpublic void setCreateDate(Date createDate)
DDLRecordVersionModel
setCreateDate in interface DDLRecordVersionModelcreateDate - the create date of this d d l record version@JSON public long getDDMStorageId()
DDLRecordVersionModel
getDDMStorageId in interface DDLRecordVersionModelpublic void setDDMStorageId(long DDMStorageId)
DDLRecordVersionModel
setDDMStorageId in interface DDLRecordVersionModelDDMStorageId - the d d m storage ID of this d d l record version@JSON public long getRecordSetId()
DDLRecordVersionModel
getRecordSetId in interface DDLRecordVersionModelpublic void setRecordSetId(long recordSetId)
DDLRecordVersionModel
setRecordSetId in interface DDLRecordVersionModelrecordSetId - the record set ID of this d d l record version@JSON public long getRecordId()
DDLRecordVersionModel
getRecordId in interface DDLRecordVersionModelpublic void setRecordId(long recordId)
DDLRecordVersionModel
setRecordId in interface DDLRecordVersionModelrecordId - the record ID of this d d l record versionpublic long getOriginalRecordId()
@JSON public String getVersion()
DDLRecordVersionModel
getVersion in interface DDLRecordVersionModelpublic void setVersion(String version)
DDLRecordVersionModel
setVersion in interface DDLRecordVersionModelversion - the version of this d d l record versionpublic String getOriginalVersion()
@JSON public int getDisplayIndex()
DDLRecordVersionModel
getDisplayIndex in interface DDLRecordVersionModelpublic void setDisplayIndex(int displayIndex)
DDLRecordVersionModel
setDisplayIndex in interface DDLRecordVersionModeldisplayIndex - the display index of this d d l record version@JSON public int getStatus()
DDLRecordVersionModel
getStatus in interface WorkflowedModelgetStatus in interface DDLRecordVersionModelpublic void setStatus(int status)
DDLRecordVersionModel
setStatus in interface WorkflowedModelsetStatus in interface DDLRecordVersionModelstatus - the status of this d d l record versionpublic int getOriginalStatus()
@JSON public long getStatusByUserId()
DDLRecordVersionModel
getStatusByUserId in interface WorkflowedModelgetStatusByUserId in interface DDLRecordVersionModelpublic void setStatusByUserId(long statusByUserId)
DDLRecordVersionModel
setStatusByUserId in interface WorkflowedModelsetStatusByUserId in interface DDLRecordVersionModelstatusByUserId - the status by user ID of this d d l record versionpublic String getStatusByUserUuid()
DDLRecordVersionModel
getStatusByUserUuid in interface WorkflowedModelgetStatusByUserUuid in interface DDLRecordVersionModelpublic void setStatusByUserUuid(String statusByUserUuid)
DDLRecordVersionModel
setStatusByUserUuid in interface WorkflowedModelsetStatusByUserUuid in interface DDLRecordVersionModelstatusByUserUuid - the status by user uuid of this d d l record version@JSON public String getStatusByUserName()
DDLRecordVersionModel
getStatusByUserName in interface WorkflowedModelgetStatusByUserName in interface DDLRecordVersionModelpublic void setStatusByUserName(String statusByUserName)
DDLRecordVersionModel
setStatusByUserName in interface WorkflowedModelsetStatusByUserName in interface DDLRecordVersionModelstatusByUserName - the status by user name of this d d l record version@JSON public Date getStatusDate()
DDLRecordVersionModel
getStatusDate in interface WorkflowedModelgetStatusDate in interface DDLRecordVersionModelpublic void setStatusDate(Date statusDate)
DDLRecordVersionModel
setStatusDate in interface WorkflowedModelsetStatusDate in interface DDLRecordVersionModelstatusDate - the status date of this d d l record version@Deprecated public boolean getApproved()
isApproved()
getApproved in interface WorkflowedModelgetApproved in interface DDLRecordVersionModelpublic boolean isApproved()
DDLRecordVersionModeltrue 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 isDenied()
DDLRecordVersionModeltrue 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()
DDLRecordVersionModeltrue 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 isExpired()
DDLRecordVersionModeltrue 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()
DDLRecordVersionModeltrue 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()
DDLRecordVersionModeltrue 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 isPending()
DDLRecordVersionModeltrue 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()
DDLRecordVersionModeltrue 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 long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DDLRecordVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DDLRecordVersionModelgetExpandoBridge in class BaseModelImpl<DDLRecordVersion>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DDLRecordVersion>setExpandoBridgeAttributes in interface DDLRecordVersionModelsetExpandoBridgeAttributes in class BaseModelImpl<DDLRecordVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public DDLRecordVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DDLRecordVersion>toEscapedModel in interface DDLRecordVersionModeltoEscapedModel in class BaseModelImpl<DDLRecordVersion>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<DDLRecordVersion>clone in interface DDLRecordVersionModelclone in class BaseModelImpl<DDLRecordVersion>public int compareTo(DDLRecordVersion ddlRecordVersion)
compareTo in interface DDLRecordVersionModelcompareTo in interface Comparable<DDLRecordVersion>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface DDLRecordVersionModelhashCode in class Objectpublic 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>resetOriginalValues in class BaseModelImpl<DDLRecordVersion>public CacheModel<DDLRecordVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DDLRecordVersion>toCacheModel in interface DDLRecordVersionModeltoCacheModel in class BaseModelImpl<DDLRecordVersion>public String toString()
toString in interface DDLRecordVersionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DDLRecordVersion>toXmlString in interface DDLRecordVersionModel
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||