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
modelFields 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.longReturns the class name ID of this expando table.longReturns the company ID of this expando table.longReturns the ct collection ID of this expando table.longReturns the mvcc version of this expando table.getName()Returns the name of this expando table.longReturns the primary key of this expando table.longReturns the table ID of this expando table.booleanvoidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this expando table.voidsetCompanyId(long companyId) Sets the company ID of this expando table.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this expando table.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this expando table.voidSets the name of this expando table.voidsetPrimaryKey(long primaryKey) Sets the primary key of this expando table.voidsetTableId(long tableId) Sets the table ID of this expando table.protected ExpandoTableWrapperwrap(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, 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
-
ExpandoTableWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<ExpandoTable>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<ExpandoTable>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<ExpandoTable>- Specified by:
cloneWithOriginalValuesin interfaceExpandoTableModel
-
getClassName
Returns the fully qualified class name of this expando table.- Specified by:
getClassNamein interfaceExpandoTableModel- Specified by:
getClassNamein 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:
getClassNameIdin interfaceExpandoTableModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this expando table
-
getCompanyId
public long getCompanyId()Returns the company ID of this expando table.- Specified by:
getCompanyIdin interfaceExpandoTableModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this expando table
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this expando table.- Specified by:
getCtCollectionIdin interfaceCTModel<ExpandoTable>- Specified by:
getCtCollectionIdin interfaceExpandoTableModel- Returns:
- the ct collection ID of this expando table
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this expando table.- Specified by:
getMvccVersionin interfaceExpandoTableModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this expando table
-
getName
Returns the name of this expando table.- Specified by:
getNamein interfaceExpandoTableModel- Returns:
- the name of this expando table
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this expando table.- Specified by:
getPrimaryKeyin interfaceCTModel<ExpandoTable>- Specified by:
getPrimaryKeyin interfaceExpandoTableModel- Returns:
- the primary key of this expando table
-
getTableId
public long getTableId()Returns the table ID of this expando table.- Specified by:
getTableIdin interfaceExpandoTableModel- Returns:
- the table ID of this expando table
-
isDefaultTable
public boolean isDefaultTable()- Specified by:
isDefaultTablein interfaceExpandoTable
-
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
-
setClassName
- Specified by:
setClassNamein interfaceExpandoTableModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this expando table.- Specified by:
setClassNameIdin interfaceExpandoTableModel- Specified by:
setClassNameIdin 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:
setCompanyIdin interfaceExpandoTableModel- Specified by:
setCompanyIdin 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:
setCtCollectionIdin interfaceCTModel<ExpandoTable>- Specified by:
setCtCollectionIdin 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:
setMvccVersionin interfaceExpandoTableModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this expando table
-
setName
Sets the name of this expando table.- Specified by:
setNamein 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:
setPrimaryKeyin interfaceCTModel<ExpandoTable>- Specified by:
setPrimaryKeyin 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:
setTableIdin interfaceExpandoTableModel- Parameters:
tableId- the table ID of this expando table
-
toXmlString
- Specified by:
toXmlStringin interfaceExpandoTableModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<ExpandoTable>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<ExpandoTable>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<ExpandoTable>
-