Package com.liferay.expando.test.util
Class ExpandoTestUtil
java.lang.Object
com.liferay.expando.test.util.ExpandoTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.expando.kernel.model.ExpandoColumnstatic com.liferay.expando.kernel.model.ExpandoColumnaddColumn(com.liferay.expando.kernel.model.ExpandoTable table, String columnName, int type, Object defaultData) static com.liferay.expando.kernel.model.ExpandoColumnaddColumn(com.liferay.expando.kernel.model.ExpandoTable table, String columnName, int type, Map<Locale, String> defaultData) static com.liferay.expando.kernel.model.ExpandoTablestatic com.liferay.expando.kernel.model.ExpandoValuestatic com.liferay.expando.kernel.model.ExpandoValueaddValue(com.liferay.expando.kernel.model.ExpandoTable table, com.liferay.expando.kernel.model.ExpandoColumn column, long classPK, Object data) static com.liferay.expando.kernel.model.ExpandoValueaddValue(com.liferay.expando.kernel.model.ExpandoTable table, com.liferay.expando.kernel.model.ExpandoColumn column, Object data) static com.liferay.expando.kernel.model.ExpandoValueaddValue(com.liferay.expando.kernel.model.ExpandoTable table, com.liferay.expando.kernel.model.ExpandoColumn column, Map<Locale, String> data, Locale defaultLocale) static voidaddValues(com.liferay.expando.kernel.model.ExpandoTable table, long classPK, Map<String, Serializable> attributes)
-
Constructor Details
-
ExpandoTestUtil
public ExpandoTestUtil()
-
-
Method Details
-
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
-
addColumn
public static com.liferay.expando.kernel.model.ExpandoColumn addColumn(com.liferay.expando.kernel.model.ExpandoTable table, String columnName, int type, Object 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
-
addValues
public static void addValues(com.liferay.expando.kernel.model.ExpandoTable table, long classPK, Map<String, Serializable> attributes) throws Exception- Throws:
Exception
-