Liferay 7.0-ce-b4

com.liferay.portlet.expando.util.test
Class ExpandoTestUtil

java.lang.Object
  extended by com.liferay.portlet.expando.util.test.ExpandoTestUtil

public class ExpandoTestUtil
extends Object


Constructor Summary
ExpandoTestUtil()
           
 
Method Summary
static ExpandoColumn addColumn(ExpandoTable table, String columnName, int type)
           
static ExpandoColumn addColumn(ExpandoTable table, String columnName, int type, Map<Locale,String> defaultData)
           
static ExpandoTable addTable(long classNameId, String tableName)
           
static ExpandoValue addValue(ExpandoTable table, ExpandoColumn column, long classPK, Object data)
           
static ExpandoValue addValue(ExpandoTable table, ExpandoColumn column, Map<Locale,String> data, Locale defaultLocale)
           
static ExpandoValue addValue(ExpandoTable table, ExpandoColumn column, Object data)
           
static ExpandoValue addValue(long classNameId, long classPK, Object data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoTestUtil

public ExpandoTestUtil()
Method Detail

addColumn

public static ExpandoColumn addColumn(ExpandoTable table,
                                      String columnName,
                                      int type)
                               throws Exception
Throws:
Exception

addColumn

public static ExpandoColumn addColumn(ExpandoTable table,
                                      String columnName,
                                      int type,
                                      Map<Locale,String> defaultData)
                               throws Exception
Throws:
Exception

addTable

public static ExpandoTable addTable(long classNameId,
                                    String tableName)
                             throws Exception
Throws:
Exception

addValue

public static ExpandoValue addValue(ExpandoTable table,
                                    ExpandoColumn column,
                                    long classPK,
                                    Object data)
                             throws Exception
Throws:
Exception

addValue

public static ExpandoValue addValue(ExpandoTable table,
                                    ExpandoColumn column,
                                    Map<Locale,String> data,
                                    Locale defaultLocale)
                             throws Exception
Throws:
Exception

addValue

public static ExpandoValue addValue(ExpandoTable table,
                                    ExpandoColumn column,
                                    Object data)
                             throws Exception
Throws:
Exception

addValue

public static ExpandoValue addValue(long classNameId,
                                    long classPK,
                                    Object data)
                             throws Exception
Throws:
Exception

Liferay 7.0-ce-b4