Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.model.impl
Class DDMStructureLayoutModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<DDMStructureLayout>
      extended by com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLayoutModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<DDMStructureLayout>, ClassedModel, GroupedModel, StagedGroupedModel, StagedModel, DDMStructureLayoutModel, Serializable, Cloneable, Comparable<DDMStructureLayout>
Direct Known Subclasses:
DDMStructureLayoutBaseImpl

@ProviderType
public class DDMStructureLayoutModelImpl
extends BaseModelImpl<DDMStructureLayout>
implements DDMStructureLayoutModel

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

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

See Also:
DDMStructureLayoutImpl, DDMStructureLayout, DDMStructureLayoutModel, 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 long COMPANYID_COLUMN_BITMASK
           
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 String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static long STRUCTURELAYOUTID_COLUMN_BITMASK
           
static long STRUCTUREVERSIONID_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 UUID_COLUMN_BITMASK
           
 
Constructor Summary
DDMStructureLayoutModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DDMStructureLayout ddmStructureLayout)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this d d m structure layout.
 Date getCreateDate()
          Returns the create date of this d d m structure layout.
 DDMFormLayout getDDMFormLayout()
           
 String getDefinition()
          Returns the definition of this d d m structure layout.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this d d m structure layout.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this d d m structure layout.
 long getOriginalCompanyId()
           
 long getOriginalGroupId()
           
 long getOriginalStructureVersionId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this d d m structure layout.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 StagedModelType getStagedModelType()
           
 long getStructureLayoutId()
          Returns the structure layout ID of this d d m structure layout.
 long getStructureVersionId()
          Returns the structure version ID of this d d m structure layout.
 long getUserId()
          Returns the user ID of this d d m structure layout.
 String getUserName()
          Returns the user name of this d d m structure layout.
 String getUserUuid()
          Returns the user uuid of this d d m structure layout.
 String getUuid()
          Returns the uuid of this d d m structure layout.
 int hashCode()
           
 boolean hasSetModifiedDate()
           
 boolean isEntityCacheEnabled()
          Returns true if this model's entity cache is enabled.
 boolean isFinderCacheEnabled()
          Returns true if this model's finder cache is enabled.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCompanyId(long companyId)
          Sets the company ID of this d d m structure layout.
 void setCreateDate(Date createDate)
          Sets the create date of this d d m structure layout.
 void setDDMFormLayout(DDMFormLayout ddmFormLayout)
           
 void setDefinition(String definition)
          Sets the definition of this d d m structure layout.
 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 m structure layout.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this d d m structure layout.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this d d m structure layout.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setStructureLayoutId(long structureLayoutId)
          Sets the structure layout ID of this d d m structure layout.
 void setStructureVersionId(long structureVersionId)
          Sets the structure version ID of this d d m structure layout.
 void setUserId(long userId)
          Sets the user ID of this d d m structure layout.
 void setUserName(String userName)
          Sets the user name of this d d m structure layout.
 void setUserUuid(String userUuid)
          Sets the user uuid of this d d m structure layout.
 void setUuid(String uuid)
          Sets the uuid of this d d m structure layout.
 CacheModel<DDMStructureLayout> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 DDMStructureLayout toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 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.dynamicdatamapping.model.DDMStructureLayoutModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

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

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
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

COMPANYID_COLUMN_BITMASK

public static final long COMPANYID_COLUMN_BITMASK
See Also:
Constant Field Values

GROUPID_COLUMN_BITMASK

public static final long GROUPID_COLUMN_BITMASK
See Also:
Constant Field Values

STRUCTUREVERSIONID_COLUMN_BITMASK

public static final long STRUCTUREVERSIONID_COLUMN_BITMASK
See Also:
Constant Field Values

UUID_COLUMN_BITMASK

public static final long UUID_COLUMN_BITMASK
See Also:
Constant Field Values

STRUCTURELAYOUTID_COLUMN_BITMASK

public static final long STRUCTURELAYOUTID_COLUMN_BITMASK
See Also:
Constant Field Values

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

DDMStructureLayoutModelImpl

public DDMStructureLayoutModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: DDMStructureLayoutModel
Returns the primary key of this d d m structure layout.

Specified by:
getPrimaryKey in interface DDMStructureLayoutModel
Returns:
the primary key of this d d m structure layout

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: DDMStructureLayoutModel
Sets the primary key of this d d m structure layout.

Specified by:
setPrimaryKey in interface DDMStructureLayoutModel
Parameters:
primaryKey - the primary key of this d d m structure layout

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<DDMStructureLayout>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface DDMStructureLayoutModel
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<DDMStructureLayout>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface DDMStructureLayoutModel
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<DDMStructureLayout>
Overrides:
getModelAttributes in class BaseModelImpl<DDMStructureLayout>

setModelAttributes

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

getUuid

public String getUuid()
Description copied from interface: DDMStructureLayoutModel
Returns the uuid of this d d m structure layout.

Specified by:
getUuid in interface StagedModel
Specified by:
getUuid in interface DDMStructureLayoutModel
Returns:
the uuid of this d d m structure layout

setUuid

public void setUuid(String uuid)
Description copied from interface: DDMStructureLayoutModel
Sets the uuid of this d d m structure layout.

Specified by:
setUuid in interface StagedModel
Specified by:
setUuid in interface DDMStructureLayoutModel
Parameters:
uuid - the uuid of this d d m structure layout

getOriginalUuid

public String getOriginalUuid()

getStructureLayoutId

public long getStructureLayoutId()
Description copied from interface: DDMStructureLayoutModel
Returns the structure layout ID of this d d m structure layout.

Specified by:
getStructureLayoutId in interface DDMStructureLayoutModel
Returns:
the structure layout ID of this d d m structure layout

setStructureLayoutId

public void setStructureLayoutId(long structureLayoutId)
Description copied from interface: DDMStructureLayoutModel
Sets the structure layout ID of this d d m structure layout.

Specified by:
setStructureLayoutId in interface DDMStructureLayoutModel
Parameters:
structureLayoutId - the structure layout ID of this d d m structure layout

getGroupId

public long getGroupId()
Description copied from interface: DDMStructureLayoutModel
Returns the group ID of this d d m structure layout.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface DDMStructureLayoutModel
Returns:
the group ID of this d d m structure layout

setGroupId

public void setGroupId(long groupId)
Description copied from interface: DDMStructureLayoutModel
Sets the group ID of this d d m structure layout.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface DDMStructureLayoutModel
Parameters:
groupId - the group ID of this d d m structure layout

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: DDMStructureLayoutModel
Returns the company ID of this d d m structure layout.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface StagedModel
Specified by:
getCompanyId in interface DDMStructureLayoutModel
Returns:
the company ID of this d d m structure layout

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: DDMStructureLayoutModel
Sets the company ID of this d d m structure layout.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface StagedModel
Specified by:
setCompanyId in interface DDMStructureLayoutModel
Parameters:
companyId - the company ID of this d d m structure layout

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

public long getUserId()
Description copied from interface: DDMStructureLayoutModel
Returns the user ID of this d d m structure layout.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface DDMStructureLayoutModel
Returns:
the user ID of this d d m structure layout

setUserId

public void setUserId(long userId)
Description copied from interface: DDMStructureLayoutModel
Sets the user ID of this d d m structure layout.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface DDMStructureLayoutModel
Parameters:
userId - the user ID of this d d m structure layout

getUserUuid

public String getUserUuid()
Description copied from interface: DDMStructureLayoutModel
Returns the user uuid of this d d m structure layout.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface DDMStructureLayoutModel
Returns:
the user uuid of this d d m structure layout

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: DDMStructureLayoutModel
Sets the user uuid of this d d m structure layout.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface DDMStructureLayoutModel
Parameters:
userUuid - the user uuid of this d d m structure layout

getUserName

public String getUserName()
Description copied from interface: DDMStructureLayoutModel
Returns the user name of this d d m structure layout.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface DDMStructureLayoutModel
Returns:
the user name of this d d m structure layout

