Liferay 7.0-ce-b4

com.liferay.portlet.expando.model.impl
Class ExpandoValueImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ExpandoValue>
      extended by com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
          extended by com.liferay.portlet.expando.model.impl.ExpandoValueBaseImpl
              extended by com.liferay.portlet.expando.model.impl.ExpandoValueImpl
All Implemented Interfaces:
AttachedModel, BaseModel<ExpandoValue>, ClassedModel, PersistedModel, ShardedModel, TypedModel, ExpandoValue, ExpandoValueModel, Serializable, Cloneable, Comparable<ExpandoValue>

public class ExpandoValueImpl
extends ExpandoValueBaseImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
CLASSNAMEID_COLUMN_BITMASK, CLASSPK_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, COLUMNID_COLUMN_BITMASK, DATA_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, ROWID_COLUMN_BITMASK, SESSION_FACTORY, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TABLEID_COLUMN_BITMASK, TX_MANAGER
 
Fields inherited from interface com.liferay.portlet.expando.model.ExpandoValue
VALUE_ID_ACCESSOR
 
Constructor Summary
ExpandoValueImpl()
           
 
Method Summary
protected  void doSetString(String data, Locale locale, Locale defaultLocale)
           
protected  void doSetStringMap(Map<Locale,String> dataMap, Locale defaultLocale)
           
 List<Locale> getAvailableLocales()
           
 boolean getBoolean()
           
 boolean[] getBooleanArray()
           
 ExpandoColumn getColumn()
           
protected  String getData(String languageId)
           
 Date getDate()
           
 Date[] getDateArray()
           
 Locale getDefaultLocale()
           
 double getDouble()
           
 double[] getDoubleArray()
           
 float getFloat()
           
 float[] getFloatArray()
           
 int getInteger()
           
 int[] getIntegerArray()
           
 long getLong()
           
 long[] getLongArray()
           
 Number getNumber()
           
 Number[] getNumberArray()
           
 Serializable getSerializable()
           
 short getShort()
           
 short[] getShortArray()
           
 String getString()
           
 String getString(Locale locale)
           
 String[] getStringArray()
           
 String[] getStringArray(Locale locale)
           
 Map<Locale,String[]> getStringArrayMap()
           
 Map<Locale,String> getStringMap()
           
protected  boolean isColumnLocalized()
           
protected  String merge(String[] data)
           
 void setBoolean(boolean data)
           
 void setBooleanArray(boolean[] data)
           
 void setColumn(ExpandoColumn column)
           
 void setDate(Date data)
           
 void setDateArray(Date[] data)
           
 void setDouble(double data)
           
 void setDoubleArray(double[] data)
           
 void setFloat(float data)
           
 void setFloatArray(float[] data)
           
 void setInteger(int data)
           
 void setIntegerArray(int[] data)
           
 void setLong(long data)
           
 void setLongArray(long[] data)
           
 void setNumber(Number data)
           
 void setNumberArray(Number[] data)
           
 void setShort(short data)
           
 void setShortArray(short[] data)
           
 void setString(String data)
           
 void setString(String data, Locale locale, Locale defaultLocale)
           
 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)
           
protected  String[] split(String data)
           
protected  void validate(int type)
           
 
Methods inherited from class com.liferay.portlet.expando.model.impl.ExpandoValueBaseImpl
persist
 
Methods inherited from class com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
clone, compareTo, equals, getClassName, getClassNameId, getClassPK, getColumnBitmask, getColumnId, getCompanyId, getData, getModelAttributes, getModelClass, getModelClassName, getOriginalClassNameId, getOriginalClassPK, getOriginalColumnId, getOriginalData, getOriginalRowId, getOriginalTableId, getPrimaryKey, getPrimaryKeyObj, getRowId, getTableId, getValueId, hashCode, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setClassName, setClassNameId, setClassPK, setColumnId, setCompanyId, setData, setModelAttributes, setPrimaryKey, setPrimaryKeyObj, setRowId, setTableId, setValueId, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getExpandoBridge, getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.expando.model.ExpandoValueModel
clone, compareTo, getClassName, getClassNameId, getClassPK, getColumnId, getCompanyId, getData, getExpandoBridge, getPrimaryKey, getPrimaryKeyObj, getRowId, getTableId, getValueId, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setClassName, setClassNameId, setClassPK, setColumnId, setCompanyId, setData, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKey, setPrimaryKeyObj, setRowId, setTableId, setValueId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

ExpandoValueImpl

public ExpandoValueImpl()
Method Detail

getAvailableLocales

public List<Locale> getAvailableLocales()
                                 throws PortalException
Throws:
PortalException

getBoolean

public boolean getBoolean()
                   throws PortalException
Throws:
PortalException

getBooleanArray

public boolean[] getBooleanArray()
                          throws PortalException
Throws:
PortalException

getColumn

public ExpandoColumn getColumn()
                        throws PortalException
