Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatalists.model.impl
Class DDLRecordModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DDLRecord>
      extended by com.liferay.portlet.dynamicdatalists.model.impl.DDLRecordModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<DDLRecord>, ClassedModel, GroupedModel, DDLRecordModel, Serializable, Cloneable, Comparable<DDLRecord>
Direct Known Subclasses:
DDLRecordBaseImpl

@JSON(strict=true)
public class DDLRecordModelImpl
extends BaseModelImpl<DDLRecord>
implements DDLRecordModel

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

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

See Also:
DDLRecordImpl, DDLRecord, DDLRecordModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static long RECORDSETID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long USERID_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
DDLRecordModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DDLRecord ddlRecord)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this d d l record.
 Date getCreateDate()
          Returns the create date of this d d l record.
 long getDDMStorageId()
          Returns the d d m storage ID of this d d l record.
 int getDisplayIndex()
          Returns the display index of this d d l record.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this d d l record.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this d d l record.
 long getOriginalGroupId()
           
 long getOriginalRecordSetId()
           
 long getOriginalUserId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this d d l record.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getRecordId()
          Returns the record ID of this d d l record.
 long getRecordSetId()
          Returns the record set ID of this d d l record.
 long getUserId()
          Returns the user ID of this d d l record.
 String getUserName()
          Returns the user name of this d d l record.
 String getUserUuid()
          Returns the user uuid of this d d l record.
 String getUuid()
          Returns the uuid of this d d l record.
 String getVersion()
          Returns the version of this d d l record.
 long getVersionUserId()
          Returns the version user ID of this d d l record.
 String getVersionUserName()
          Returns the version user name of this d d l record.
 String getVersionUserUuid()
          Returns the version user uuid of this d d l record.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCompanyId(long companyId)
          Sets the company ID of this d d l record.
 void setCreateDate(Date createDate)
          Sets the create date of this d d l record.
 void setDDMStorageId(long DDMStorageId)
          Sets the d d m storage ID of this d d l record.
 void setDisplayIndex(int displayIndex)
          Sets the display index of this d d l record.
 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.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this d d l record.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this d d l record.
 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.
 void setRecordSetId(long recordSetId)
          Sets the record set ID of this d d l record.
 void setUserId(long userId)
          Sets the user ID of this d d l record.
 void setUserName(String userName)
          Sets the user name of this d d l record.
 void setUserUuid(String userUuid)
          Sets the user uuid of this d d l record.
 void setUuid(String uuid)
          Sets the uuid of this d d l record.
 void setVersion(String version)
          Sets the version of this d d l record.
 void setVersionUserId(long versionUserId)
          Sets the version user ID of this d d l record.
 void setVersionUserName(String versionUserName)
          Sets the version user name of this d d l record.
 void setVersionUserUuid(String versionUserUuid)
          Sets the version user uuid of this d d l record.
 CacheModel<DDLRecord> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DDLRecord toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static DDLRecord toModel(DDLRecordSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<DDLRecord> toModels(DDLRecordSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 DDLRecord 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.DDLRecordModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

RECORDSETID_COLUMN_BITMASK

public static long RECORDSETID_COLUMN_BITMASK

USERID_COLUMN_BITMASK

public static long USERID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DDLRecordModelImpl

public DDLRecordModelImpl()
Method Detail

toModel

public static DDLRecord toModel(DDLRecordSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<DDLRecord> toModels(DDLRecordSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: DDLRecordModel
Returns the primary key of this d d l record.

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

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: DDLRecordModel
Sets the primary key of this d d l record.

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DDLRecord>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DDLRecordModel
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<DDLRecord>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DDLRecordModel
Parameters:
primaryKeyObj - the primary key of this model instance

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<DDLRecord>
Overrides:
getModelAttributes in class BaseModelImpl<DDLRecord>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<DDLRecord>
Overrides:
setModelAttributes in class BaseModelImpl<DDLRecord>

getUuid

@JSON
public String getUuid()
Description copied from interface: DDLRecordModel
Returns the uuid of this d d l record.

Specified by:
getUuid in interface DDLRecordModel
Returns:
the uuid of this d d l record

setUuid

public void setUuid(String uuid)
Description copied from interface: DDLRecordModel
Sets the uuid of this d d l record.

Specified by:
setUuid in interface DDLRecordModel
Parameters:
uuid - the uuid of this d d l record

getOriginalUuid

public String getOriginalUuid()

getRecordId

@JSON
public long getRecordId()
Description copied from interface: DDLRecordModel
Returns the record ID of this d d l record.

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

setRecordId

public void setRecordId(long recordId)
Description copied from interface: DDLRecordModel
Sets the record ID of this d d l record.

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

getGroupId

@JSON
public long getGroupId()
Description copied from interface: DDLRecordModel
Returns the group ID of this d d l record.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface DDLRecordModel
Returns:
the group ID of this d d l record

setGroupId

public void setGroupId(long groupId)
Description copied from interface: DDLRecordModel
Sets the group ID of this d d l record.

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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: DDLRecordModel
Returns the company ID of this d d l record.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface DDLRecordModel
Returns:
the company ID of this d d l record

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DDLRecordModel
Sets the company ID of this d d l record.

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

getUserId

@JSON
public long getUserId()
Description copied from interface: DDLRecordModel
Returns the user ID of this d d l record.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface DDLRecordModel
Returns:
the user ID of this d d l record

setUserId

public void setUserId(long userId)
Description copied from interface: DDLRecordModel
Sets the user ID of this d d l record.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: DDLRecordModel
Returns the user uuid of this d d l record.

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

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: DDLRecordModel
Sets the user uuid of this d d l record.

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

getOriginalUserId

public long getOriginalUserId()

getUserName

@JSON
public String getUserName()
Description copied from interface: DDLRecordModel
Returns the user name of this d d l record.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface DDLRecordModel
Returns:
the user name of this d d l record

setUserName

public void setUserName(String userName)
Description copied from interface: DDLRecordModel
Sets the user name of this d d l record.

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

getVersionUserId

@JSON
public long getVersionUserId()
Description copied from interface: DDLRecordModel
Returns the version user ID of this d d l record.

Specified by:
getVersionUserId in interface DDLRecordModel
Returns:
the version user ID of this d d l record

setVersionUserId

public void setVersionUserId(long versionUserId)
Description copied from interface: DDLRecordModel
Sets the version user ID of this d d l record.

Specified by:
setVersionUserId in interface DDLRecordModel
Parameters:
versionUserId - the version user ID of this d d l record

getVersionUserUuid

public String getVersionUserUuid()
                          throws SystemException
Description copied from interface: DDLRecordModel
Returns the version user uuid of this d d l record.

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

setVersionUserUuid

public void setVersionUserUuid(String versionUserUuid)
Description copied from interface: DDLRecordModel
Sets the version user uuid of this d d l record.

Specified by:
setVersionUserUuid in interface DDLRecordModel
Parameters:
versionUserUuid - the version user uuid of this d d l record

getVersionUserName

@JSON
public String getVersionUserName()
Description copied from interface: DDLRecordModel
Returns the version user name of this d d l record.

Specified by:
getVersionUserName in interface DDLRecordModel
Returns:
the version user name of this d d l record

setVersionUserName

public void setVersionUserName(String versionUserName)
Description copied from interface: DDLRecordModel
Sets the version user name of this d d l record.

Specified by:
setVersionUserName in interface DDLRecordModel
Parameters:
versionUserName - the version user name of this d d l record

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: DDLRecordModel
Returns the create date of this d d l record.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface DDLRecordModel
Returns:
the create date of this d d l record

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: DDLRecordModel
Sets the create date of this d d l record.

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

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: DDLRecordModel
Returns the modified date of this d d l record.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface DDLRecordModel
Returns:
the modified date of this d d l record

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: DDLRecordModel
Sets the modified date of this d d l record.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface DDLRecordModel
Parameters:
modifiedDate - the modified date of this d d l record

getDDMStorageId

@JSON
public long getDDMStorageId()
Description copied from interface: DDLRecordModel
Returns the d d m storage ID of this d d l record.

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

setDDMStorageId

public void setDDMStorageId(long DDMStorageId)
Description copied from interface: DDLRecordModel
Sets the d d m storage ID of this d d l record.

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

getRecordSetId

@JSON
public long getRecordSetId()
Description copied from interface: DDLRecordModel
Returns the record set ID of this d d l record.

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

setRecordSetId

public void setRecordSetId(long recordSetId)
Description copied from interface: DDLRecordModel
Sets the record set ID of this d d l record.

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

getOriginalRecordSetId

public long getOriginalRecordSetId()

getVersion

@JSON
public String getVersion()
Description copied from interface: DDLRecordModel
Returns the version of this d d l record.

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

setVersion

public void setVersion(String version)
Description copied from interface: DDLRecordModel
Sets the version of this d d l record.

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

getDisplayIndex

@JSON
public int getDisplayIndex()
Description copied from interface: DDLRecordModel
Returns the display index of this d d l record.

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

setDisplayIndex

public void setDisplayIndex(int displayIndex)
Description copied from interface: DDLRecordModel
Sets the display index of this d d l record.

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

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<DDLRecord>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DDLRecordModel
Overrides:
getExpandoBridge in class BaseModelImpl<DDLRecord>
Returns:
the expando bridge for this model instance

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<DDLRecord>
Specified by:
setExpandoBridgeAttributes in interface DDLRecordModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DDLRecord>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public DDLRecord 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<DDLRecord>
Specified by:
toEscapedModel in interface DDLRecordModel
Overrides:
toEscapedModel in class BaseModelImpl<DDLRecord>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public DDLRecord toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DDLRecord>
Specified by:
toUnescapedModel in interface DDLRecordModel
Overrides:
toUnescapedModel in class BaseModelImpl<DDLRecord>

clone

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

Specified by:
clone in interface BaseModel<DDLRecord>
Specified by:
clone in interface DDLRecordModel
Specified by:
clone in class BaseModelImpl<DDLRecord>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DDLRecord ddlRecord)
Specified by:
compareTo in interface DDLRecordModel
Specified by:
compareTo in interface Comparable<DDLRecord>

equals

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

hashCode

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

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<DDLRecord>
Overrides:
resetOriginalValues in class BaseModelImpl<DDLRecord>

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<DDLRecord>
Specified by:
toCacheModel in interface DDLRecordModel
Overrides:
toCacheModel in class BaseModelImpl<DDLRecord>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface DDLRecordModel
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<DDLRecord>
Specified by:
toXmlString in interface DDLRecordModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3