Class ExpandoTestUtil

java.lang.Object
com.liferay.expando.test.util.ExpandoTestUtil

public class ExpandoTestUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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, Object defaultData)
     
    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(long classNameId, 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, 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, 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 void
    addValues(com.liferay.expando.kernel.model.ExpandoTable table, long classPK, Map<String,Serializable> attributes)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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