Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.model
Class DDMStructureLayoutWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.model.DDMStructureLayoutWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<DDMStructureLayout>, ClassedModel, GroupedModel, ModelWrapper<DDMStructureLayout>, PersistedModel, StagedGroupedModel, StagedModel, DDMStructureLayout, DDMStructureLayoutModel, Serializable, Cloneable, Comparable<DDMStructureLayout>

@ProviderType
public class DDMStructureLayoutWrapper
extends Object
implements DDMStructureLayout, ModelWrapper<DDMStructureLayout>

This class is a wrapper for DDMStructureLayout.

See Also:
DDMStructureLayout, Serialized Form

Constructor Summary
DDMStructureLayoutWrapper(DDMStructureLayout ddmStructureLayout)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(DDMStructureLayout ddmStructureLayout)
           
 boolean equals(Object obj)
           
 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 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.
 DDMStructureLayout getWrappedDDMStructureLayout()
          Deprecated. As of 6.1.0, replaced by getWrappedModel()
 DDMStructureLayout getWrappedModel()
           
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEntityCacheEnabled()
          Returns true if this model's entity cache is enabled.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isFinderCacheEnabled()
          Returns true if this model's finder cache is enabled.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 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 m structure layout.
 void setCreateDate(Date createDate)
          Sets the create date of this d d m structure layout.
 void setDefinition(String definition)
          Sets the definition of this d d m structure layout.
 void setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 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 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 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()
           
 DDMStructureLayout toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DDMStructureLayoutWrapper

public DDMStructureLayoutWrapper(DDMStructureLayout ddmStructureLayout)
Method Detail

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>

setModelAttributes

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

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
Overrides:
clone in class Object
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>

getCompanyId

public long getCompanyId()
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

getCreateDate

public Date getCreateDate()
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

getDDMFormLayout

public DDMFormLayout getDDMFormLayout()
Specified by:
getDDMFormLayout in interface DDMStructureLayout

getDefinition

public String getDefinition()
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

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

getGroupId

public long getGroupId()
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

getModifiedDate

public Date getModifiedDate()
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

getPrimaryKey

public long getPrimaryKey()
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

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

getStructureLayoutId

public long getStructureLayoutId()
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

getStructureVersionId

public long getStructureVersionId()
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

getUserId

public long getUserId()
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

getUserName

public String getUserName()
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

getUserUuid

public String getUserUuid()
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

getUuid

public String getUuid()
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

hashCode

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

isCachedModel

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

isEscapedModel

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

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

isNew

public 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<DDMStructureLayout>
Specified by:
isNew in interface DDMStructureLayoutModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

persist

public void persist()
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel

setCachedModel

public 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<DDMStructureLayout>
Specified by:
setCachedModel in interface DDMStructureLayoutModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

setCompanyId

public void setCompanyId(long companyId)
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

setCreateDate

public void setCreateDate(Date createDate)
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

setDefinition

public void setDefinition(String definition)
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

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DDMStructureLayout>
Specified by:
setExpandoBridgeAttributes in interface DDMStructureLayoutModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<DDMStructureLayout>
Specified by:
setExpandoBridgeAttributes in interface DDMStructureLayoutModel

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

setGroupId

public void setGroupId(long groupId)
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

setModifiedDate

public void setModifiedDate(Date modifiedDate)
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

setNew

public 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<DDMStructureLayout>
Specified by:
setNew in interface DDMStructureLayoutModel
Parameters:
n - whether this model instance does not yet exist in the database

setPrimaryKey

public void setPrimaryKey(long primaryKey)
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

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

setStructureLayoutId

public void setStructureLayoutId(long structureLayoutId)
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

setStructureVersionId

public void setStructureVersionId(long structureVersionId)
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

setUserId

public void setUserId(long userId)
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

setUserName

public void setUserName(String userName)
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

setUserUuid

public void setUserUuid(String userUuid)
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

setUuid

public void setUuid(String uuid)
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

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

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

toString

public String toString()
Specified by:
toString in interface DDMStructureLayoutModel
Overrides:
toString in class Object

toUnescapedModel

public DDMStructureLayout toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<DDMStructureLayout>
Specified by:
toUnescapedModel in interface DDMStructureLayoutModel

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

equals

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

getStagedModelType

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

getWrappedDDMStructureLayout

@Deprecated
public DDMStructureLayout getWrappedDDMStructureLayout()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public DDMStructureLayout getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<DDMStructureLayout>

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>

Liferay 7.0-ce-m6