public class DDMStructureTestUtil
extends Object
Constructor and Description |
---|
DDMStructureTestUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
public static com.liferay.dynamic.data.mapping.kernel.DDMStructure addStructure(long groupId, String className) throws Exception
Exception
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
Exception
public static com.liferay.dynamic.data.mapping.kernel.DDMStructure addStructure(String className) throws Exception
Exception
public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm()
public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(Locale[] availableLocales, Locale defaultLocale)
public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name)
public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name, Locale[] availableLocales, Locale defaultLocale)
public static com.liferay.dynamic.data.mapping.kernel.DDMForm getSampleDDMForm(String name, String dataType, String indexType, boolean repeatable, String type, Locale[] availableLocales, Locale defaultLocale)