Package com.liferay.expando.kernel.model
Class ExpandoRowWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ExpandoRow>
com.liferay.expando.kernel.model.ExpandoRowWrapper
- All Implemented Interfaces:
ExpandoRow
,ExpandoRowModel
,BaseModel<ExpandoRow>
,CTModel<ExpandoRow>
,ClassedModel
,ModelWrapper<ExpandoRow>
,MVCCModel
,PersistedModel
,ShardedModel
,Serializable
,Cloneable
,Comparable<ExpandoRow>
public class ExpandoRowWrapper
extends BaseModelWrapper<ExpandoRow>
implements ExpandoRow, ModelWrapper<ExpandoRow>
This class is a wrapper for ExpandoRow
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.expando.kernel.model.ExpandoRow
ROW_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the class pk of this expando row.long
Returns the company ID of this expando row.long
Returns the ct collection ID of this expando row.Returns the modified date of this expando row.long
Returns the mvcc version of this expando row.long
Returns the primary key of this expando row.long
getRowId()
Returns the row ID of this expando row.long
Returns the table ID of this expando row.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setClassPK
(long classPK) Sets the class pk of this expando row.void
setCompanyId
(long companyId) Sets the company ID of this expando row.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this expando row.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this expando row.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this expando row.void
setPrimaryKey
(long primaryKey) Sets the primary key of this expando row.void
setRowId
(long rowId) Sets the row ID of this expando row.void
setTableId
(long tableId) Sets the table ID of this expando row.protected ExpandoRowWrapper
wrap
(ExpandoRow expandoRow) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ExpandoRowWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<ExpandoRow>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<ExpandoRow>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<ExpandoRow>
- Specified by:
cloneWithOriginalValues
in interfaceExpandoRowModel
-
getClassPK
public long getClassPK()Returns the class pk of this expando row.- Specified by:
getClassPK
in interfaceExpandoRowModel
- Returns:
- the class pk of this expando row
-
getCompanyId
public long getCompanyId()Returns the company ID of this expando row.- Specified by:
getCompanyId
in interfaceExpandoRowModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this expando row
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this expando row.- Specified by:
getCtCollectionId
in interfaceCTModel<ExpandoRow>
- Specified by:
getCtCollectionId
in interfaceExpandoRowModel
- Returns:
- the ct collection ID of this expando row
-
getModifiedDate
Returns the modified date of this expando row.- Specified by:
getModifiedDate
in interfaceExpandoRowModel
- Returns:
- the modified date of this expando row
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this expando row.- Specified by:
getMvccVersion
in interfaceExpandoRowModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this expando row
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this expando row.- Specified by:
getPrimaryKey
in interfaceCTModel<ExpandoRow>
- Specified by:
getPrimaryKey
in interfaceExpandoRowModel
- Returns:
- the primary key of this expando row
-
getRowId
public long getRowId()Returns the row ID of this expando row.- Specified by:
getRowId
in interfaceExpandoRowModel
- Returns:
- the row ID of this expando row
-
getTableId
public long getTableId()Returns the table ID of this expando row.- Specified by:
getTableId
in interfaceExpandoRowModel
- Returns:
- the table ID of this expando row
-
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 interfacePersistedModel
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this expando row.- Specified by:
setClassPK
in interfaceExpandoRowModel
- Parameters:
classPK
- the class pk of this expando row
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this expando row.- Specified by:
setCompanyId
in interfaceExpandoRowModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this expando row
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this expando row.- Specified by:
setCtCollectionId
in interfaceCTModel<ExpandoRow>
- Specified by:
setCtCollectionId
in interfaceExpandoRowModel
- Parameters:
ctCollectionId
- the ct collection ID of this expando row
-
setModifiedDate
Sets the modified date of this expando row.- Specified by:
setModifiedDate
in interfaceExpandoRowModel
- Parameters:
modifiedDate
- the modified date of this expando row
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this expando row.- Specified by:
setMvccVersion
in interfaceExpandoRowModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this expando row
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this expando row.- Specified by:
setPrimaryKey
in interfaceCTModel<ExpandoRow>
- Specified by:
setPrimaryKey
in interfaceExpandoRowModel
- Parameters:
primaryKey
- the primary key of this expando row
-
setRowId
public void setRowId(long rowId) Sets the row ID of this expando row.- Specified by:
setRowId
in interfaceExpandoRowModel
- Parameters:
rowId
- the row ID of this expando row
-
setTableId
public void setTableId(long tableId) Sets the table ID of this expando row.- Specified by:
setTableId
in interfaceExpandoRowModel
- Parameters:
tableId
- the table ID of this expando row
-
toXmlString
- Specified by:
toXmlString
in interfaceExpandoRowModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<ExpandoRow>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<ExpandoRow>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<ExpandoRow>
-