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
model
Fields inherited from interface com.liferay.expando.kernel.model.ExpandoValue
VALUE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean[]
Returns the fully qualified class name of this expando value.long
Returns the class name ID of this expando value.long
Returns the class pk of this expando value.long
Returns the column ID of this expando value.long
Returns the company ID of this expando value.long
Returns the ct collection ID of this expando value.getData()
Returns the data of this expando value.getDate()
Date[]
double
double[]
float
getFloat()
float[]
int
int[]
long
getLong()
long[]
long
Returns the mvcc version of this expando value.Number[]
long
Returns the primary key of this expando value.long
getRowId()
Returns the row ID of this expando value.short
getShort()
short[]
String[]
String[]
getStringArray
(Locale locale) long
Returns the table ID of this expando value.long
Returns the value ID of this expando value.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setBoolean
(boolean data) void
setBooleanArray
(boolean[] data) void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this expando value.void
setClassPK
(long classPK) Sets the class pk of this expando value.void
setColumn
(ExpandoColumn column) void
setColumnId
(long columnId) Sets the column ID of this expando value.void
setCompanyId
(long companyId) Sets the company ID of this expando value.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this expando value.void
Sets the data of this expando value.void
void
setDateArray
(Date[] data) void
setDouble
(double data) void
setDoubleArray
(double[] data) void
setFloat
(float data) void
setFloatArray
(float[] data) void
setGeolocationJSONObject
(JSONObject dataJSONObject) void
setInteger
(int data) void
setIntegerArray
(int[] data) void
setLong
(long data) void
setLongArray
(long[] data) void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this expando value.void
void
setNumberArray
(Number[] data) void
setPrimaryKey
(long primaryKey) Sets the primary key of this expando value.void
setRowId
(long rowId) Sets the row ID of this expando value.void
setShort
(short data) void
setShortArray
(short[] data) void
void
void
setStringArray
(String[] data) void
setStringArray
(String[] data, Locale locale, Locale defaultLocale) void
setStringArrayMap
(Map<Locale, String[]> dataMap, Locale defaultLocale) void
setStringMap
(Map<Locale, String> dataMap, Locale defaultLocale) void
setTableId
(long tableId) Sets the table ID of this expando value.void
setValueId
(long valueId) Sets the value ID of this expando value.protected ExpandoValueWrapper
wrap
(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, 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
-
ExpandoValueWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<ExpandoValue>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<ExpandoValue>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<ExpandoValue>
- Specified by:
cloneWithOriginalValues
in interfaceExpandoValueModel
-
getAvailableLocales
- Specified by:
getAvailableLocales
in interfaceExpandoValue
- Throws:
PortalException
-
getBoolean
- Specified by:
getBoolean
in interfaceExpandoValue
- Throws:
PortalException
-
getBooleanArray
- Specified by:
getBooleanArray
in interfaceExpandoValue
- Throws:
PortalException
-
getClassName
Returns the fully qualified class name of this expando value.- Specified by:
getClassName
in interfaceExpandoValueModel
- Specified by:
getClassName
in 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:
getClassNameId
in interfaceExpandoValueModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this expando value
-
getClassPK
public long getClassPK()Returns the class pk of this expando value.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceExpandoValueModel
- Returns:
- the class pk of this expando value
-
getColumn
- Specified by:
getColumn
in interfaceExpandoValue
- Throws:
PortalException
-
getColumnId
public long getColumnId()Returns the column ID of this expando value.- Specified by:
getColumnId
in interfaceExpandoValueModel
- Returns:
- the column ID of this expando value
-
getCompanyId
public long getCompanyId()Returns the company ID of this expando value.- Specified by:
getCompanyId
in interfaceExpandoValueModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this expando value
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this expando value.- Specified by:
getCtCollectionId
in interfaceCTModel<ExpandoValue>
- Specified by:
getCtCollectionId
in interfaceExpandoValueModel
- Returns:
- the ct collection ID of this expando value
-
getData
Returns the data of this expando value.- Specified by:
getData
in interfaceExpandoValueModel
- Returns:
- the data of this expando value
-
getDate
- Specified by:
getDate
in interfaceExpandoValue
- Throws:
PortalException
-
getDateArray
- Specified by:
getDateArray
in interfaceExpandoValue
- Throws:
PortalException
-
getDefaultLocale
- Specified by:
getDefaultLocale
in interfaceExpandoValue
- Throws:
PortalException
-
getDouble
- Specified by:
getDouble
in interfaceExpandoValue
- Throws:
PortalException
-
getDoubleArray
- Specified by:
getDoubleArray
in interfaceExpandoValue
- Throws:
PortalException
-
getFloat
- Specified by:
getFloat
in interfaceExpandoValue
- Throws:
PortalException
-
getFloatArray
- Specified by:
getFloatArray
in interfaceExpandoValue
- Throws:
PortalException
-
getGeolocationJSONObject
- Specified by:
getGeolocationJSONObject
in interfaceExpandoValue
- Throws:
PortalException
-
getInteger
- Specified by:
getInteger
in interfaceExpandoValue
- Throws:
PortalException
-
getIntegerArray
- Specified by:
getIntegerArray
in interfaceExpandoValue
- Throws:
PortalException
-
getLong
- Specified by:
getLong
in interfaceExpandoValue
- Throws:
PortalException
-
getLongArray
- Specified by:
getLongArray
in interfaceExpandoValue
- Throws:
PortalException
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this expando value.- Specified by:
getMvccVersion
in interfaceExpandoValueModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this expando value
-
getNumber
- Specified by:
getNumber
in interfaceExpandoValue
- Throws:
PortalException
-
getNumberArray
- Specified by:
getNumberArray
in interfaceExpandoValue
- Throws:
PortalException
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this expando value.- Specified by:
getPrimaryKey
in interfaceCTModel<ExpandoValue>
- Specified by:
getPrimaryKey
in interfaceExpandoValueModel
- Returns:
- the primary key of this expando value
-
getRowId
public long getRowId()Returns the row ID of this expando value.- Specified by:
getRowId
in interfaceExpandoValueModel
- Returns:
- the row ID of this expando value
-
getSerializable
- Specified by:
getSerializable
in interfaceExpandoValue
- Throws:
PortalException
-
getShort
- Specified by:
getShort
in interfaceExpandoValue
- Throws:
PortalException
-
getShortArray
- Specified by:
getShortArray
in interfaceExpandoValue
- Throws:
PortalException
-
getString
- Specified by:
getString
in interfaceExpandoValue
- Throws:
PortalException
-
getString
- Specified by:
getString
in interfaceExpandoValue
- Throws:
PortalException
-
getStringArray
- Specified by:
getStringArray
in interfaceExpandoValue
- Throws:
PortalException
-
getStringArray
- Specified by:
getStringArray
in interfaceExpandoValue
- Throws:
PortalException
-
getStringArrayMap
- Specified by:
getStringArrayMap
in interfaceExpandoValue
- Throws:
PortalException
-
getStringMap
- Specified by:
getStringMap
in interfaceExpandoValue
- Throws:
PortalException
-
getTableId
public long getTableId()Returns the table ID of this expando value.- Specified by:
getTableId
in interfaceExpandoValueModel
- Returns:
- the table ID of this expando value
-
getValueId
public long getValueId()Returns the value ID of this expando value.- Specified by:
getValueId
in interfaceExpandoValueModel
- Returns:
- the value ID of this expando value
-
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
-
setBoolean
- Specified by:
setBoolean
in interfaceExpandoValue
- Throws:
PortalException
-
setBooleanArray
- Specified by:
setBooleanArray
in interfaceExpandoValue
- Throws:
PortalException
-
setClassName
- Specified by:
setClassName
in interfaceExpandoValueModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this expando value.- Specified by:
setClassNameId
in interfaceExpandoValueModel
- Specified by:
setClassNameId
in 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:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in interfaceExpandoValueModel
- Parameters:
classPK
- the class pk of this expando value
-
setColumn
- Specified by:
setColumn
in interfaceExpandoValue
-
setColumnId
public void setColumnId(long columnId) Sets the column ID of this expando value.- Specified by:
setColumnId
in 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:
setCompanyId
in interfaceExpandoValueModel
- Specified by:
setCompanyId
in 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:
setCtCollectionId
in interfaceCTModel<ExpandoValue>
- Specified by:
setCtCollectionId
in interfaceExpandoValueModel
- Parameters:
ctCollectionId
- the ct collection ID of this expando value
-
setData
Sets the data of this expando value.- Specified by:
setData
in interfaceExpandoValueModel
- Parameters:
data
- the data of this expando value
-
setDate
- Specified by:
setDate
in interfaceExpandoValue
- Throws:
PortalException
-
setDateArray
- Specified by:
setDateArray
in interfaceExpandoValue
- Throws:
PortalException
-
setDouble
- Specified by:
setDouble
in interfaceExpandoValue
- Throws:
PortalException
-
setDoubleArray
- Specified by:
setDoubleArray
in interfaceExpandoValue
- Throws:
PortalException
-
setFloat
- Specified by:
setFloat
in interfaceExpandoValue
- Throws:
PortalException
-
setFloatArray
- Specified by:
setFloatArray
in interfaceExpandoValue
- Throws:
PortalException
-
setGeolocationJSONObject
- Specified by:
setGeolocationJSONObject
in interfaceExpandoValue
- Throws:
PortalException
-
setInteger
- Specified by:
setInteger
in interfaceExpandoValue
- Throws:
PortalException
-
setIntegerArray
- Specified by:
setIntegerArray
in interfaceExpandoValue
- Throws:
PortalException
-
setLong
- Specified by:
setLong
in interfaceExpandoValue
- Throws:
PortalException
-
setLongArray
- Specified by:
setLongArray
in interfaceExpandoValue
- Throws:
PortalException
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this expando value.- Specified by:
setMvccVersion
in interfaceExpandoValueModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this expando value
-
setNumber
- Specified by:
setNumber
in interfaceExpandoValue
- Throws:
PortalException
-
setNumberArray
- Specified by:
setNumberArray
in interfaceExpandoValue
- Throws:
PortalException
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this expando value.- Specified by:
setPrimaryKey
in interfaceCTModel<ExpandoValue>
- Specified by:
setPrimaryKey
in 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:
setRowId
in interfaceExpandoValueModel
- Parameters:
rowId
- the row ID of this expando value
-
setShort
- Specified by:
setShort
in interfaceExpandoValue
- Throws:
PortalException
-
setShortArray
- Specified by:
setShortArray
in interfaceExpandoValue
- Throws:
PortalException
-
setString
- Specified by:
setString
in interfaceExpandoValue
- Throws:
PortalException
-
setString
- Specified by:
setString
in interfaceExpandoValue
- Throws:
PortalException
-
setStringArray
- Specified by:
setStringArray
in interfaceExpandoValue
- Throws:
PortalException
-
setStringArray
public void setStringArray(String[] data, Locale locale, Locale defaultLocale) throws PortalException - Specified by:
setStringArray
in interfaceExpandoValue
- Throws:
PortalException
-
setStringArrayMap
public void setStringArrayMap(Map<Locale, String[]> dataMap, Locale defaultLocale) throws PortalException- Specified by:
setStringArrayMap
in interfaceExpandoValue
- Throws:
PortalException
-
setStringMap
- Specified by:
setStringMap
in interfaceExpandoValue
- Throws:
PortalException
-
setTableId
public void setTableId(long tableId) Sets the table ID of this expando value.- Specified by:
setTableId
in 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:
setValueId
in interfaceExpandoValueModel
- Parameters:
valueId
- the value ID of this expando value
-
toXmlString
- Specified by:
toXmlString
in interfaceExpandoValueModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<ExpandoValue>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<ExpandoValue>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<ExpandoValue>
-