setUserName

public void setUserName(String userName)
Description copied from interface: DDMStructureLayoutModel
Sets the user name of this d d m structure layout.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface DDMStructureLayoutModel
Parameters:
userName - the user name of this d d m structure layout

getCreateDate

public Date getCreateDate()
Description copied from interface: DDMStructureLayoutModel
Returns the create date of this d d m structure layout.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface StagedModel
Specified by:
getCreateDate in interface DDMStructureLayoutModel
Returns:
the create date of this d d m structure layout

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: DDMStructureLayoutModel
Sets the create date of this d d m structure layout.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface StagedModel
Specified by:
setCreateDate in interface DDMStructureLayoutModel
Parameters:
createDate - the create date of this d d m structure layout

getModifiedDate

public Date getModifiedDate()
Description copied from interface: DDMStructureLayoutModel
Returns the modified date of this d d m structure layout.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface StagedModel
Specified by:
getModifiedDate in interface DDMStructureLayoutModel
Returns:
the modified date of this d d m structure layout

hasSetModifiedDate

public boolean hasSetModifiedDate()

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: DDMStructureLayoutModel
Sets the modified date of this d d m structure layout.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface StagedModel
Specified by:
setModifiedDate in interface DDMStructureLayoutModel
Parameters:
modifiedDate - the modified date of this d d m structure layout

getStructureVersionId

public long getStructureVersionId()
Description copied from interface: DDMStructureLayoutModel
Returns the structure version ID of this d d m structure layout.

Specified by:
getStructureVersionId in interface DDMStructureLayoutModel
Returns:
the structure version ID of this d d m structure layout

setStructureVersionId

public void setStructureVersionId(long structureVersionId)
Description copied from interface: DDMStructureLayoutModel
Sets the structure version ID of this d d m structure layout.

Specified by:
setStructureVersionId in interface DDMStructureLayoutModel
Parameters:
structureVersionId - the structure version ID of this d d m structure layout

getOriginalStructureVersionId

public long getOriginalStructureVersionId()

getDefinition

public String getDefinition()
Description copied from interface: DDMStructureLayoutModel
Returns the definition of this d d m structure layout.

Specified by:
getDefinition in interface DDMStructureLayoutModel
Returns:
the definition of this d d m structure layout

setDefinition

public void setDefinition(String definition)
Description copied from interface: DDMStructureLayoutModel
Sets the definition of this d d m structure layout.

Specified by:
setDefinition in interface DDMStructureLayoutModel
Parameters:
definition - the definition of this d d m structure layout

getDDMFormLayout

public DDMFormLayout getDDMFormLayout()

setDDMFormLayout

public void setDDMFormLayout(DDMFormLayout ddmFormLayout)

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

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<DDMStructureLayout>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DDMStructureLayoutModel
Overrides:
getExpandoBridge in class BaseModelImpl<DDMStructureLayout>
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<DDMStructureLayout>
Specified by:
setExpandoBridgeAttributes in interface DDMStructureLayoutModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<DDMStructureLayout>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

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

clone

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

Specified by:
clone in interface BaseModel<DDMStructureLayout>
Specified by:
clone in interface StagedModel
Specified by:
clone in interface DDMStructureLayoutModel
Specified by:
clone in class BaseModelImpl<DDMStructureLayout>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(DDMStructureLayout ddmStructureLayout)
Specified by:
compareTo in interface DDMStructureLayoutModel
Specified by:
compareTo in interface Comparable<DDMStructureLayout>

equals

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

hashCode

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

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's entity cache is enabled.

Specified by:
isEntityCacheEnabled in interface BaseModel<DDMStructureLayout>
Returns:
true if this model's entity cache is enabled; false otherwise

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Description copied from interface: BaseModel
Returns true if this model's finder cache is enabled.

Specified by:
isFinderCacheEnabled in interface BaseModel<DDMStructureLayout>
Returns:
true if this model's finder cache is enabled; false otherwise

resetOriginalValues

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

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

toCacheModel

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

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

toString

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

Liferay 7.0-ce-m6