Liferay 7.0-ga1 portal-test

com.liferay.portlet.dynamicdatamapping.util.test
Class DDMStructureTestUtil

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.util.test.DDMStructureTestUtil

public class DDMStructureTestUtil
extends Object


Constructor Summary
DDMStructureTestUtil()
           
 
Method Summary
static com.liferay.dynamic.data.mapping.kernel.DDMStructure addStructure(long groupId, String className)
           
static com.liferay.dynamic.data.mapping.kernel.DDMStructure addStructure(long groupId, String className, String parentStructureId, com.liferay.dynamic.data.mapping.kernel.DDMForm ddmForm, Locale defaultLocale, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
static com.liferay.dynamic.data.mapping.kernel.DDMStructure addStructure(String className)
           
static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm()
           
static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(Locale[] availableLocales, Locale defaultLocale)
           
static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name)
           
static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name, Locale[] availableLocales, Locale defaultLocale)
           
static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name, String dataType, String indexType, boolean repeatable, String type, Locale[] availableLocales, Locale defaultLocale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMStructureTestUtil

public DDMStructureTestUtil()
Method Detail

addStructure

public static com.liferay.dynamic.data.mapping.kernel.DDMStructure addStructure(long groupId,
                                                                                String className)
                                                                         throws Exception
Throws:
Exception

addStructure

public static com.liferay.dynamic.data.mapping.kernel.DDMStructure addStructure(long groupId,
                                                                                String className,
                                                                                String parentStructureId,
                                                                                com.liferay.dynamic.data.mapping.kernel.DDMForm ddmForm,
                                                                                Locale defaultLocale,
                                                                                com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                         throws Exception
Throws:
Exception

addStructure

public static com.liferay.dynamic.data.mapping.kernel.DDMStructure addStructure(String className)
                                                                         throws Exception
Throws:
Exception

getSampleDDMForm

public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm()

getSampleDDMForm

public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(Locale[] availableLocales,
                                                                               Locale defaultLocale)

getSampleDDMForm

public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name)

getSampleDDMForm

public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name,
                                                                               Locale[] availableLocales,
                                                                               Locale defaultLocale)

getSampleDDMForm

public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name,
                                                                               String dataType,
                                                                               String indexType,
                                                                               boolean repeatable,
                                                                               String type,
                                                                               Locale[] availableLocales,
                                                                               Locale defaultLocale)

Liferay 7.0-ga1 portal-test