Throws:
PortalException

getDate

public Date getDate()
             throws PortalException
Throws:
PortalException

getDateArray

public Date[] getDateArray()
                    throws PortalException
Throws:
PortalException

getDefaultLocale

public Locale getDefaultLocale()
                        throws PortalException
Throws:
PortalException

getDouble

public double getDouble()
                 throws PortalException
Throws:
PortalException

getDoubleArray

public double[] getDoubleArray()
                        throws PortalException
Throws:
PortalException

getFloat

public float getFloat()
               throws PortalException
Throws:
PortalException

getFloatArray

public float[] getFloatArray()
                      throws PortalException
Throws:
PortalException

getInteger

public int getInteger()
               throws PortalException
Throws:
PortalException

getIntegerArray

public int[] getIntegerArray()
                      throws PortalException
Throws:
PortalException

getLong

public long getLong()
             throws PortalException
Throws:
PortalException

getLongArray

public long[] getLongArray()
                    throws PortalException
Throws:
PortalException

getNumber

public Number getNumber()
                 throws PortalException
Throws:
PortalException

getNumberArray

public Number[] getNumberArray()
                        throws PortalException
Throws:
PortalException

getSerializable

public Serializable getSerializable()
                             throws PortalException
Throws:
PortalException

getShort

public short getShort()
               throws PortalException
Throws:
PortalException

getShortArray

public short[] getShortArray()
                      throws PortalException
Throws:
PortalException

getString

public String getString()
                 throws PortalException
Throws:
PortalException

getString

public String getString(Locale locale)
                 throws PortalException
Throws:
PortalException

getStringArray

public String[] getStringArray()
                        throws PortalException
Throws:
PortalException

getStringArray

public String[] getStringArray(Locale locale)
                        throws PortalException
Throws:
PortalException

getStringArrayMap

public Map<Locale,String[]> getStringArrayMap()
                                       throws PortalException
Throws:
PortalException

getStringMap

public Map<Locale,String> getStringMap()
                                throws PortalException
Throws:
PortalException

setBoolean

public void setBoolean(boolean data)
                throws PortalException
Throws:
PortalException

setBooleanArray

public void setBooleanArray(boolean[] data)
                     throws PortalException
Throws:
PortalException

setColumn

public void setColumn(ExpandoColumn column)

setDate

public void setDate(Date data)
             throws PortalException
Throws:
PortalException

setDateArray

public void setDateArray(Date[] data)
                  throws PortalException
Throws:
PortalException

setDouble

public void setDouble(double data)
               throws PortalException
Throws:
PortalException

setDoubleArray

public void setDoubleArray(double[] data)
                    throws PortalException
Throws:
PortalException

setFloat

public void setFloat(float data)
              throws PortalException
Throws:
PortalException

setFloatArray

public void setFloatArray(float[] data)
                   throws PortalException
Throws:
PortalException

setInteger

public void setInteger(int data)
                throws PortalException
Throws:
PortalException

setIntegerArray

public void setIntegerArray(int[] data)
                     throws PortalException
Throws:
PortalException

setLong

public void setLong(long data)
             throws PortalException
Throws:
PortalException

setLongArray

public void setLongArray(long[] data)
                  throws PortalException
Throws:
PortalException

setNumber

public void setNumber(Number data)
               throws PortalException
Throws:
PortalException

setNumberArray

public void setNumberArray(Number[] data)
                    throws PortalException
Throws:
PortalException

setShort

public void setShort(short data)
              throws PortalException
Throws:
PortalException

setShortArray

public void setShortArray(short[] data)
                   throws PortalException
Throws:
PortalException

setString

public void setString(String data)
               throws PortalException
Throws:
PortalException

setString

public void setString(String data,
                      Locale locale,
                      Locale defaultLocale)
               throws PortalException
Throws:
PortalException

setStringArray

public void setStringArray(String[] data)
                    throws PortalException
Throws:
PortalException

setStringArray

public void setStringArray(String[] data,
                           Locale locale,
                           Locale defaultLocale)
                    throws PortalException
Throws:
PortalException

setStringArrayMap

public void setStringArrayMap(Map<Locale,String[]> dataMap,
                              Locale defaultLocale)
                       throws PortalException
Throws:
PortalException

setStringMap

public void setStringMap(Map<Locale,String> dataMap,
                         Locale defaultLocale)
                  throws PortalException
Throws:
PortalException

doSetString

protected void doSetString(String data,
                           Locale locale,
                           Locale defaultLocale)

doSetStringMap

protected void doSetStringMap(Map<Locale,String> dataMap,
                              Locale defaultLocale)

getData

protected String getData(String languageId)

isColumnLocalized

protected boolean isColumnLocalized()
                             throws PortalException
Throws:
PortalException

merge

protected String merge(String[] data)

split

protected String[] split(String data)

validate

protected void validate(int type)
                 throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4