Package com.liferay.expando.kernel.model
Class ExpandoValueWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ExpandoValue>
com.liferay.expando.kernel.model.ExpandoValueWrapper
- All Implemented Interfaces:
ExpandoValue,ExpandoValueModel,AttachedModel,BaseModel<ExpandoValue>,CTModel<ExpandoValue>,ClassedModel,ModelWrapper<ExpandoValue>,MVCCModel,PersistedModel,ShardedModel,TypedModel,Serializable,Cloneable,Comparable<ExpandoValue>
public class ExpandoValueWrapper
extends BaseModelWrapper<ExpandoValue>
implements ExpandoValue, ModelWrapper<ExpandoValue>
This class is a wrapper for ExpandoValue.
- 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.ExpandoValue
VALUE_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanboolean[]Returns the fully qualified class name of this expando value.longReturns the class name ID of this expando value.longReturns the class pk of this expando value.longReturns the column ID of this expando value.longReturns the company ID of this expando value.longReturns the ct collection ID of this expando value.getData()Returns the data of this expando value.getDate()Date[]doubledouble[]floatgetFloat()float[]intint[]longgetLong()long[]longReturns the mvcc version of this expando value.Number[]longReturns the primary key of this expando value.longgetRowId()Returns the row ID of this expando value.shortgetShort()short[]String[]String[]getStringArray(Locale locale) longReturns the table ID of this expando value.longReturns the value ID of this expando value.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetBoolean(boolean data) voidsetBooleanArray(boolean[] data) voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this expando value.voidsetClassPK(long classPK) Sets the class pk of this expando value.voidsetColumn(ExpandoColumn column) voidsetColumnId(long columnId) Sets the column ID of this expando value.voidsetCompanyId(long companyId) Sets the company ID of this expando value.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this expando value.voidSets the data of this expando value.voidvoidsetDateArray(Date[] data) voidsetDouble(double data) voidsetDoubleArray(double[] data) voidsetFloat(float data) voidsetFloatArray(float[] data) voidsetGeolocationJSONObject(JSONObject dataJSONObject) voidsetInteger(int data) voidsetIntegerArray(int[] data) voidsetLong(long data) voidsetLongArray(long[] data) voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this expando value.voidvoidsetNumberArray(Number[] data) voidsetPrimaryKey(long primaryKey) Sets the primary key of this expando value.voidsetRowId(long rowId) Sets the row ID of this expando value.voidsetShort(short data) voidsetShortArray(short[] data) voidvoidvoidsetStringArray(String[] data) voidsetStringArray(String[] data, Locale locale, Locale defaultLocale) voidsetStringArrayMap(Map<Locale, String[]> dataMap, Locale defaultLocale) voidsetStringMap(Map<Locale, String> dataMap, Locale defaultLocale) voidsetTableId(long tableId) Sets the table ID of this expando value.voidsetValueId(long valueId) Sets the value ID of this expando value.protected ExpandoValueWrapperwrap(ExpandoValue expandoValue) 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
-
ExpandoValueWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<ExpandoValue>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<ExpandoValue>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<ExpandoValue>- Specified by:
cloneWithOriginalValuesin interfaceExpandoValueModel
-
getAvailableLocales
- Specified by:
getAvailableLocalesin interfaceExpandoValue- Throws:
PortalException
-
getBoolean
- Specified by:
getBooleanin interfaceExpandoValue- Throws:
PortalException
-
getBooleanArray
- Specified by:
getBooleanArrayin interfaceExpandoValue- Throws:
PortalException
-
getClassName
Returns the fully qualified class name of this expando value.- Specified by:
getClassNamein interfaceExpandoValueModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this expando value
-
getClassNameId
public long getClassNameId()Returns the class name ID of this expando value.- Specified by:
getClassNameIdin interfaceExpandoValueModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this expando value
-
getClassPK
public long getClassPK()Returns the class pk of this expando value.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceExpandoValueModel- Returns:
- the class pk of this expando value
-
getColumn
- Specified by:
getColumnin interfaceExpandoValue- Throws:
PortalException
-
getColumnId
public long getColumnId()Returns the column ID of this expando value.- Specified by:
getColumnIdin interfaceExpandoValueModel- Returns:
- the column ID of this expando value
-
getCompanyId
public long getCompanyId()Returns the company ID of this expando value.- Specified by:
getCompanyIdin interfaceExpandoValueModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this expando value
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this expando value.- Specified by:
getCtCollectionIdin interfaceCTModel<ExpandoValue>- Specified by:
getCtCollectionIdin interfaceExpandoValueModel- Returns:
- the ct collection ID of this expando value
-
getData
Returns the data of this expando value.- Specified by:
getDatain interfaceExpandoValueModel- Returns:
- the data of this expando value
-
getDate
- Specified by:
getDatein interfaceExpandoValue- Throws:
PortalException
-
getDateArray
- Specified by:
getDateArrayin interfaceExpandoValue- Throws:
PortalException
-
getDefaultLocale
- Specified by:
getDefaultLocalein interfaceExpandoValue- Throws:
PortalException
-
getDouble
- Specified by:
getDoublein interfaceExpandoValue- Throws:
PortalException
-
getDoubleArray
- Specified by:
getDoubleArrayin interfaceExpandoValue- Throws:
PortalException
-
getFloat
- Specified by:
getFloatin interfaceExpandoValue- Throws:
PortalException
-
getFloatArray
- Specified by:
getFloatArrayin interfaceExpandoValue- Throws:
PortalException
-
getGeolocationJSONObject
- Specified by:
getGeolocationJSONObjectin interfaceExpandoValue- Throws:
PortalException
-
getInteger
- Specified by:
getIntegerin interfaceExpandoValue- Throws:
PortalException
-
getIntegerArray
- Specified by:
getIntegerArrayin interfaceExpandoValue- Throws:
PortalException
-
getLong
- Specified by:
getLongin interfaceExpandoValue- Throws:
PortalException
-
getLongArray
- Specified by:
getLongArrayin interfaceExpandoValue- Throws:
PortalException
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this expando value.- Specified by:
getMvccVersionin interfaceExpandoValueModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this expando value
-
getNumber
- Specified by:
getNumberin interfaceExpandoValue- Throws:
PortalException
-
getNumberArray
- Specified by:
getNumberArrayin interfaceExpandoValue- Throws:
PortalException
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this expando value.- Specified by:
getPrimaryKeyin interfaceCTModel<ExpandoValue>- Specified by:
getPrimaryKeyin interfaceExpandoValueModel- Returns:
- the primary key of this expando value
-
getRowId
public long getRowId()Returns the row ID of this expando value.- Specified by:
getRowIdin interfaceExpandoValueModel- Returns:
- the row ID of this expando value
-
getSerializable
- Specified by:
getSerializablein interfaceExpandoValue- Throws:
PortalException
-
getShort
- Specified by:
getShortin interfaceExpandoValue- Throws:
PortalException
-
getShortArray
- Specified by:
getShortArrayin interfaceExpandoValue- Throws:
PortalException
-
getString
- Specified by:
getStringin interfaceExpandoValue- Throws:
PortalException
-
getString
- Specified by:
getStringin interfaceExpandoValue- Throws:
PortalException
-
getStringArray
- Specified by:
getStringArrayin interfaceExpandoValue- Throws:
PortalException
-
getStringArray
- Specified by:
getStringArrayin interfaceExpandoValue- Throws:
PortalException
-
getStringArrayMap
- Specified by:
getStringArrayMapin interfaceExpandoValue- Throws:
PortalException
-
getStringMap
- Specified by:
getStringMapin interfaceExpandoValue- Throws:
PortalException
-
getTableId
public long getTableId()Returns the table ID of this expando value.- Specified by:
getTableIdin interfaceExpandoValueModel- Returns:
- the table ID of this expando value
-
getValueId
public long getValueId()Returns the value ID of this expando value.- Specified by:
getValueIdin interfaceExpandoValueModel- Returns:
- the value ID of this expando value
-
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
-
setBoolean
- Specified by:
setBooleanin interfaceExpandoValue- Throws:
PortalException
-
setBooleanArray
- Specified by:
setBooleanArrayin interfaceExpandoValue- Throws:
PortalException
-
setClassName
- Specified by:
setClassNamein interfaceExpandoValueModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this expando value.- Specified by:
setClassNameIdin interfaceExpandoValueModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this expando value
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this expando value.- Specified by:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceExpandoValueModel- Parameters:
classPK- the class pk of this expando value
-
setColumn
- Specified by:
setColumnin interfaceExpandoValue
-
setColumnId
public void setColumnId(long columnId) Sets the column ID of this expando value.- Specified by:
setColumnIdin interfaceExpandoValueModel- Parameters:
columnId- the column ID of this expando value
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this expando value.- Specified by:
setCompanyIdin interfaceExpandoValueModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this expando value
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this expando value.- Specified by:
setCtCollectionIdin interfaceCTModel<ExpandoValue>- Specified by:
setCtCollectionIdin interfaceExpandoValueModel- Parameters:
ctCollectionId- the ct collection ID of this expando value
-
setData
Sets the data of this expando value.- Specified by:
setDatain interfaceExpandoValueModel- Parameters:
data- the data of this expando value
-
setDate
- Specified by:
setDatein interfaceExpandoValue- Throws:
PortalException
-
setDateArray
- Specified by:
setDateArrayin interfaceExpandoValue- Throws:
PortalException
-
setDouble
- Specified by:
setDoublein interfaceExpandoValue- Throws:
PortalException
-
setDoubleArray
- Specified by:
setDoubleArrayin interfaceExpandoValue- Throws:
PortalException
-
setFloat
- Specified by:
setFloatin interfaceExpandoValue- Throws:
PortalException
-
setFloatArray
- Specified by:
setFloatArrayin interfaceExpandoValue- Throws:
PortalException
-
setGeolocationJSONObject
- Specified by:
setGeolocationJSONObjectin interfaceExpandoValue- Throws:
PortalException
-
setInteger
- Specified by:
setIntegerin interfaceExpandoValue- Throws:
PortalException
-
setIntegerArray
- Specified by:
setIntegerArrayin interfaceExpandoValue- Throws:
PortalException
-
setLong
- Specified by:
setLongin interfaceExpandoValue- Throws:
PortalException
-
setLongArray
- Specified by:
setLongArrayin interfaceExpandoValue- Throws:
PortalException
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this expando value.- Specified by:
setMvccVersionin interfaceExpandoValueModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this expando value
-
setNumber
- Specified by:
setNumberin interfaceExpandoValue- Throws:
PortalException
-
setNumberArray
- Specified by:
setNumberArrayin interfaceExpandoValue- Throws:
PortalException
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this expando value.- Specified by:
setPrimaryKeyin interfaceCTModel<ExpandoValue>- Specified by:
setPrimaryKeyin interfaceExpandoValueModel- Parameters:
primaryKey- the primary key of this expando value
-
setRowId
public void setRowId(long rowId) Sets the row ID of this expando value.- Specified by:
setRowIdin interfaceExpandoValueModel- Parameters:
rowId- the row ID of this expando value
-
setShort
- Specified by:
setShortin interfaceExpandoValue- Throws:
PortalException
-
setShortArray
- Specified by:
setShortArrayin interfaceExpandoValue- Throws:
PortalException
-
setString
- Specified by:
setStringin interfaceExpandoValue- Throws:
PortalException
-
setString
- Specified by:
setStringin interfaceExpandoValue- Throws:
PortalException
-
setStringArray
- Specified by:
setStringArrayin interfaceExpandoValue- Throws:
PortalException
-
setStringArray
public void setStringArray(String[] data, Locale locale, Locale defaultLocale) throws PortalException - Specified by:
setStringArrayin interfaceExpandoValue- Throws:
PortalException
-
setStringArrayMap
public void setStringArrayMap(Map<Locale, String[]> dataMap, Locale defaultLocale) throws PortalException- Specified by:
setStringArrayMapin interfaceExpandoValue- Throws:
PortalException
-
setStringMap
- Specified by:
setStringMapin interfaceExpandoValue- Throws:
PortalException
-
setTableId
public void setTableId(long tableId) Sets the table ID of this expando value.- Specified by:
setTableIdin interfaceExpandoValueModel- Parameters:
tableId- the table ID of this expando value
-
setValueId
public void setValueId(long valueId) Sets the value ID of this expando value.- Specified by:
setValueIdin interfaceExpandoValueModel- Parameters:
valueId- the value ID of this expando value
-
toXmlString
- Specified by:
toXmlStringin interfaceExpandoValueModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<ExpandoValue>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<ExpandoValue>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<ExpandoValue>
-