com.liferay.portlet.expando.util.test
Class ExpandoTestUtil
java.lang.Object
com.liferay.portlet.expando.util.test.ExpandoTestUtil
public class ExpandoTestUtil
- extends Object
|
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 |
ExpandoTestUtil
public ExpandoTestUtil()
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