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
modelFields inherited from interface com.liferay.expando.kernel.model.ExpandoRow
ROW_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the class pk of this expando row.longReturns the company ID of this expando row.longReturns the ct collection ID of this expando row.Returns the modified date of this expando row.longReturns the mvcc version of this expando row.longReturns the primary key of this expando row.longgetRowId()Returns the row ID of this expando row.longReturns the table ID of this expando row.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetClassPK(long classPK) Sets the class pk of this expando row.voidsetCompanyId(long companyId) Sets the company ID of this expando row.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this expando row.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this expando row.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this expando row.voidsetPrimaryKey(long primaryKey) Sets the primary key of this expando row.voidsetRowId(long rowId) Sets the row ID of this expando row.voidsetTableId(long tableId) Sets the table ID of this expando row.protected ExpandoRowWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ExpandoRowWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<ExpandoRow>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<ExpandoRow>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<ExpandoRow>- Specified by:
cloneWithOriginalValuesin interfaceExpandoRowModel
-
getClassPK
public long getClassPK()Returns the class pk of this expando row.- Specified by:
getClassPKin interfaceExpandoRowModel- Returns:
- the class pk of this expando row
-
getCompanyId
public long getCompanyId()Returns the company ID of this expando row.- Specified by:
getCompanyIdin interfaceExpandoRowModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this expando row
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this expando row.- Specified by:
getCtCollectionIdin interfaceCTModel<ExpandoRow>- Specified by:
getCtCollectionIdin interfaceExpandoRowModel- Returns:
- the ct collection ID of this expando row
-
getModifiedDate
Returns the modified date of this expando row.- Specified by:
getModifiedDatein interfaceExpandoRowModel- Returns:
- the modified date of this expando row
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this expando row.- Specified by:
getMvccVersionin interfaceExpandoRowModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this expando row
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this expando row.- Specified by:
getPrimaryKeyin interfaceCTModel<ExpandoRow>- Specified by:
getPrimaryKeyin interfaceExpandoRowModel- Returns:
- the primary key of this expando row
-
getRowId
public long getRowId()Returns the row ID of this expando row.- Specified by:
getRowIdin interfaceExpandoRowModel- Returns:
- the row ID of this expando row
-
getTableId
public long getTableId()Returns the table ID of this expando row.- Specified by:
getTableIdin interfaceExpandoRowModel- Returns:
- the table ID of this expando row
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this expando row.- Specified by:
setClassPKin 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:
setCompanyIdin interfaceExpandoRowModel- Specified by:
setCompanyIdin 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:
setCtCollectionIdin interfaceCTModel<ExpandoRow>- Specified by:
setCtCollectionIdin interfaceExpandoRowModel- Parameters:
ctCollectionId- the ct collection ID of this expando row
-
setModifiedDate
Sets the modified date of this expando row.- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceExpandoRowModel- Specified by:
setMvccVersionin 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:
setPrimaryKeyin interfaceCTModel<ExpandoRow>- Specified by:
setPrimaryKeyin 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:
setRowIdin 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:
setTableIdin interfaceExpandoRowModel- Parameters:
tableId- the table ID of this expando row
-
toXmlString
- Specified by:
toXmlStringin interfaceExpandoRowModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<ExpandoRow>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<ExpandoRow>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<ExpandoRow>
-