Package com.liferay.expando.kernel.model
Class ExpandoTableWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ExpandoTable>
com.liferay.expando.kernel.model.ExpandoTableWrapper
- All Implemented Interfaces:
ExpandoTable
,ExpandoTableModel
,BaseModel<ExpandoTable>
,CTModel<ExpandoTable>
,ClassedModel
,ModelWrapper<ExpandoTable>
,MVCCModel
,PersistedModel
,ShardedModel
,TypedModel
,Serializable
,Cloneable
,Comparable<ExpandoTable>
public class ExpandoTableWrapper
extends BaseModelWrapper<ExpandoTable>
implements ExpandoTable, ModelWrapper<ExpandoTable>
This class is a wrapper for ExpandoTable
.
- 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.ExpandoTable
TABLE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this expando table.long
Returns the class name ID of this expando table.long
Returns the company ID of this expando table.long
Returns the ct collection ID of this expando table.long
Returns the mvcc version of this expando table.getName()
Returns the name of this expando table.long
Returns the primary key of this expando table.long
Returns the table ID of this expando table.boolean
void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this expando table.void
setCompanyId
(long companyId) Sets the company ID of this expando table.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this expando table.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this expando table.void
Sets the name of this expando table.void
setPrimaryKey
(long primaryKey) Sets the primary key of this expando table.void
setTableId
(long tableId) Sets the table ID of this expando table.protected ExpandoTableWrapper
wrap
(ExpandoTable expandoTable) 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
-
ExpandoTableWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<ExpandoTable>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<ExpandoTable>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<ExpandoTable>
- Specified by:
cloneWithOriginalValues
in interfaceExpandoTableModel
-
getClassName
Returns the fully qualified class name of this expando table.- Specified by:
getClassName
in interfaceExpandoTableModel
- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this expando table
-
getClassNameId
public long getClassNameId()Returns the class name ID of this expando table.- Specified by:
getClassNameId
in interfaceExpandoTableModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this expando table
-
getCompanyId
public long getCompanyId()Returns the company ID of this expando table.- Specified by:
getCompanyId
in interfaceExpandoTableModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this expando table
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this expando table.- Specified by:
getCtCollectionId
in interfaceCTModel<ExpandoTable>
- Specified by:
getCtCollectionId
in interfaceExpandoTableModel
- Returns:
- the ct collection ID of this expando table
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this expando table.- Specified by:
getMvccVersion
in interfaceExpandoTableModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this expando table
-
getName
Returns the name of this expando table.- Specified by:
getName
in interfaceExpandoTableModel
- Returns:
- the name of this expando table
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this expando table.- Specified by:
getPrimaryKey
in interfaceCTModel<ExpandoTable>
- Specified by:
getPrimaryKey
in interfaceExpandoTableModel
- Returns:
- the primary key of this expando table
-
getTableId
public long getTableId()Returns the table ID of this expando table.- Specified by:
getTableId
in interfaceExpandoTableModel
- Returns:
- the table ID of this expando table
-
isDefaultTable
public boolean isDefaultTable()- Specified by:
isDefaultTable
in interfaceExpandoTable
-
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
-
setClassName
- Specified by:
setClassName
in interfaceExpandoTableModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this expando table.- Specified by:
setClassNameId
in interfaceExpandoTableModel
- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this expando table
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this expando table.- Specified by:
setCompanyId
in interfaceExpandoTableModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this expando table
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this expando table.- Specified by:
setCtCollectionId
in interfaceCTModel<ExpandoTable>
- Specified by:
setCtCollectionId
in interfaceExpandoTableModel
- Parameters:
ctCollectionId
- the ct collection ID of this expando table
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this expando table.- Specified by:
setMvccVersion
in interfaceExpandoTableModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this expando table
-
setName
Sets the name of this expando table.- Specified by:
setName
in interfaceExpandoTableModel
- Parameters:
name
- the name of this expando table
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this expando table.- Specified by:
setPrimaryKey
in interfaceCTModel<ExpandoTable>
- Specified by:
setPrimaryKey
in interfaceExpandoTableModel
- Parameters:
primaryKey
- the primary key of this expando table
-
setTableId
public void setTableId(long tableId) Sets the table ID of this expando table.- Specified by:
setTableId
in interfaceExpandoTableModel
- Parameters:
tableId
- the table ID of this expando table
-
toXmlString
- Specified by:
toXmlString
in interfaceExpandoTableModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<ExpandoTable>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<ExpandoTable>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<ExpandoTable>
-