Liferay 7.0-ce-b7 portal-test

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 com.liferay.expando.kernel.model.ExpandoColumn addColumn(com.liferay.expando.kernel.model.ExpandoTable table, String columnName, int type)
           
static com.liferay.expando.kernel.model.ExpandoColumn addColumn(com.liferay.expando.kernel.model.ExpandoTable table, String columnName, int type, Map<Locale,String> defaultData)
           
static com.liferay.expando.kernel.model.ExpandoTable addTable(long classNameId, String tableName)
           
static com.liferay.expando.kernel.model.ExpandoValue addValue(com.liferay.expando.kernel.model.ExpandoTable table, com.liferay.expando.kernel.model.ExpandoColumn column, long classPK, Object data)
           
static com.liferay.expando.kernel.model.ExpandoValue addValue(com.liferay.expando.kernel.model.ExpandoTable table, com.liferay.expando.kernel.model.ExpandoColumn column, Map<Locale,String> data, Locale defaultLocale)
           
static com.liferay.expando.kernel.model.ExpandoValue addValue(com.liferay.expando.kernel.model.ExpandoTable table, com.liferay.expando.kernel.model.ExpandoColumn column, Object data)
           
static com.liferay.expando.kernel.model.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 com.liferay.expando.kernel.model.ExpandoColumn addColumn(com.liferay.expando.kernel.model.ExpandoTable table,
                                                                       String columnName,
                                                                       int type)
                                                                throws Exception
Throws:
Exception

addColumn

public static com.liferay.expando.kernel.model.ExpandoColumn addColumn(com.liferay.expando.kernel.model.ExpandoTable table,
                                                                       String columnName,
                                                                       int type,
                                                                       Map<Locale,String> defaultData)
                                                                throws Exception
Throws:
Exception

addTable

public static com.liferay.expando.kernel.model.ExpandoTable addTable(long classNameId,
                                                                     String tableName)
                                                              throws Exception
Throws:
Exception

addValue

public static com.liferay.expando.kernel.model.ExpandoValue addValue(com.liferay.expando.kernel.model.ExpandoTable table,
                                                                     com.liferay.expando.kernel.model.ExpandoColumn column,
                                                                     long classPK,
                                                                     Object data)
                                                              throws Exception
Throws:
Exception

addValue

public static com.liferay.expando.kernel.model.ExpandoValue addValue(com.liferay.expando.kernel.model.ExpandoTable table,
                                                                     com.liferay.expando.kernel.model.ExpandoColumn column,
                                                                     Map<Locale,String> data,
                                                                     Locale defaultLocale)
                                                              throws Exception
Throws:
Exception

addValue

public static com.liferay.expando.kernel.model.ExpandoValue addValue(com.liferay.expando.kernel.model.ExpandoTable table,
                                                                     com.liferay.expando.kernel.model.ExpandoColumn column,
                                                                     Object data)
                                                              throws Exception
Throws:
Exception

addValue

public static com.liferay.expando.kernel.model.ExpandoValue addValue(long classNameId,
                                                                     long classPK,
                                                                     Object data)
                                                              throws Exception
Throws:
Exception

Liferay 7.0-ce-b7 portal-test